public class LifecycleDatabaseCreator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DB2 |
static String |
DERBY |
static String |
H2 |
static String |
HSQL |
static String |
INFORMIX |
static String |
MSSQL |
static String |
MYSQL |
static String |
OPENEDGE |
static String |
OPENEDGE1 |
static String |
ORACLE |
static String |
POSTGRESQL |
static String |
REM |
| Constructor and Description |
|---|
LifecycleDatabaseCreator(DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkStringBufferEndsWith(StringBuffer buffer,
String suffix)
Checks that a string buffer ends up with a given string.
|
void |
createLifecycleDatabase()
This method will be used to create life cycle database tables if they are not created already.
|
public static final String OPENEDGE
public static final String REM
public static final String HSQL
public static final String DERBY
public static final String MYSQL
public static final String ORACLE
public static final String MSSQL
public static final String H2
public static final String DB2
public static final String POSTGRESQL
public static final String OPENEDGE1
public static final String INFORMIX
public LifecycleDatabaseCreator(DataSource dataSource)
public static boolean checkStringBufferEndsWith(StringBuffer buffer, String suffix)
buffer - the buffer to perform the check onsuffix - the suffixtrue if the character sequence represented by the
argument is a suffix of the character sequence represented by
the StringBuffer object; false otherwise. Note that the
result will be true if the argument is the
empty string.public void createLifecycleDatabase()
throws LifecycleManagerDatabaseException
LifecycleManagerDatabaseException - If error occurs during database creation.Copyright © 2017 WSO2. All rights reserved.