org.jeinnov.jeitime.ws
Class DatabaseManagerImpl

java.lang.Object
  extended by org.jeinnov.jeitime.ws.DatabaseManagerImpl
All Implemented Interfaces:
DatabaseManager

public class DatabaseManagerImpl
extends java.lang.Object
implements DatabaseManager


Constructor Summary
DatabaseManagerImpl()
           
 
Method Summary
 void dropDatabaseSchema()
           
protected  void executeSchemaScript(java.sql.Connection con, java.lang.String[] sql)
           
protected  void executeSchemaStatement(java.sql.Statement stmt, java.lang.String sql)
           
 void initUserAndRole()
           
 void updateDatabaseSchema()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseManagerImpl

public DatabaseManagerImpl()
Method Detail

updateDatabaseSchema

public void updateDatabaseSchema()
                          throws java.lang.Exception
Specified by:
updateDatabaseSchema in interface DatabaseManager
Throws:
java.lang.Exception

dropDatabaseSchema

public void dropDatabaseSchema()
                        throws java.lang.Exception
Specified by:
dropDatabaseSchema in interface DatabaseManager
Throws:
java.lang.Exception

initUserAndRole

public void initUserAndRole()
Specified by:
initUserAndRole in interface DatabaseManager

executeSchemaScript

protected void executeSchemaScript(java.sql.Connection con,
                                   java.lang.String[] sql)
                            throws java.sql.SQLException
Throws:
java.sql.SQLException

executeSchemaStatement

protected void executeSchemaStatement(java.sql.Statement stmt,
                                      java.lang.String sql)
                               throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2011. All Rights Reserved.