How do I setup the SapDB for an autoincrement PK for my CMP/Entitybean?

I have a:

- JBoss 3.2.3
- EntityBean with PK (java.lang.Long id)
- SAPDB 7.4

My setup creates the table, but without the needed sequence.
jbosscmp-jdbc.xml is configured for autoincement and does not touch the field, thus my 
DB complains it is null.
If I understand correctly I need to add to jbosscmp-jdbc.xml for that bean an 
entity-command (some post had this for a MySql). But how does it look like for a SAPDB?


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

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to