camiloqp
camiloqp

Reputation: 1140

Database Table JNDI Name problem

I am using Netbeans 7.0 IDE to create Entity Classes from Database.

When I am requested the JNDI name of the Data Source I am having trouble.

My Database looks like the following:

enter image description here

Now when trying to create the entity classes from Database:

enter image description here

It brings the tables corresponding to mysql schema right down below lemm schema.

Question: Whats the appropriate JNDI name of my lemm datasource?

Thanks in advance

Upvotes: 1

Views: 4027

Answers (1)

Paul
Paul

Reputation: 20091

The problem isn't your jndi name, it's the datasource url. Change your db connection url to

jdbc:mysql://localhost:3306/lemm

Upvotes: 3

Related Questions