With Netbeans 14, when creating new Entity Class from Database, I see the following message in the bottom of the wizard screen :
The target server for the project is not set properly. Java Persistence features are server-dependent and some wizards in the IDE might not behave as expected if the target server is not specified.
Entity Class is generated as expected but wonder what could be wrong?! The server used is Payara 5.2022.3 and the database is mySQL 8.0.23.
The jdbc-connection-pool is created with
create-jdbc-connection-pool --datasourceclassname com.mysql.cj.jdbc.MysqlDataSource --restype javax.sql.XADataSource --property user=root:password=******:DatabaseName=myDb:ServerName=localhost:port=3306:useSSL=false:allowPublicKeyRetrieval=true:serverTimezone=UTC:zeroDateTimeBehavior=CONVERT_TO_NULL:driverClass=com.mysql.cj.jdbc.Driver:url=jdbc\\:mysql\\://127.0.0.1\\:3306/myDb myConnectionPool
And the jdbc-resource is created as follow :
create-jdbc-resource --connectionpoolid myConnectionPool jdbc/myApp