| Package | Description |
|---|---|
| org.ofbiz.core.entity | |
| org.ofbiz.core.entity.jdbc |
| Modifier and Type | Field and Description |
|---|---|
protected SQLProcessor |
EntityListIterator.sqlp |
| Constructor and Description |
|---|
EntityListIterator(SQLProcessor sqlp,
ModelEntity modelEntity,
List<ModelField> selectFields,
ModelFieldTypeReader modelFieldTypeReader) |
| Modifier and Type | Class and Description |
|---|---|
class |
AutoCommitSQLProcessor
A versionf of
SQLProcessor that will implcitly
auto commit any updates that occur
It will be created with SQLProcessor.CommitMode.AUTO_COMMIT
This class is used to "clearly document" the mode the SQLProcessor is in |
class |
ExplcitCommitSQLProcessor
Deprecated.
use ExplicitCommitSQLProcessor instead (fixes typo in name). Since v1.0.41.
|
class |
ExplicitCommitSQLProcessor
This version of the
SQLProcessor that
takes sets autocommit to false on its connection and then calls commit on
that connection when it is closed. |
class |
PassThruSQLProcessor
This version of the
SQLProcessor that takes a connection on construction and does
not participate in committing on close. |
class |
ReadOnlySQLProcessor
A version of
SQLProcessor will only issue read only SELECT sql and will never
touch the connections autocommit status or call commit() on the connection
It will be created with SQLProcessor.CommitMode.READONLY
This class is used to "clearly document" the mode the SQLProcessor is in |
| Modifier and Type | Method and Description |
|---|---|
static void |
SqlJdbcUtil.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 void |
SqlJdbcUtil.setValue(SQLProcessor sqlP,
ModelField modelField,
GenericEntity entity,
ModelFieldTypeReader modelFieldTypeReader) |
static void |
SqlJdbcUtil.setValue(SQLProcessor sqlP,
ModelField modelField,
String entityName,
Object fieldValue,
ModelFieldTypeReader modelFieldTypeReader) |
static void |
SqlJdbcUtil.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 void |
SqlJdbcUtil.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.
|
Copyright © 2015 Atlassian. All rights reserved.