0 Replies Latest reply on Aug 26, 2006 1:16 PM by Maciej Krzysztofinski

    JBoss 4.0.4, CMP and MS SQL Server 2005

    Maciej Krzysztofinski Newbie

      Hello

      I write an J2EE application which use EJB. I use JBoss 4.0.4 GA, JDK 1.5 update 8 and Microsoft SQL Server 2005 Developer Edition Service Pack 1 with Microsoft JDBC Driver for SQL Server 2005 version 1.1. In database tables primary keys are type INT IDENTITY. I write CMP entity beans which use jboss.entity-command mssql-fetch-key and when I try to create a new record in database using CMP entity bean I get an exception that column with primary key cannot be null. I tried diffrent xdoclet tags but without sucess.

      Best Regards

      Maciej