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.
[Beta build, 20060428] Steps: 1) I generated JSF pages form some entity classes 2) try to add new entry, in form is a text field for ID of this new entry. I let the field empty and click to Create link 3) On next page the about successfully creation was displayed. But the new entry isn't listed in the table and error messages are printed in server's log: Caused by: org.apache.derby.client.am.SqlException: Column 'ID' cannot accept a NULL value. at org.apache.derby.client.am.Statement.completeExecute(Unknown Source) ERROR: we should improve error reporting in generated JSF pages.
If I understand correctly you are trying to leave the ID field empty bcs you are using automatic generation of values. Correct? If this is so I think I just fixed this yesterday :-) If you have @GeneratedValue on the Id field it will not show this field in New.jsp and it will make it read only in the Edit.jsp. Please verify. It you meant something else please reopen.
Petr explained to me that the other problem is that for non generated values the page does not display any error message when you leave empty Id but fails. Will fix.
Issue 75653 describes more general detail with error reporting. *** This issue has been marked as a duplicate of 75653 ***