1 Reply Latest reply on Dec 12, 2005 2:26 PM by Robert Benkovitz

    GeneratorType.IDENTITY still causes attempt to insert explic

    Robert Benkovitz Newbie


      I'm using SQL Server 2000 with JBoss EJB 3.0. For my identity column on a particular entity, I'm using GeneratorType.IDENTITY, which "should" let the DB insert a value into the identity column. However The generated SQL is trying to insert an explicit value (null) in the identity column, which (understandably) causes a SQLServer error. Is this a bug, or am I not using it properly? Thanks for any help.