I found something in the EJB 2.0 spec 14.1.2

anonymous wrote : 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
  | instance.

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:

ejbCreate("Alex", "m")
translates to

INSERT INTO PERSON(NAME, GENDER, AGE) VALUES ("Alex","m", 0)    

Unfortunatly I couldn't find anything that manipulates the generated 
INSERT-Statements.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963114#3963114

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963114
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to