[jboss-user] [EJB 3.0] - many to many mapping exception in EJB3
mravikrish
do-not-reply at jboss.com
Fri Oct 24 10:02:38 EDT 2008
Hello EveryOne,
i've mapped many2many between user and skill tables ,when it is uni-directional works fine but the problem occurs when i made it to bi-directional. i've written many2many mapping in user class
The following exception is thrown when i try to insert record.
Caused by: java.sql.BatchUpdateException: ORA-01400: cannot insert NULL into ("SYSTEM"."CUSER_SKILL"."CUSER_USERID")
CUSER_USERID(column) is getting created automatically in join table.
thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184485#4184485
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184485
More information about the jboss-user
mailing list