com.dbdeploy.database.changelog
Class QueryExecuter
java.lang.Object
com.dbdeploy.database.changelog.QueryExecuter
public class QueryExecuter
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryExecuter
public QueryExecuter(String connectionString,
String username,
String password)
throws SQLException
- Throws:
SQLException
executeQuery
public ResultSet executeQuery(String sql)
throws SQLException
- Throws:
SQLException
execute
public void execute(String sql)
throws SQLException
- Throws:
SQLException
execute
public void execute(String sql,
Object... params)
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Throws:
SQLException
setAutoCommit
public void setAutoCommit(boolean autoCommitMode)
throws SQLException
- Throws:
SQLException
commit
public void commit()
throws SQLException
- Throws:
SQLException
getDatabaseUsername
public String getDatabaseUsername()
Copyright © 2011. All Rights Reserved.