com.j256.ormlite.jdbc
Class TypeValMapper

java.lang.Object
  extended by com.j256.ormlite.jdbc.TypeValMapper

public class TypeValMapper
extends Object

Map from SqlType to the constants in the Types class.

Author:
graywatson

Constructor Summary
TypeValMapper()
           
 
Method Summary
static int getTypeValForSqlType(com.j256.ormlite.field.SqlType sqlType)
          Returns the primary type value associated with the SqlType argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeValMapper

public TypeValMapper()
Method Detail

getTypeValForSqlType

public static int getTypeValForSqlType(com.j256.ormlite.field.SqlType sqlType)
                                throws SQLException
Returns the primary type value associated with the SqlType argument.

Throws:
SQLException


This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.