Uses of Class
org.ofbiz.core.entity.jdbc.SQLProcessor
Packages that use SQLProcessor
-
Uses of SQLProcessor in org.ofbiz.core.entity
Fields in org.ofbiz.core.entity declared as SQLProcessorConstructors in org.ofbiz.core.entity with parameters of type SQLProcessorModifierConstructorDescriptionEntityListIterator(SQLProcessor sqlp, ModelEntity modelEntity, List<ModelField> selectFields, ModelFieldTypeReader modelFieldTypeReader) -
Uses of SQLProcessor in org.ofbiz.core.entity.jdbc
Subclasses of SQLProcessor in org.ofbiz.core.entity.jdbcModifier and TypeClassDescriptionclassA versionf ofSQLProcessorthat will implcitly auto commit any updates that occur It will be created withSQLProcessor.CommitMode.AUTO_COMMITThis class is used to "clearly document" the mode the SQLProcessor is inclassDeprecated.use ExplicitCommitSQLProcessor instead (fixes typo in name).classThis version of theSQLProcessorthat takes sets autocommit to false on its connection and then calls commit on that connection when it is closed.classThis version of theSQLProcessorthat takes a connection on construction and does not participate in committing on close.classA version ofSQLProcessorwill only issue read only SELECT sql and will never touch the connections autocommit status or call commit() on the connectionMethods in org.ofbiz.core.entity.jdbc that return SQLProcessorModifier and TypeMethodDescriptionSQLProcessor.addBatch()Adds a set of parameters to underlying PreparedStatement object's batch of commands.SQLProcessor.prepareStatement(String sql) Prepare a statement.SQLProcessor.prepareStatement(String sql, boolean specifyTypeAndConcur, int resultSetType, int resultSetConcurrency) Prepare a statement.SQLProcessor.setBinaryStream(Object field) Set the next binding variable of the currently active prepared statement to write the serialized data of 'field' to a BLOB that is stored as an OID SQL type.SQLProcessor.setBlob(byte[] field) Set the next binding variable of the currently active prepared statement.SQLProcessor.setByteArray(byte[] field) Set the next binding variable of the currently active prepared statement.SQLProcessor.setByteArrayData(Object field) Set the next binding variable of the currently active prepared statement to write the serialized data of 'field' to a BLOB that is stored as a Byte Array SQL type.Set the next binding variable of the currently active prepared statement.Set the next binding variable of the currently active prepared statement.Set the next binding variable of the currently active prepared statement.Set the next binding variable of the currently active prepared statement.Set the next binding variable of the currently active prepared statement.Set the next binding variable of the currently active prepared statement.Set the next binding variable of the currently active prepared statement.Set the next binding variable of the currently active prepared statementSet the next binding variable of the currently active prepared statementSet the next binding variable of the currently active prepared statement.Set the next binding variable of the currently active prepared statement.Set the next binding variable of the currently active prepared statement.Methods in org.ofbiz.core.entity.jdbc with parameters of type SQLProcessorModifier and TypeMethodDescriptionstatic voidSqlJdbcUtil.setPkValues(SQLProcessor sqlP, ModelEntity modelEntity, GenericEntity entity, ModelFieldTypeReader modelFieldTypeReader) Get all primary keys from the model entity and bind their values to the an SQL statement (SQL-Processor)static voidSqlJdbcUtil.setValue(SQLProcessor sqlP, ModelField modelField, String entityName, Object fieldValue, ModelFieldTypeReader modelFieldTypeReader) static voidSqlJdbcUtil.setValue(SQLProcessor sqlP, ModelField modelField, GenericEntity entity, ModelFieldTypeReader modelFieldTypeReader) static voidSqlJdbcUtil.setValues(SQLProcessor sqlP, List<ModelField> list, GenericEntity entity, ModelFieldTypeReader modelFieldTypeReader) The elements (ModelFields) of the list are bound to an SQL statement (SQL-Processor)static voidSqlJdbcUtil.setValuesWhereClause(SQLProcessor sqlP, List<ModelField> list, GenericValue dummyValue, ModelFieldTypeReader modelFieldTypeReader) The elements (ModelFields) of the list are bound to an SQL statement (SQL-Processor), but values must not be null.