[jboss-user] [EJB 3.0] - Re: Foreign key error

neisann do-not-reply at jboss.com
Mon Sep 10 16:02:54 EDT 2007


Hi,

Sorry the late reply but I was busy with other activities. I just discovered why my code wasn't working. I had created an Oracle before insert trigger for Person and Address table that used the sequences to insert the primary key value in the tables. I didn't realize that JBOSS invokes the sequences to generate the primary key itself.

Thank you very much for your help.

Nei

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

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



More information about the jboss-user mailing list