| Package | Description |
|---|---|
| org.tentackle.persist |
Higher-level PDO-aware persistence implementation.
|
| Modifier and Type | Method and Description |
|---|---|
JoinedSelect<T> |
JoinedSelect.addJoin(Join<? super T,?> join)
Adds a join.
|
JoinedSelect<T> |
AbstractPersistentObject.getEagerJoinedSelect()
Adds the eager joins to the created SQL.
|
JoinedSelect<T> |
ResultSetCursor.getJoinedSelect()
Gets the join configuration.
|
| Modifier and Type | Method and Description |
|---|---|
T |
AbstractPersistentObject.executeFirstPdoQuery(PreparedStatementWrapper st,
JoinedSelect<T> js)
Executes a query for a prepared statement and returns the first PDO.
|
List<T> |
AbstractPersistentObject.executeListQuery(PreparedStatementWrapper st,
JoinedSelect<T> js)
Executes the query for a prepared statement and returns the results in a list.
|
void |
AbstractPersistentObject.executeQueryToList(PreparedStatementWrapper st,
JoinedSelect<T> js,
List<T> list)
Executes the query for a prepared statement and adds the results to a list.
|
void |
AbstractPersistentObject.executeQueryToList(ResultSetWrapper rs,
JoinedSelect<T> js,
List<T> list)
Executes the query for a prepared statement and adds the results to a list.
|
org.tentackle.misc.TrackedList<T> |
AbstractPersistentObject.executeTrackedListQuery(PreparedStatementWrapper st,
JoinedSelect<T> js)
Executes the query for a prepared statement and returns the results in a tracked list.
|
void |
AbstractPersistentObject.readJoinedRow(ResultSetWrapper rs,
JoinedSelect<T> js)
Reads the next row from a result set within a joined select.
The results may come in any order. |
ResultSetWrapper |
AbstractPersistentObject.resultAll(JoinedSelect<T> js)
Gets the result set for all objects in the current context
for use in lists.
|
ResultSetWrapper |
AbstractPersistentObject.resultAllCursor(JoinedSelect<T> js)
Gets the result set for all objects in the current context
for use in cursors.
Cursors differ from lists because they need ResultSet.TYPE_SCROLL_INSENSITIVE set. |
ResultSetWrapper |
AbstractPersistentObject.resultAllWithExpiredTableSerials(JoinedSelect<T> js,
long oldSerial)
Gets the result set for all objects in the current context with a given expired tableserial.
|
ResultSetWrapper |
AbstractPersistentObject.resultByNormText(String normText,
JoinedSelect<T> js)
Gets the result set for the normtext query (where normtext like ?)
for use in lists.
If the given normtext is null or just "%" the method falls back to AbstractPersistentObject.resultAll(org.tentackle.persist.JoinedSelect<T>). |
ResultSetWrapper |
AbstractPersistentObject.resultByNormTextCursor(String normText,
JoinedSelect<T> js)
Gets the result set for the normtext query (where normtext like ?)
for use in cursors.
Cursors differ from lists because they need ResultSet.TYPE_SCROLL_INSENSITIVE
set. |
protected int |
AbstractPersistentObject.setClassIdsInStatement(JoinedSelect<T> js,
PreparedStatementWrapper st,
int ndx)
Sets the class-ID parameters if required for the joins.
Notice that this method only works for joins with no subjoins and is used only for eager joins, i.e. |
| Constructor and Description |
|---|
ResultSetCursor(T pdo,
ResultSetWrapper rs,
JoinedSelect<T> js)
Creates a cursor for a local session.
|
Tentackle - distributed, domain- and model-driven