I have a bean with a field whose database column has a 'not null' constraint. This field is a CMR. Since we're not supposed to set CMR fields in the ejbCreate() method I moved the call to that setter to ejbPostCreate(). However, since JBoss does the INSERT at the end of ejbCreate() this violates the not null constraint and the insert fails.
How do you go about having a CMR field with a not null constraint?
This is JBoss 3.2.2RC3.
Thanks,
-M@




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to