This content has been marked as final.
Show 2 replies
-
1. Re: autogenerated pk with hypersonic
gioele May 2, 2005 2:54 PM (in response to gioele)I created the table myself (a quick hack, I need jboss to do it) with
CREATE TABLE STUDENTGROUP ( id INTEGER NOT NULL IDENTITY, password VARCHAR(256), article VARCHAR(256) )
now, during the creation of a new StudentGroup, JBoss complains withjavax.ejb.CreateException: Primary key for created instance is null.
any suggested solution?
How can I make JBoss create the table in a correct way (with IDENTITY)? -
2. Re: autogenerated pk with hypersonic
gioele May 14, 2005 9:13 AM (in response to gioele)The problem was that jbosscmp-jdbc.xml was not included in the correct jar file. Now the problem seems solved.