User: dsundstrom
Date: 01/11/13 12:43:50
Modified: src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCTypeFactory.java
Log:
Fixed lame bug where the wrong hashtable was used to determine if a type is
a known dependent value class.
Revision Changes Path
1.7 +2 -2
jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCTypeFactory.java
Index: JDBCTypeFactory.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCTypeFactory.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- JDBCTypeFactory.java 2001/11/01 23:10:09 1.6
+++ JDBCTypeFactory.java 2001/11/13 20:43:50 1.7
@@ -29,7 +29,7 @@
* this class is to flatten the JDBCValueClassMetaData into columns.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Dain Sundstrom</a>
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
*/
public class JDBCTypeFactory {
// the type mapping to use with the specified database
@@ -209,7 +209,7 @@
ArrayList properties = new ArrayList();
Class javaType = propertyMetaData.getPropertyType();
- if(!complexTypes.containsKey(javaType)) {
+ if(!valueClassesByType.containsKey(javaType)) {
// this property is a simple type
// which makes this the end of the line for recursion
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development