Thanks a lot, that worked fine
I noticed that the <auto-increment> ..... <./> is sometimes set to 
?1 IDENTITY and sometimes to ?1 auto_increment (what is the diffrenece??)

it worked fine at the deployment BUT 
I could not create new entity, I am getting exception from the informix 
(inserting null value into key)
22:17:50,126 ERROR [MyEntity] Could not create entity
java.sql.SQLException: Primary key on table (mytable) has a field with a null 
key value.
        at com.informix.jdbc.IfxSqli.addException(IfxSqli.java:3082)
        at com.informix.jdbc.IfxSqli.receiveError(IfxSqli.java:3396)
        at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2259)
        at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2179)
        at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:721)
        at com.informix.jdbc.IfxResultSet.executeUpdate(IfxResultSet.java:305)
        at 
com.informix.jdbc.IfxStatement.executeUpdateImpl(IfxStatement.java:882)

Can anybody help please...

Thanks

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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to