public class JdbcDataType extends Object
Models a JDBC DATATYPE
. Mainly breaks down into 3 pieces of information:<ul>
<li>
type code
- The JDBC type code; generally matches a code from Types
though not necessarily.
</li>
<li>
type name
- The database type name for the given type code.
</li>
<li>
getJavaType()
java type} - The java type recommended for representing this JDBC type (if known)
</li>
</ul>
Constructor and Description |
---|
JdbcDataType(int typeCode,
String typeName,
Class javaType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Class |
getJavaType() |
int |
getTypeCode() |
String |
getTypeName() |
int |
hashCode() |
String |
toString() |
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.