Class JdbcDataType
- java.lang.Object
-
- org.hibernate.boot.model.source.spi.JdbcDataType
-
public class JdbcDataType extends Object
Models a JDBC data type. Mainly breaks down into 3 pieces of information:-
type code
- The JDBC type code; generally matches a code fromTypes
though not necessarily. -
type name
- The database type name for the given type code. -
getJavaType()
java type} - The java type recommended for representing this JDBC type (if known)
-
-
-
Constructor Summary
Constructors Constructor Description JdbcDataType(int typeCode, String typeName, Class javaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Class
getJavaType()
int
getTypeCode()
String
getTypeName()
int
hashCode()
String
toString()
-