org.jboss.ejb.plugins.cmp.jdbc
Class JDBCTypeFactory
java.lang.Object
org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeFactory
public final class JDBCTypeFactory
- extends Object
JDBCTypeFactory mapps Java Classes to JDBCType objects. The main job of
this class is to flatten the JDBCValueClassMetaData into columns.
- Version:
- $Revision: 57209 $
- Author:
- Dain Sundstrom, Alexey Loubyansky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EQUALS
public static final CMPFieldStateFactory EQUALS
- This implementation uses field's value as its state.
JDBCTypeFactory
public JDBCTypeFactory(JDBCTypeMappingMetaData typeMapping,
Collection valueClasses,
Map userTypeMappings)
throws org.jboss.deployment.DeploymentException
- Throws:
org.jboss.deployment.DeploymentException
getCMPFieldStateFactory
public static final CMPFieldStateFactory getCMPFieldStateFactory(JDBCTypeFactory factory,
String implClassName,
Class clazz)
throws org.jboss.deployment.DeploymentException
- Throws:
org.jboss.deployment.DeploymentException
checkDirtyAfterGet
public static final boolean checkDirtyAfterGet(JDBCTypeFactory factory,
byte checkDirtyAfterGet,
Class fieldType)
getJDBCType
public JDBCType getJDBCType(Class javaType)
getJDBCType
public JDBCType getJDBCType(JDBCCMPFieldMetaData cmpField)
throws org.jboss.deployment.DeploymentException
- Throws:
org.jboss.deployment.DeploymentException
getJDBCTypeForJavaType
public int getJDBCTypeForJavaType(Class clazz)
getTypeMapping
public JDBCTypeMappingMetaData getTypeMapping()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.