This content has been marked as final. Show 1 reply
I found something in the EJB 2.0 spec 14.1.2
The Container must ensure that the values of the container-managed fields are set to the Java language
defaults (e.g. 0 for integer, null for pointers) prior to invoking an ejbCreate(...) method on an
I also have to correct my prior post. NUMBER-Columns are initialized with 0, while VARCHAR2-Columns with NULL. So the INSERT for my example:
INSERT INTO PERSON(NAME, GENDER, AGE) VALUES ("Alex","m", 0)
Unfortunatly I couldn't find anything that manipulates the generated INSERT-Statements.