This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
About "Entity Classes from Database" option: The NetBeans creates a java class aditional for table with more than one field on primary key. This class don't creates a default constructor. So, we have the hint: "The class should have a no-arg, public or protected constructor.". I tested on NB 6.5.1 too. The default constructor is created successfuly. This problem breaks the excecution, raising the following sample exception: Exception [EclipseLink-63] (Eclipse Persistence Services - 1.0.1 (Build 20080905)): org.eclipse.persistence.exceptions.DescriptorException Exception Description: The instance creation method [desktopapplication1.NfeDetPK.<Default Constructor>], with no parameters, does not exist, or is not accessible. Internal Exception: java.lang.NoSuchMethodException: desktopapplication1.NfeDetPK.<init>() Descriptor: RelationalDescriptor(desktopapplication1.NfeDetPK --> [DatabaseTable(nfe_det)]) regards, henrique.
It's not definitely P1 severity.
*** This issue has been marked as a duplicate of 167773 ***