| |
|
| java.lang.Object org.ofbiz.entity.jdbc.SQLProcessor
SQLProcessor | public class SQLProcessor (Code) | | SQLProcessor - provides utitlity functions to ease database access
author: David E. Jones version: $Revision: 1.8 $ since: 2.0 |
CONNECTION_TEST_LIST | public static List CONNECTION_TEST_LIST(Code) | | Used for testing connections when test is enabled
|
ENABLE_TEST | public static boolean ENABLE_TEST(Code) | | |
MAX_CONNECTIONS | public static int MAX_CONNECTIONS(Code) | | |
module | final public static String module(Code) | | Module Name Used for debugging
|
SQLProcessor | public SQLProcessor(String helperName)(Code) | | Construct an object based on the helper/datasource
Parameters: helperName - The datasource helper (see entityengine.xml <datasource name="..">) |
SQLProcessor | public SQLProcessor(String helperName, Connection connection)(Code) | | Construct an object with an connection given. The connection will not
be closed by this SQLProcessor, but may be by some other.
Parameters: helperName - The datasource helper (see entityengine.xml <datasource name="..">) Parameters: connection - The connection to be used |
getPreparedStatement | public PreparedStatement getPreparedStatement()(Code) | | Getter: get the prepared statement
PreparedStatement |
getResultSet | public ResultSet getResultSet()(Code) | | Getter: get the currently activ ResultSet
ResultSet |
setBinaryStream | public void setBinaryStream(Object field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement
to write the serialized data of 'field' to a BLOB.
Parameters: field - throws: SQLException - |
setValue | public void setValue(String field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement.
Parameters: field - throws: SQLException - |
setValue | public void setValue(Integer field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement.
Parameters: field - throws: SQLException - |
setValue | public void setValue(Long field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement.
Parameters: field - throws: SQLException - |
setValue | public void setValue(Float field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement.
Parameters: field - throws: SQLException - |
setValue | public void setValue(Double field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement.
Parameters: field - throws: SQLException - |
setValue | public void setValue(Boolean field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement.
Parameters: field - throws: SQLException - |
setValue | public void setValue(Object field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement.
Parameters: field - throws: SQLException - |
setValue | public void setValue(Blob field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement
Parameters: field - throws: SQLException - |
setValue | public void setValue(Clob field) throws SQLException(Code) | | Set the next binding variable of the currently active prepared statement
Parameters: field - throws: SQLException - |
|
|
|