Uses of Class
org.tentackle.persist.JoinedSelect
Packages that use JoinedSelect
-
Uses of JoinedSelect in org.tentackle.persist
Methods in org.tentackle.persist that return JoinedSelectModifier and TypeMethodDescriptionAdds a join.AbstractPersistentObject.getEagerJoinedSelect()Adds the eager joins to the created SQL.ResultSetCursor.getJoinedSelect()Gets the join configuration.Methods in org.tentackle.persist with parameters of type JoinedSelectModifier and TypeMethodDescriptionAbstractPersistentObject.executeFirstPdoQuery(PreparedStatementWrapper st, JoinedSelect<T> js) Executes a query for a prepared statement and returns the first PDO.AbstractPersistentObject.executeListQuery(PreparedStatementWrapper st, JoinedSelect<T> js) Executes the query for a prepared statement and returns the results in a list.voidAbstractPersistentObject.executeQueryToList(PreparedStatementWrapper st, JoinedSelect<T> js, List<T> list) Executes the query for a prepared statement and adds the results to a list.voidAbstractPersistentObject.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.voidAbstractPersistentObject.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.AbstractPersistentObject.resultAll(JoinedSelect<T> js) Gets the result set for all objects in the current context for use in lists.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 needResultSet.TYPE_SCROLL_INSENSITIVEset.AbstractPersistentObject.resultAllWithExpiredTableSerials(JoinedSelect<T> js, long oldSerial) Gets the result set for all objects in the current context with a given expired tableserial.AbstractPersistentObject.resultByNormText(String text, JoinedSelect<T> js) Gets the result set for the normtext query.AbstractPersistentObject.resultByNormTextCursor(String text, JoinedSelect<T> js) Gets the result set for the normtext query as a cursor.protected intAbstractPersistentObject.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.the default selects.
All code for non-eager joins is generated via the DbModelWurblet.Constructors in org.tentackle.persist with parameters of type JoinedSelectModifierConstructorDescriptionResultSetCursor(T pdo, ResultSetWrapper rs, JoinedSelect<T> js) Creates a cursor for a local session.