Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have a problem when creating Entity Classes from Database in NetBeans. When I try to do it I get the following message:

The name of the driver class for the datasource is missing

I can't understand what I'm missing when creating connection to mysql database. Where I miss set name for driver classes?

share|improve this question
    
show your code. We can't see where something is missing if we can't see the lines it might be missing from. Edit the question to include your creation of the connection –  Kate Gregory Jun 13 '13 at 17:41
    
I don't have a code at this moment. I create new connection in NetBeans Tab Services > Databases > New Connection in open window select MySQL (Connector/ J driver) > set parameters for connection to mysql database(database name, password etc) Next > Next > Finish After that try create Entity from database and got error. –  user2483213 Jun 13 '13 at 17:42

2 Answers 2

check your datasource configuration from your datasource aplication server ..

share|improve this answer
1  
Could you explain what the questioner is meant to check? –  Ben Feb 4 '14 at 18:01
up vote 0 down vote accepted

It was problem with creating for java ee application. In java se work well. In java ee need work with DataSource.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.