Class JdbcDataType
- java.lang.Object
-
- org.hibernate.boot.model.source.spi.JdbcDataType
-
public class JdbcDataType extends Object
Models a JDBCDATATYPE. Mainly breaks down into 3 pieces of information:-
type code- The JDBC type code; generally matches a code fromTypesthough 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)
- Todo:
- Would love to link this in with
org.hibernate.engine.jdbc.internal.TypeInfo
-
-
-
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 booleanequals(Object o)ClassgetJavaType()intgetTypeCode()StringgetTypeName()inthashCode()StringtoString()
-