public class JavaSql
extends java.lang.Object
| Constructor and Description |
|---|
JavaSql() |
| Modifier and Type | Method and Description |
|---|---|
static DataObject.ObjectType |
sqlToDataObjectTypeConvert(int jdbcType)
Converts a jdbc type to an Object type
|
static java.lang.Class |
sqlTypeToClass(int jdbcType)
returns a Mapping of the java.sql.Types to a corresponding java class
|
static java.lang.String |
sqlTypeToName(int sqlType)
Maps java.sql.Types to a String representation of their name
|
public static java.lang.String sqlTypeToName(int sqlType)
sqlType - The sql type valuepublic static java.lang.Class sqlTypeToClass(int jdbcType)
jdbcType - The JDBC type@NotNull public static DataObject.ObjectType sqlToDataObjectTypeConvert(int jdbcType)
jdbcType - The JDBC type