Class DatabaseTypeMapH2
java.lang.Object
ch.tocco.nice2.dbrefactoring.spi.modulesupport.DatabaseTypeMapImpl
ch.tocco.nice2.dbrefactoring.spi.modulesupport.DatabaseTypeMapH2
- All Implemented Interfaces:
DatabaseTypeMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetForeignKeyDatabaseTypename
(FieldModel fieldModel) Returns the database type name for the specified nice type that can be used for a foreign key.Methods inherited from class ch.tocco.nice2.dbrefactoring.spi.modulesupport.DatabaseTypeMapImpl
get, getDatabaseTypename, getDatabaseTypename, putType
-
Constructor Details
-
DatabaseTypeMapH2
public DatabaseTypeMapH2()
-
-
Method Details
-
getForeignKeyDatabaseTypename
Description copied from interface:DatabaseTypeMap
Returns the database type name for the specified nice type that can be used for a foreign key.
For example, if the type given here is "SERIAL", this must return "INT" for postgresql.
- Specified by:
getForeignKeyDatabaseTypename
in interfaceDatabaseTypeMap
- Overrides:
getForeignKeyDatabaseTypename
in classDatabaseTypeMapImpl
-