Package org.compiere.db
Class PreparedStatementProxy
- java.lang.Object
-
- org.compiere.db.StatementProxy
-
- org.compiere.db.PreparedStatementProxy
-
- All Implemented Interfaces:
InvocationHandler
- Direct Known Subclasses:
CallableStatementProxy
public class PreparedStatementProxy extends StatementProxy
Dynamic proxy for the CPreparedStatement interface- Author:
- Low Heng Sin
-
-
Field Summary
-
Fields inherited from class org.compiere.db.StatementProxy
log, m_conn, p_stmt, p_vo
-
-
Constructor Summary
Constructors Constructor Description PreparedStatementProxy(int resultSetType, int resultSetConcurrency, String sql0, String trxName)
PreparedStatementProxy(CStatementVO vo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RowSet
getRowSet()
Execute Queryprotected void
init()
Initialise the prepared statement wrapper object-
Methods inherited from class org.compiere.db.StatementProxy
getSql, invoke
-
-
-
-
Constructor Detail
-
PreparedStatementProxy
public PreparedStatementProxy(int resultSetType, int resultSetConcurrency, String sql0, String trxName)
-
PreparedStatementProxy
public PreparedStatementProxy(CStatementVO vo)
-
-
Method Detail
-
init
protected void init()
Initialise the prepared statement wrapper object- Overrides:
init
in classStatementProxy
-
getRowSet
protected RowSet getRowSet()
Description copied from class:StatementProxy
Execute Query- Overrides:
getRowSet
in classStatementProxy
- Returns:
- ResultSet or RowSet
- See Also:
PreparedStatement.executeQuery()
-
-