I think I got it !

Your primary key class have only one field, and unfortunatly for you, JBoss 3.2.3 is 
bugged : where the primary key class has only one field, the generated SQL for testing 
a entity existence before its creation is incomplete (the formet depends for each 
database : with MSSQL, the WHERE clause is empty).

So you have two solutions:
1) Migrate to another version of JBoss (I don't know the one which solve this)
2) As your primary key class contains a single field, you don't need it. Just declare 
the productID field as the primary key of the bean.


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

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



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to