You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Marco Biasin (Jira)" <ji...@apache.org> on 2021/02/19 19:50:00 UTC
[jira] [Created] (NETBEANS-5378) NB 12 - Error on entity classes
generation
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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists