이 콘텐츠는 선택한 언어로 제공되지 않습니다.
16.4.3. Support Foreign Keys in CMP Services
Next, we need to go change the
<JBOSS_HOME>/server/<PROFILE>/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 Enterprise Application Platform. This file configures the database connection settings for the EJB2 CMP beans deployed in the JBoss Enterprise Application Platform.
<fk-constraint>true</fk-constraint>
<fk-constraint>true</fk-constraint>