|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.data.platform.DatabasePlatforms
public final class DatabasePlatforms
Contains constants and utilities related to the supported database platforms.
We use a String to represent the platform name as opposed to an Enum because this allows for the potential to configure and use custom platforms at runtime without requiring internal code modification to support a new platform.
Field Summary | |
---|---|
static String |
MYSQL
The name of the MySQL platform. |
static String |
ORACLE
The name of the Oracle platform. |
Method Summary | |
---|---|
static DatabasePlatformInfo |
detectPlatform(DataSource dataSource)
Gets the platform information from the DataSource . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ORACLE
public static final String MYSQL
Method Detail |
---|
public static DatabasePlatformInfo detectPlatform(DataSource dataSource)
DataSource
.
dataSource
- the DataSource
to consult.
DataSource
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |