Uses of Class
com.evolveum.midpoint.repo.sqlbase.JdbcSession
-
Packages that use JdbcSession Package Description com.evolveum.midpoint.repo.sqlbase com.evolveum.midpoint.repo.sqlbase.mapping -
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqlbase
Methods in com.evolveum.midpoint.repo.sqlbase that return JdbcSession Modifier and Type Method Description JdbcSession
SqlRepoContext. newJdbcSession()
CreatesJdbcSession
that typically represents transactional work on JDBC connection.JdbcSession
JdbcSession. startReadOnlyTransaction()
Starts read-only transaction and returnsthis
.JdbcSession
JdbcSession. startTransaction()
Starts transaction and returnsthis
.JdbcSession
JdbcSession. startTransaction(int transactionLevel)
Starts transaction with different transaction isolation level.Methods in com.evolveum.midpoint.repo.sqlbase with parameters of type JdbcSession Modifier and Type Method Description int
SqlQueryContext. executeCount(JdbcSession jdbcSession)
PageOf<com.querydsl.core.Tuple>
SqlQueryContext. executeQuery(JdbcSession jdbcSession)
Returns page of results with each row represented by aTuple
.PageOf<S>
SqlQueryContext. transformToSchemaType(PageOf<com.querydsl.core.Tuple> result, JdbcSession jdbcSession)
Transforms result page with (bean + extension columns) tuple to schema type. -
Uses of JdbcSession in com.evolveum.midpoint.repo.sqlbase.mapping
Methods in com.evolveum.midpoint.repo.sqlbase.mapping with parameters of type JdbcSession Modifier and Type Method Description ResultListRowTransformer<S,Q,R>
QueryTableMapping. createRowTransformer(SqlQueryContext<S,Q,R> sqlQueryContext, JdbcSession jdbcSession)
Similarly, transformation to midPoint objects allows for state usingResultListRowTransformer
instead of is done in one-by-one manner, it is not done by the mapping (which is otherwise stateless), but the mapping creates transformer , there is also room for a stateful object
-