In my code, table A has a foreign key fk which is not null, but JBoss told me that cmr field should be setted at ejbPostCreate method.
Then how can i set a not-null cmr field?
-
set cmr field (1 messages)
- Posted by: normal wang
- Posted on: November 19 2003 01:59 EST
Threaded Messages (1)
- set cmr field by sergiu truta on November 19 2003 04:42 EST
-
set cmr field[ Go to top ]
- Posted by: sergiu truta
- Posted on: November 19 2003 04:42 EST
- in response to normal wang
You should see the discussion with the Message Title "CMR - ejbCreate foreign key constraint NOT NULL problem". You can find there some suggestions depending on the Application Server and Database Server you are using.