JBoss.org Community Documentation

13.6. Support Foreign Keys in CMP Services

Next, we need to go change the <JBoss_Home>/server/all/conf/standardjbosscmp-jdbc.xml file so that the fk-constraint property is true. That is needed for all external databases we support on the JBoss Application Server. This file configures the database connection settings for the EJB2 CMP beans deployed in the JBoss AS.

<fk-constraint>true</fk-constraint>