Author: dgeraskov
Date: 2009-09-29 07:46:19 -0400 (Tue, 29 Sep 2009)
New Revision: 17790
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/NamingStrategyMappingTools.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4879
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/NamingStrategyMappingTools.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/NamingStrategyMappingTools.java 2009-09-29
11:28:00 UTC (rev 17789)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.jpt.core/src/org/jboss/tools/hibernate/jpt/core/internal/context/NamingStrategyMappingTools.java 2009-09-29
11:46:19 UTC (rev 17790)
@@ -108,8 +108,7 @@
}
}
String name = owningTable.getName() + '_' + targetTable.getName();
- //return owningTable.getDatabase().convertNameToIdentifier(name);
- return name;
+ return owningTable.getDatabase().convertNameToIdentifier(name);
}
public static String buildJoinColumnDefaultName(HibernateJoinColumn joinColumn) {