<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC '-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN' 'http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd'>
<!--
Generated by JBoss OpenTool 2.5 for JBoss Server 3.x** DO NOT MAKE MANUAL MODIFICATIONS TO THIS FILE **
This deployment descriptor will be regenerated every time changes are made in the EJB designer.Note: See opentool usage notes in jboss.xml.- For those of you running into this problem for one-to-many relationships:
org.jboss.deployment.DeploymentException:
Role: ______ with multiplicity many using foreign-key mapping
is not allowed to have key-fields
verify that the 'many' table has a foreign key to the primary key in
the 'one' table and not the other way around, as may happen if you let
JBuilder generate the schema from the Beans, or if you do this
incorrectly yourself-->
<jbosscmp-jdbc>
<enterprise-beans>
<entity>我的也有加,但没问题啊
<!DOCTYPE jbosscmp-jdbc PUBLIC '-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN' 'http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd'>
<!--
Generated by JBoss OpenTool 2.5 for JBoss Server 3.x** DO NOT MAKE MANUAL MODIFICATIONS TO THIS FILE **
This deployment descriptor will be regenerated every time changes are made in the EJB designer.Note: See opentool usage notes in jboss.xml.- For those of you running into this problem for one-to-many relationships:
org.jboss.deployment.DeploymentException:
Role: ______ with multiplicity many using foreign-key mapping
is not allowed to have key-fields
verify that the 'many' table has a foreign key to the primary key in
the 'one' table and not the other way around, as may happen if you let
JBuilder generate the schema from the Beans, or if you do this
incorrectly yourself-->
<jbosscmp-jdbc>
<enterprise-beans>
<entity>我的也有加,但没问题啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货