|
Expresso 5-5-0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.services.test.SchemaCreator
Given a series of schema class names, this class will perform a "dbcreate" The big difference between this and other versions is that this will work on a blank database.
| Constructor Summary | |
SchemaCreator()
Default Constructor |
|
| Method Summary | |
static boolean |
ensureSchemaExists(Schema oneSchema)
Deprecated. use ensureSchemaExists(Schema,InstallLog) instead |
static boolean |
ensureSchemaExists(Schema oneSchema,
InstallLog installLog)
|
String |
getDataContext()
|
static boolean |
schemaExists(Schema oneSchema)
Iterates through all the tables. |
void |
setDataContext(String newValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SchemaCreator()
| Method Detail |
public String getDataContext()
public void setDataContext(String newValue)
public static boolean schemaExists(Schema oneSchema)
throws DBException
oneSchema - an instantiated Schema object to check to see if it is installed
or not.
DBException - upon database communication error
public static boolean ensureSchemaExists(Schema oneSchema,
InstallLog installLog)
throws DBException
oneSchema - installLog -
DBException
public static boolean ensureSchemaExists(Schema oneSchema)
throws DBException
oneSchema - the schema to make sure is installed in the system
DBException - if something went wrong with the database creation.
|
Expresso 5-5-0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||