|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.anotheria.db.service.BasePersistenceServiceJDBCImpl
net.anotheria.db.util.DBUtil
public final class DBUtil
Utility with some operations on database.
| Field Summary | |
|---|---|
static String |
DMD_F_TABLE_NAME
Database meta data field name for table name field in result set from getTables(...) method. |
| Fields inherited from class net.anotheria.db.service.BasePersistenceServiceJDBCImpl |
|---|
log |
| Method Summary | |
|---|---|
static DBUtil |
getInstance()
Get DBUtil instance. |
static DBUtil |
getInstance(String configFile)
Get DBUtil instance configured from file by given file name. |
void |
removeAllTables()
Remove all tables from database. |
| Methods inherited from class net.anotheria.db.service.BasePersistenceServiceJDBCImpl |
|---|
close, close, close, getConnection, init, release, release, release |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DMD_F_TABLE_NAME
| Method Detail |
|---|
public static DBUtil getInstance()
DBUtil instance.
DBUtilpublic static DBUtil getInstance(String configFile)
DBUtil instance configured from file by given file name.
configFile - - file name with database connection configuration
DBUtilpublic void removeAllTables()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||