You need to add somehting similiar to this to the bean level xdoclet tag, these are
the settings for postgres, I do not think there is an entirely database independent
way to do this:
@jboss.unknown-pk
class="java.lang.Integer"
auto-increment="true"
jdbc-type="INTEGER"
sql-type="SERIAL"
@jboss.entity-command
name="postgresql-fetch-seq"
Hope this helps,
Mark
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839733#3839733
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839733
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user