[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Auto-increment PK with Hypersonic, can you review my cod

marcin_22_wolf do-not-reply at jboss.com
Tue Aug 22 21:42:48 EDT 2006


Hi!!<pk-constraint>false</pk-constraint> may cause some problems when you use another data base.For example in your code if you use Mysql you must write:
1.<pk-constraint>true</pk-constraint>
2.<entity-command name="mysql-get-generated-keys"/>

<entity-command name="hsqldb-fetch-key"/> is of course for Hypersonic!

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

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



More information about the jboss-user mailing list