I have a CMR where the foreign key is NOT NULL. So I must turn on the 
insert-after-ejb-post-create option in standardjboss.xml. However I also have 
auto generated primary keys from oracle sequences. So now I get the error 
"Primary key for created instance is null", presumably because the ejb 
container can't cope with not getting a primary key as soon as ejbCreate 
completes.

What is the solution?


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918000


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to