I am getting a curious behavior in JBoss that is contrary to what should happen(at 
least from the perspective of a database programmer).  I have a unidirectional 
relationship from a "many" entity bean to a "one" entity bean that is declared in the 
"many" entity bean.  When I remove the "one" entity bean, JBoss is setting the FK of 
the "many" entity bean to null Database FK constraints do not behave this way by 
default.  I expected JBoss to disallow the deletion of the "one" entity bean if it was 
referenced in a "many".  I looked in the JBoss docs and could not find any setting for 
altering this behavior.  Can anyone point me in the right direction?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to