[jboss-user] [EJB/JBoss] - JBoss 4.0.4, CMP and MS SQL Server 2005

maciejk1 do-not-reply at jboss.com
Sat Aug 26 13:16:09 EDT 2006


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

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

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



More information about the jboss-user mailing list