Sorry. I have just understood my error: the application server was not
started!
Le 06/03/2022 à 00:03, Richard Grin a écrit :
Hi,
My environment: Windows 10, MySQL 8.0.25, NetBeans 13, Java 11, Payara
5.2022.1
In NetBeans I have created a new connection to a database in MySQL in
the tab "Services". It worked. In NetBeans I can see the tables of the
database.
Then I create a new Maven project with the type "Java with Maven" >
"Web Application". I change a little the file pom.xml : 11 instead of
1.8 for source and target Java version and to update the old version
2.3 of the maven-war-plugin (incompatibility during "clean and build"
of the project).
Right after, I try to create entities from the table in the database :
New > Entity classes from database.
A new window "New Entity from Database" pops up. I have to give the
data source in a drop down list. The MySQL data source is not in the
list so I choose the option "New Data Source". A new window pops up
and I give a JNDI name and the database connection I created before in
NetBeans. I click on OK.
No error message but no table is displayed in the window "New Entity
from Database. So I can't create the entities from the database.
This procedure was working in NetBeans 12.5.
Can you help me? Is it a bug?
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists