public class

JdbcTypeNameTranslator

extends Object
java.lang.Object
   ↳ org.mybatis.generator.internal.types.JdbcTypeNameTranslator

Class Overview

TODO - Delete Me

Summary

Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static int getJdbcType (String jdbcTypeName)

Translates from the string representation of the type to the java.sql.Types value.

Parameters
jdbcTypeName the iBATIS String representation of a JDBC type
Returns
  • a value from java.sql.Types

public static String getJdbcTypeName (int jdbcType)

Translates from a java.sql.Types values to the proper iBATIS string representation of the type.

Parameters
jdbcType a value from java.sql.Types
Returns
  • the iBATIS String representation of a JDBC type