Hi all,

I have a table called IRRA2 where the column "id" is the key and besides
it's an identity column (selfincrease). I manage this table with an
Container Managed Entity Bean and when I try to create a new entity I have a
problem and the new error occur:

"javax.ejb.CreateException: Could not create entity:java.sql.SQLException:
Cannot insert explicit value for identity column in table 'IRRA2' when
IDENTITY_INSERT is set to OFF. Severity 16, State 1, Procedure 'WEBISOCO
null', Line 1   at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer..."

What solucions do I have?

- Use a Bean Managed Entity Bean?
- Configure the Container Managed Entity Bean?
...

--
What'sssssssss up!

,
  \.        ,   Israel López - mailto:[EMAIL PROTECTED]
   \\    _-'    iSOCO http://www.isoco.com/
    \\_.''      Intelligent Software Components, S.A.
     ^ ^!       iSOCOMad Hernández de Tejada 7
     /\ \                28027 Madrid (Madrid)
    /  \ `.              +34 91 406 67 30
   /^__^\


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to