User: dsundstrom
Date: 02/02/26 15:53:07
Modified: src/main/org/jboss/ejb/plugins/cmp/jdbc
JDBCStartCommand.java
Log:
Minor changes due to changes in CMRFieldBridge interface.
Revision Changes Path
1.22 +4 -4
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStartCommand.java
Index: JDBCStartCommand.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCStartCommand.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- JDBCStartCommand.java 12 Feb 2002 06:15:17 -0000 1.21
+++ JDBCStartCommand.java 26 Feb 2002 23:53:06 -0000 1.22
@@ -40,7 +40,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Joe Shevland</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Justin Forder</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Michel de Groot</a>
- * @version $Revision: 1.21 $
+ * @version $Revision: 1.22 $
*/
public class JDBCStartCommand {
@@ -96,7 +96,7 @@
JDBCRelationMetaData relationMetaData = cmrField.getRelationMetaData();
// if the table for the related entity has been created
- if(cmrField.getRelatedEntity().getTableExists()) {
+ if(cmrField.getRelatedJDBCEntity().getTableExists()) {
// create the relation table
if(relationMetaData.isTableMappingStyle() &&
@@ -281,8 +281,8 @@
cmrField.getEntity().getTableName(),
cmrField.getFieldName(),
cmrField.getForeignKeyFields(),
- cmrField.getRelatedEntity().getTableName(),
- cmrField.getRelatedEntity().getPrimaryKeyFields());
+ cmrField.getRelatedJDBCEntity().getTableName(),
+ cmrField.getRelatedJDBCEntity().getPrimaryKeyFields());
}
} else {
log.debug("Foreign key constraint not added as requested: " +
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development