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

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

Thanks a lot for your quick reply schmidts.



I work with JBUilder X, so everything happens automatically. I created an entity bean, 
and I added 2 fields, 1 String : levelName wich I indicated as my primary key. And 1 
self made class Ground:ground wich contains my int[][][]. Both of the parameters are 
in ejbCreate. And when I try to create the new record, both of them are filled in.

I think (ground) in the error message

"Try to insert null into a non-nullable column in statement [INSERT INTO PLAYFIELD 
(ground) VALUES ..."

means it has troubles while inserting into column 'ground',so the primary key is in 
another column ('levelName') no ?






-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to