This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi all i am using sqlserver 2000 and jboss 3.2.3 i have a table with identity column table department depid int (with identity) depname varchar the problem is that when i am trying to insert a a value in a table with identity through cmp i get the following error: Cannot insert explicit value for identity column in table 'department' when IDENTITY_INSERT is set to OFF.
i even went to the database and did the IDENTITY_INSERT to off.
<entity-commands> <!-- define a command that uses an Oracle sequence to generate keys --> <entity-command name="keygen" class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand"> </entity-command> </entity-commands>