|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DatabaseUtility
General Database utility methods.
Method Summary | |
---|---|
boolean |
doesTableExist(java.lang.String tableName)
Does table exist. |
void |
dropDatabase(java.lang.String databaseName)
Drop database. |
void |
executeScript(org.springframework.core.io.Resource creationScript)
Execute script. |
void |
executeScript(org.springframework.core.io.Resource creationScript,
java.lang.String tableSetPrefix)
|
void |
executeScript(org.springframework.core.io.Resource creationScript,
java.lang.String commonPrefix,
java.lang.String tableSetPrefix)
Execute script. |
void |
executeScript(java.lang.String creationScript)
Execute script. |
void |
executeScript(java.lang.String creationScript,
java.lang.String tableSetPrefix)
|
void |
executeScript(java.lang.String creationScript,
java.lang.String commonPrefix,
java.lang.String tableSetPrefix)
|
void |
truncateTable(java.lang.String tableName)
Truncate table. |
Method Detail |
---|
void dropDatabase(java.lang.String databaseName) throws java.lang.Exception
databaseName
- the database name
java.lang.Exception
- the exceptionvoid truncateTable(java.lang.String tableName) throws java.lang.Exception
tableName
- the table name
java.lang.Exception
- the exceptionboolean doesTableExist(java.lang.String tableName)
tableName
- the table name
void executeScript(org.springframework.core.io.Resource creationScript) throws java.lang.Exception
creationScript
- the creation script
java.lang.Exception
- the exceptionvoid executeScript(org.springframework.core.io.Resource creationScript, java.lang.String commonPrefix, java.lang.String tableSetPrefix) throws java.lang.Exception
creationScript
- the creation scriptprefix
- the prefix
java.lang.Exception
- the exceptionvoid executeScript(java.lang.String creationScript, java.lang.String commonPrefix, java.lang.String tableSetPrefix) throws java.lang.Exception
java.lang.Exception
void executeScript(org.springframework.core.io.Resource creationScript, java.lang.String tableSetPrefix) throws java.lang.Exception
java.lang.Exception
void executeScript(java.lang.String creationScript) throws java.lang.Exception
creationScript
- the creation script
java.lang.Exception
- the exceptionvoid executeScript(java.lang.String creationScript, java.lang.String tableSetPrefix) throws java.lang.Exception
java.lang.Exception
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |