com.avaje.ebean.config.dbplatform
Class DbTypeMap

java.lang.Object
  extended by com.avaje.ebean.config.dbplatform.DbTypeMap

public class DbTypeMap
extends Object

    

Used to map bean property types to DB specific types for DDL generation.


Constructor Summary
DbTypeMap()
           
 
Method Summary
 DbType get(int jdbcType)
          Return the type for a given jdbc type.
 void put(int jdbcType, DbType dbType)
          Override the type for a given JDBC type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbTypeMap

public DbTypeMap()
Method Detail

put

public void put(int jdbcType,
                DbType dbType)
Override the type for a given JDBC type.


get

public DbType get(int jdbcType)
Return the type for a given jdbc type.



Copyright © 2010. All Rights Reserved.