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)
Returns result transformer that by default callsQueryTableMapping.toSchemaObject(Tuple, FlexibleRelationalPathBase, JdbcSession, Collection)
for each result row.S
QueryTableMapping. toSchemaObject(@NotNull com.querydsl.core.Tuple tuple, Q entityPath, @NotNull JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options)
Transforms row Tuple containing attributes ofQueryTableMapping
to schema typeQueryTableMapping
.
-