Package org.zalando.typemapper.core.db
Class DbTypeRegister
- java.lang.Object
-
- org.zalando.typemapper.core.db.DbTypeRegister
-
public class DbTypeRegister extends Object
-
-
Constructor Summary
Constructors Constructor Description DbTypeRegister(Connection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbTypegetDbType(int id, Connection connection)static DbTypegetDbType(String name, Connection connection)static DbTypeRegistergetRegistry(Connection connection)List<String>getSearchPath()static List<String>getSearchPath(Connection connection)static StringgetTypeIdentifier(String typeSchema, String typeName)Map<String,DbType>getTypes()static voidreInitRegister(Connection connection)
-
-
-
Constructor Detail
-
DbTypeRegister
public DbTypeRegister(Connection connection) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
getSearchPath
public static List<String> getSearchPath(Connection connection) throws SQLException
- Throws:
SQLException
-
getDbType
public static DbType getDbType(String name, Connection connection) throws SQLException
- Throws:
SQLException
-
getDbType
public static DbType getDbType(int id, Connection connection) throws SQLException
- Throws:
SQLException
-
getRegistry
public static DbTypeRegister getRegistry(Connection connection) throws SQLException
- Throws:
SQLException
-
reInitRegister
public static void reInitRegister(Connection connection) throws SQLException
- Throws:
SQLException
-
-