Marco Biasin created NETBEANS-5378:
--------------------------------------
Summary: NB 12 - Error on entity classes generation
Key: NETBEANS-5378
URL: https://issues.apache.org/jira/browse/NETBEANS-5378
Project: NetBeans
Issue Type: Bug
Components: db - MySQL
Affects Versions: 12.2
Reporter: Marco Biasin
Attachments: DatabaseCreation.sql, NetbeansError.txt
Trying to generate a list of entities class from a MySQL database, in presence
of tables with foreign keys configured, the resulted class-file is empty, and
Netbean returns a null pointer exception (see attachments).
The error happens only with "Inlcude related tables" option selected.
On error, the final output class is:
public class Store {
}
With "Include related tables" deselect, the file is well-generated.
MySQL version 8.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists