[nbj2ee] Problem with Entity class and mySql

  • From: "erwinv" < >
  • To:
  • Subject: [nbj2ee] Problem with Entity class and mySql
  • Date: Mon, 27 Feb 2012 23:21:25 +0000

Hello, 

I am using glassfish v3 as server. Within glassfish I have created a JDBC 
connection pool and a jdbc resource to the mySQL database. Herefor I have 
added the mysql jar to the lib directory of the glassfish installation.

From Netbeans I can get a connection to the database and perform SQL 
statements. All from the services tab in the IDE.

When I select new in my project and choose entity class from database and I 
choose the jdbc resource I keep getting this message:

Unable to find the driver com.mysql.jdbc.jdbc2.optional.MysqlDataSource. 
Register this driver in the Databases tab.

I have tried to work this out, but can;t find the solution. Can someone 
please help.

Thanks

Erwin






[nbj2ee] Problem with Entity class and mySql

erwinv 02/27/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close