|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.storage.jdbc.JDBCDataTypeInfo
public class JDBCDataTypeInfo
A utility class that provides a mapping of JDBC data types to its various String and class representations.
| Field Summary | |
|---|---|
protected static java.util.Hashtable |
typeInfo
A hashtable mapping JDBC data type ids to an object containing information about that data type. |
| Constructor Summary | |
|---|---|
JDBCDataTypeInfo()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getDataBeanAccessMethodPart(int jdbcDataType)
Returns the String representation of the XXX part of the ResultSet getXXX method that is recommended to retrieve the corresponding JDBC data type. |
static java.lang.Object |
getDefaultValue(int jdbcDataType)
Return the default value associated with a JDBC data type id |
static java.lang.Class |
getJavaClass(int jdbcDataType)
Return the class of the java data type that corresponds to the JDBC data type id. |
static java.lang.String |
getJavaType(int jdbcDataType)
Return the String representation of the java data type that corresponds to the JDBC data type id. |
static java.lang.String |
getJDBCTypeString(int jdbcDataType)
Return the String representation of the JDBC data type that corresponds to the JDBC data type id. |
protected static void |
initTypeInfo()
initTypeInfo creates the Hashtable containing the information about the JDBC data types. |
| Field Detail |
|---|
protected static java.util.Hashtable typeInfo
| Constructor Detail |
|---|
public JDBCDataTypeInfo()
| Method Detail |
|---|
protected static void initTypeInfo()
public static java.lang.Object getDefaultValue(int jdbcDataType)
jdbcDataType - JDBC data type id
Typespublic static java.lang.String getJavaType(int jdbcDataType)
jdbcDataType - JDBC data type id
Typespublic static java.lang.String getJDBCTypeString(int jdbcDataType)
jdbcDataType - JDBC data type id
Typespublic static java.lang.String getDataBeanAccessMethodPart(int jdbcDataType)
jdbcDataType - JDBC data type id
Typespublic static java.lang.Class getJavaClass(int jdbcDataType)
jdbcDataType - JDBC data type id
Types
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||