public enum WellKnownDatabase extends Enum<WellKnownDatabase>
Enum Constant and Description |
---|
derby |
H2 |
Hsql |
Mysql |
Oracle |
Postgresql |
Modifier and Type | Method and Description |
---|---|
static WellKnownDatabase |
fromJdbcUrl(String jdbcUrl) |
String |
getArtifactId() |
String |
getGroupId() |
String |
getHibernateDialect() |
String |
getPatternInJdbcUrl() |
String |
getSqlDelimiter() |
String |
getType() |
String |
getVersion() |
boolean |
matchJdbcUrl(String jdbcUrl) |
static WellKnownDatabase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WellKnownDatabase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WellKnownDatabase H2
public static final WellKnownDatabase Postgresql
public static final WellKnownDatabase Oracle
public static final WellKnownDatabase Mysql
public static final WellKnownDatabase Hsql
public static final WellKnownDatabase derby
public static WellKnownDatabase[] values()
for (WellKnownDatabase c : WellKnownDatabase.values()) System.out.println(c);
public static WellKnownDatabase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean matchJdbcUrl(String jdbcUrl)
public static WellKnownDatabase fromJdbcUrl(String jdbcUrl)
public String getType()
public String getPatternInJdbcUrl()
public String getGroupId()
public String getArtifactId()
public String getVersion()
public String getHibernateDialect()
public String getSqlDelimiter()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.