[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: The insert-after-ejb-post-create plus sequence problem -

2006-01-19 Thread benbest
Hi, If you found the solution I would be really interested to know it as I'm having exactly the same problem and I still don't know how to solve it except to temporarily disabling the foreign key constraints in oracle which is definitively NOT a solution !! View the original post : http://www

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Oracle Auto Increment

2006-01-18 Thread benbest
Hi, I'm trying to deploy an existing weblogic 6.1 on JBoss 4.0.3 with an Oracle Database 8. There are some CMP 2.0 for which I configured the auto-increment data in my jbosscmp-jdbc.xml. It wasworking fine but then I was getting another issue with relationship at insert time, because it was

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - CMR and Auto-increment

2005-12-29 Thread benbest
Hi, I'm trying to deploy an existing weblogic 6.1 on JBoss 4.0.3 with an Oracle Database 8. There are some CMP 2.0 for which I configured the auto-increment data in my jbosscmp-jdbc.xml. It wasworking fine but then I was getting another issue with relationship at insert time, because it was sa

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Help with CMR and not null foreign key

2005-12-29 Thread benbest
Hi Simon, I'm having a problem similar to the one you had a year ago. I'm with JBoss 4.0.3 and having some CMP 2.0 deployed and when inserting I get the javax.ejb.CreateException: Primary key for created instance is null error. On creation I always pass a null value as I did put the oracle se