|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCMappingMetaData
Imutable class which holds a mapping between a Java Class and a JDBC type and a SQL type.
Constructor Summary | |
JDBCMappingMetaData(Element element)
Constructs a mapping with the data contained in the mapping xml element from a jbosscmp-jdbc xml file. |
Method Summary | |
String |
getJavaType()
Gets the java type of this mapping. |
int |
getJdbcType()
Gets the jdbc type of this mapping. |
static int |
getJdbcTypeFromName(String name)
Gets the JDBC type constant int for the name. |
String |
getParamSetter()
|
String |
getResultReader()
|
String |
getSqlType()
Gets the sql type of this mapping. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDBCMappingMetaData(Element element) throws org.jboss.deployment.DeploymentException
element
- the xml Element which contains the metadata about
this mapping
org.jboss.deployment.DeploymentException
- if the xml element is not semantically correctMethod Detail |
public static int getJdbcTypeFromName(String name) throws org.jboss.deployment.DeploymentException
name
- the name for the jdbc type
org.jboss.deployment.DeploymentException
Types
public String getJavaType()
public int getJdbcType()
public String getSqlType()
public String getParamSetter()
public String getResultReader()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |