[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Null Primary Key

2005-09-12 Thread rsuffling
Have you specified against each of your entity beans that require auto-generated primary keys in jbosscmp-jdbc.xml? Roger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3894196#3894196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: javax.naming.NameNotFoundException: jdbc not bound

2005-09-07 Thread rsuffling
>From your error message it's clear that your CMP entity bean is failing to get >the next Oracle generated sequence number. Here are some things to check: 1) Check that the Oracle Sequence your using is setup and working as expected (Use SQLPLUS) 2)Your jbosscmp-jdbc.xml file should have the fo

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - CMP 1:N Foreign Key Bug?

2005-09-07 Thread rsuffling
Has anyone come across this before? Is it a bug? JBoss is attempting to insert an invalid foreign key (FK) value. The FK value looks like something has overflowed: ¬í\0sr\0$org.jboss.invocation.MarshalledValueêÌàÑôJÐ? \0\0xpz\0\0¢\0\0?¬í\0s}\0\0\0\0org.mycmp.auth.GroupLocalxr\0java.lang.r

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Null Primary Key

2005-08-30 Thread rsuffling
If you're still having problems with this then you might find that it is caused by your MySQL table not having AUTO_INCREMENT specified against it's Primary key, when you created the table. Alter or recreate the table and this should fix it. Hope this is of help :-) Roger View the original p

[JBoss-user] [Beginners Corner] - Re: Newbie Help with CMP

2005-08-27 Thread rsuffling
Jim Check out the JBoss Application Server Guide. It should have all the information your after. Its available on the JBoss web site. Roger View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891912#3891912 Reply to the post : http://www.jboss.org/index.html?m