public class JdbcTypeNameTranslator extends Object
Modifier and Type | Method and Description |
---|---|
static int |
getJdbcType(String jdbcTypeName)
Translates from the string representation of the type to the
java.sql.Types value.
|
static String |
getJdbcTypeName(int jdbcType)
Translates from a java.sql.Types values to the proper iBATIS string
representation of the type.
|
public static String getJdbcTypeName(int jdbcType)
jdbcType
- a value from java.sql.Typespublic static int getJdbcType(String jdbcTypeName)
jdbcTypeName
- the iBATIS String representation of a JDBC typeCopyright © 2010–2018 MyBatis.org. All rights reserved.