Package org.compiere.db
Class ReadReplicaPreparedStatementProxy
java.lang.Object
org.compiere.db.ReadReplicaPreparedStatementProxy
- All Implemented Interfaces:
 InvocationHandler
Read replica proxy for prepared statement
- Author:
 - Low Heng Sin
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CLoggerLoggerprotected PreparedStatementWrap prepared statementprotected CStatementVOValue Object - 
Constructor Summary
ConstructorsConstructorDescriptionReadReplicaPreparedStatementProxy(int resultSetType, int resultSetConcurrency, String sql)  - 
Method Summary
 
- 
Field Details
- 
log
Logger - 
p_stmt
Wrap prepared statement - 
p_vo
Value Object 
 - 
 - 
Constructor Details
- 
ReadReplicaPreparedStatementProxy
- Parameters:
 resultSetType-resultSetConcurrency-sql-
 
 - 
 - 
Method Details
- 
invoke
- Specified by:
 invokein interfaceInvocationHandler- Throws:
 Throwable
 - 
getSql
Get Sql- Returns:
 - sql
 
 - 
isValid
public boolean isValid()- Returns:
 - true if the wrapped prepared statement is valid
 
 
 -