org.infoglue.cms.controllers.kernel.impl.simple
Class MysqlJDBCService
java.lang.Object
|
+--org.infoglue.cms.controllers.kernel.impl.simple.MysqlJDBCService
- public class MysqlJDBCService
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MASTER_KEY
public static final java.lang.String MASTER_KEY
- See Also:
- Constant Field Values
SLAVE_KEY
public static final java.lang.String SLAVE_KEY
- See Also:
- Constant Field Values
MysqlJDBCService
public MysqlJDBCService()
isEnabled
public boolean isEnabled()
executeSQL
public java.sql.ResultSet executeSQL(java.lang.String sql,
java.lang.String numOfRows)
throws java.lang.Exception
java.lang.Exception
executeMasterSQL
public java.sql.ResultSet executeMasterSQL(java.lang.String sql)
throws java.lang.Exception
java.lang.Exception
executeSlaveSQL
public java.sql.ResultSet executeSlaveSQL(java.lang.String sql)
throws java.lang.Exception
java.lang.Exception
closeMaster
public void closeMaster()
throws java.sql.SQLException
java.sql.SQLException
closeSlave
public void closeSlave()
throws java.sql.SQLException
java.sql.SQLException