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 with
javax.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)?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to