Package de.hybris.bootstrap.ddl
Enum DataBaseProvider
- java.lang.Object
-
- java.lang.Enum<DataBaseProvider>
-
- de.hybris.bootstrap.ddl.DataBaseProvider
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataBaseProvider>
public enum DataBaseProvider extends java.lang.Enum<DataBaseProvider>
Extended enum containing aPlatformJDBCMappingProviderfor corresponding DB
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDbName()PlatformJDBCMappingProvidergetJdbcProvider()java.lang.StringgetTableName(java.lang.String tableName)booleanisHanaUsed()booleanisHSqlUsed()booleanisMssqlUsed()booleanisMySqlUsed()booleanisOracleUsed()booleanisPostgreSqlUsed()static DataBaseProvidervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataBaseProvider[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MYSQL
public static final DataBaseProvider MYSQL
-
HSQL
public static final DataBaseProvider HSQL
-
ORACLE
public static final DataBaseProvider ORACLE
-
MSSQL
public static final DataBaseProvider MSSQL
-
HANA
public static final DataBaseProvider HANA
-
POSTGRESQL
public static final DataBaseProvider POSTGRESQL
-
-
Method Detail
-
values
public static DataBaseProvider[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataBaseProvider c : DataBaseProvider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataBaseProvider valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getDbName
public java.lang.String getDbName()
-
getJdbcProvider
public PlatformJDBCMappingProvider getJdbcProvider()
-
getTableName
public java.lang.String getTableName(java.lang.String tableName)
-
isMySqlUsed
public boolean isMySqlUsed()
-
isHSqlUsed
public boolean isHSqlUsed()
-
isOracleUsed
public boolean isOracleUsed()
-
isMssqlUsed
public boolean isMssqlUsed()
-
isHanaUsed
public boolean isHanaUsed()
-
isPostgreSqlUsed
public boolean isPostgreSqlUsed()
-
-