开发者

Database Table JNDI Name problem

开发者 https://www.devze.com 2023-03-13 17:03 出处:网络
I am using Netbeans 7.0 IDE to create Entity Classes from Database. When I am requested the JNDI name of the开发者_JAVA百科 Data Source I am having trouble.

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

When I am requested the JNDI name of the开发者_JAVA百科 Data Source I am having trouble.

My Database looks like the following:

Database Table JNDI Name problem

Now when trying to create the entity classes from Database:

Database Table JNDI Name problem

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


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

jdbc:mysql://localhost:3306/lemm
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号