View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821925#3821925
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821925 actually it works with any database. Read chapter 7 (or is it 6?) for more information. Basically in standardjbosscmp-jdbc.xml there are some config flags <create-table>. No matter what database it is, if create-table is set to true, jboss will try and create the table for the CMP if it does not exist. This will happen on deployment. <remove-table> is the opposite. On undeployment of the ejb-jar(shutdown for instance), the table will be dropped. Basically you can let JBoss create relationships, constraints etc, without involving a db init sql script. Bill ------------------------------------------------------- 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
