Package org.apache.cayenne.dba
Class TypesHandler
- java.lang.Object
-
- org.apache.cayenne.dba.TypesHandler
-
public class TypesHandler extends Object
TypesHandler provides JDBC-RDBMS types mapping. Loads types info from an XML file.
-
-
Constructor Summary
Constructors Constructor Description TypesHandler(URL typesConfig)
Creates new TypesHandler loading configuration info from the XML file specified astypesConfigPath
parameter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
externalTypesForJdbcType(int type)
static TypesHandler
getHandler(URL typesConfig)
-
-
-
Constructor Detail
-
TypesHandler
public TypesHandler(URL typesConfig)
Creates new TypesHandler loading configuration info from the XML file specified astypesConfigPath
parameter.- Since:
- 1.1
-
-
Method Detail
-
getHandler
public static TypesHandler getHandler(URL typesConfig)
- Since:
- 1.1
-
externalTypesForJdbcType
public String[] externalTypesForJdbcType(int type)
-
-