public class EmbeddedDataAccess
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
MDW_EMBEDDED_DB_CLASS  | 
| Constructor and Description | 
|---|
EmbeddedDataAccess()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
create(java.lang.String url,
      java.lang.String user,
      java.lang.String password,
      java.lang.String assetLoc,
      java.lang.String baseLoc,
      java.lang.String dataLoc)  | 
void | 
initializeExtensions()
Initialize embedded db extensions (this one-time step is only performed when
 the mdw embedded db tables are not present at startup). 
 | 
static java.lang.String | 
read(java.lang.String name,
    java.lang.ClassLoader classLoader)
Strips out comment lines (where first non-whitespace is //). 
 | 
void | 
run()
Starts the db if not running and connects to confirm process_instance table exists,
 and creates the schema if the table is not found. 
 | 
public static final java.lang.String MDW_EMBEDDED_DB_CLASS
public void create(java.lang.String url,
                   java.lang.String user,
                   java.lang.String password,
                   java.lang.String assetLoc,
                   java.lang.String baseLoc,
                   java.lang.String dataLoc)
            throws DataAccessException
DataAccessExceptionpublic void run()
         throws java.sql.SQLException
java.sql.SQLExceptionpublic void initializeExtensions()
                          throws java.sql.SQLException
java.sql.SQLExceptionpublic static final java.lang.String read(java.lang.String name,
                                          java.lang.ClassLoader classLoader)
                                   throws java.io.IOException
java.io.IOExceptionCopyright © 2019 CenturyLink, Inc.