User: dsundstrom
Date: 02/02/26 15:55:46
Modified: src/main/org/jboss/ejb/plugins/cmp/jdbc JDBCTypeFactory.java
Log:
Added method to get type metadata. This is used by the EJB-QL compiler.
Revision Changes Path
1.10 +5 -1
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.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- JDBCTypeFactory.java 12 Feb 2002 06:17:15 -0000 1.9
+++ JDBCTypeFactory.java 26 Feb 2002 23:55:46 -0000 1.10
@@ -27,7 +27,7 @@
* this class is to flatten the JDBCValueClassMetaData into columns.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Dain Sundstrom</a>
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
*/
public class JDBCTypeFactory {
// the type mapping to use with the specified database
@@ -78,6 +78,10 @@
public int getJDBCTypeForJavaType(Class clazz) {
return typeMapping.getJdbcTypeForJavaType(clazz);
+ }
+
+ public JDBCTypeMappingMetaData getTypeMapping() {
+ return typeMapping;
}
private JDBCTypeComplex createTypeComplex(
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development