Uses of Class
com.evolveum.midpoint.repo.sqlbase.JdbcSession
-
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale
Methods in com.evolveum.midpoint.repo.sqale with parameters of type JdbcSession Modifier and Type Method Description <T extends ObjectType>
PrismObject<T>SqaleQueryContext. loadObject(JdbcSession jdbcSession, Class<T> objectType, UUID oid, Collection<SelectorOptions<GetOperationOptions>> options)
<S extends ObjectType>
SSqaleObjectLoader. readByOid(@NotNull JdbcSession jdbcSession, @NotNull Class<S> schemaType, @NotNull UUID oid, Collection<SelectorOptions<GetOperationOptions>> options)
Method parameters in com.evolveum.midpoint.repo.sqale with type arguments of type JdbcSession Modifier and Type Method Description void
ExtItemCache. initialize(Supplier<JdbcSession> jdbcSessionSupplier)
Initializes the ext-item cache.void
UriCache. initialize(Supplier<JdbcSession> jdbcSessionSupplier)
Initializes the URI cache. -
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.audit
Constructors in com.evolveum.midpoint.repo.sqale.audit with parameters of type JdbcSession Constructor Description AuditInsertion(AuditEventRecordType record, JdbcSession jdbcSession, SqaleRepoContext repoContext, boolean escapeIllegalCharacters, Trace logger)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.audit.qmodel
Methods in com.evolveum.midpoint.repo.sqale.audit.qmodel with parameters of type JdbcSession Modifier and Type Method Description ResultListRowTransformer<AuditEventRecordType,QAuditEventRecord,MAuditEventRecord>
QAuditEventRecordMapping. createRowTransformer(SqlQueryContext<AuditEventRecordType,QAuditEventRecord,MAuditEventRecord> sqlQueryContext, JdbcSession jdbcSession)
ObjectDeltaOperationType
QAuditDeltaMapping. toSchemaObject(@NotNull com.querydsl.core.Tuple row, @NotNull QAuditDelta entityPath, @NotNull JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options)
AuditEventRecordReferenceType
QAuditRefValueMapping. toSchemaObject(@NotNull com.querydsl.core.Tuple row, @NotNull QAuditRefValue entityPath, @NotNull JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.mapping
Methods in com.evolveum.midpoint.repo.sqale.mapping with parameters of type JdbcSession Modifier and Type Method Description ResultListRowTransformer<S,Q,R>
SqaleTableMapping. createRowTransformer(SqlQueryContext<S,Q,R> sqlQueryContext, JdbcSession jdbcSession)
R
QOwnedByMapping. insert(S schemaObject, OR ownerRow, JdbcSession jdbcSession)
protected void
SqaleTableMapping. insert(R row, JdbcSession jdbcSession)
Convenient insert shortcut when the row is fully populated.protected abstract <S> S
ReferenceNameResolver. resolve(S object, JdbcSession session)
protected <O> O
SqaleTableMapping. resolveReferenceNames(O object, JdbcSession session, Collection<SelectorOptions<GetOperationOptions>> options)
protected <REF extends MReference,OQ extends FlexibleRelationalPathBase<OR>,OR>
voidSqaleTableMapping. storeRefs(OR ownerRow, @NotNull List<ObjectReferenceType> refs, @NotNull QReferenceMapping<?,REF,OQ,OR> mapping, @NotNull JdbcSession jdbcSession)
S
SqaleTableMapping. toSchemaObject(@NotNull com.querydsl.core.Tuple tuple, Q entityPath, @NotNull JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options)
Transforms row Tuple containingSqaleTableMapping
under entity path and extension columns.S
SqaleTableMapping. toSchemaObjectComplete(com.querydsl.core.Tuple rowTuple, Q entityPath, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull JdbcSession jdbcSession, boolean forceFull)
Converts tuple to schema object and resolves reference names if necessary.S
SqaleTableMapping. toSchemaObjectCompleteSafe(com.querydsl.core.Tuple tuple, Q entityPath, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull JdbcSession jdbcSession, boolean forceFull)
S
SqaleTableMapping. toSchemaObjectInternal(com.querydsl.core.Tuple rowTuple, Q entityPath, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull JdbcSession jdbcSession, boolean forceFull)
Deprecated. -
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.accesscert
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.assignment
Methods in com.evolveum.midpoint.repo.sqale.qmodel.assignment with parameters of type JdbcSession Modifier and Type Method Description MAssignment
QAssignmentMapping. insert(AssignmentType assignment, OR ownerRow, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.cases
Methods in com.evolveum.midpoint.repo.sqale.qmodel.cases with parameters of type JdbcSession Modifier and Type Method Description void
QCaseMapping. storeRelatedEntities(@NotNull MCase row, @NotNull CaseType schemaObject, @NotNull JdbcSession jdbcSession)
@NotNull MCase
QCaseMapping. toRowObjectWithoutFullObject(CaseType schemaObject, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.cases.workitem
Methods in com.evolveum.midpoint.repo.sqale.qmodel.cases.workitem with parameters of type JdbcSession Modifier and Type Method Description ResultListRowTransformer<CaseWorkItemType,QCaseWorkItem,MCaseWorkItem>
QCaseWorkItemMapping. createRowTransformer(SqlQueryContext<CaseWorkItemType,QCaseWorkItem,MCaseWorkItem> sqlQueryContext, JdbcSession jdbcSession)
MCaseWorkItem
QCaseWorkItemMapping. insert(CaseWorkItemType workItem, MCase ownerRow, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.common
Methods in com.evolveum.midpoint.repo.sqale.qmodel.common with parameters of type JdbcSession Modifier and Type Method Description R
QContainerMapping. insert(S schemaObject, OR ownerRow, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.connector
Methods in com.evolveum.midpoint.repo.sqale.qmodel.connector with parameters of type JdbcSession Modifier and Type Method Description @NotNull MConnectorHost
QConnectorHostMapping. toRowObjectWithoutFullObject(ConnectorHostType schemaObject, JdbcSession jdbcSession)
@NotNull MConnector
QConnectorMapping. toRowObjectWithoutFullObject(ConnectorType schemaObject, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.focus
Methods in com.evolveum.midpoint.repo.sqale.qmodel.focus with parameters of type JdbcSession Modifier and Type Method Description void
QFocusMapping. storeRelatedEntities(R row, S schemaObject, @NotNull JdbcSession jdbcSession)
R
QFocusMapping. toRowObjectWithoutFullObject(S focus, JdbcSession jdbcSession)
@NotNull MFocus
QGenericObjectMapping. toRowObjectWithoutFullObject(GenericObjectType genericObject, JdbcSession jdbcSession)
@NotNull MUser
QUserMapping. toRowObjectWithoutFullObject(UserType user, JdbcSession jdbcSession)
S
QFocusMapping. toSchemaObject(@NotNull com.querydsl.core.Tuple row, Q entityPath, @NotNull JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.lookuptable
Methods in com.evolveum.midpoint.repo.sqale.qmodel.lookuptable with parameters of type JdbcSession Modifier and Type Method Description protected void
QLookupTableRowMapping. insert(MLookupTableRow row, JdbcSession jdbcSession)
MLookupTableRow
QLookupTableRowMapping. insert(LookupTableRowType lookupTableRow, MLookupTable ownerRow, JdbcSession jdbcSession)
void
QLookupTableMapping. storeRelatedEntities(@NotNull MLookupTable lookupTable, @NotNull LookupTableType schemaObject, @NotNull JdbcSession jdbcSession)
LookupTableType
QLookupTableMapping. toSchemaObjectInternal(com.querydsl.core.Tuple rowTuple, QLookupTable entityPath, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull JdbcSession session, boolean forceFull)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.node
Methods in com.evolveum.midpoint.repo.sqale.qmodel.node with parameters of type JdbcSession Modifier and Type Method Description @NotNull MNode
QNodeMapping. toRowObjectWithoutFullObject(NodeType node, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.object
Methods in com.evolveum.midpoint.repo.sqale.qmodel.object with parameters of type JdbcSession Modifier and Type Method Description ResultListRowTransformer<OperationExecutionType,QOperationExecution<OR>,MOperationExecution>
QOperationExecutionMapping. createRowTransformer(SqlQueryContext<OperationExecutionType,QOperationExecution<OR>,MOperationExecution> sqlQueryContext, JdbcSession jdbcSession)
MOperationExecution
QOperationExecutionMapping. insert(OperationExecutionType schemaObject, OR ownerRow, JdbcSession jdbcSession)
MTrigger
QTriggerMapping. insert(TriggerType schemaObject, OR ownerRow, JdbcSession jdbcSession)
void
QAssignmentHolderMapping. storeRelatedEntities(R row, S schemaObject, @NotNull JdbcSession jdbcSession)
void
QObjectMapping. storeRelatedEntities(R row, S schemaObject, @NotNull JdbcSession jdbcSession)
Stores other entities related to the main object row like containers, references, etc.R
QObjectMapping. toRowObjectWithoutFullObject(S schemaObject, JdbcSession jdbcSession)
Override this to fill additional row attributes after calling this super version.S
QObjectMapping. toSchemaObject(@NotNull com.querydsl.core.Tuple row, Q entityPath, @NotNull JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options)
S
QObjectMapping. toSchemaObjectCompleteSafe(com.querydsl.core.Tuple tuple, Q entityPath, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull JdbcSession jdbcSession, boolean forceFull)
The same function as in overridden method, but softer exception handling. -
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.org
Methods in com.evolveum.midpoint.repo.sqale.qmodel.org with parameters of type JdbcSession Modifier and Type Method Description @NotNull MOrg
QOrgMapping. toRowObjectWithoutFullObject(OrgType schemaObject, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.other
Methods in com.evolveum.midpoint.repo.sqale.qmodel.other with parameters of type JdbcSession Modifier and Type Method Description void
QObjectTemplateMapping. storeRelatedEntities(@NotNull MObject row, @NotNull ObjectTemplateType schemaObject, @NotNull JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.ref
Methods in com.evolveum.midpoint.repo.sqale.qmodel.ref with parameters of type JdbcSession Modifier and Type Method Description R
QReferenceMapping. insert(Referencable reference, OR ownerRow, JdbcSession jdbcSession)
There is no need to override this, only reference creation is different and that is covered byQReferenceMapping.newRowObject(Object)
including setting FK columns. -
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.report
Methods in com.evolveum.midpoint.repo.sqale.qmodel.report with parameters of type JdbcSession Modifier and Type Method Description @NotNull MReportData
QReportDataMapping. toRowObjectWithoutFullObject(ReportDataType reportData, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.resource
Methods in com.evolveum.midpoint.repo.sqale.qmodel.resource with parameters of type JdbcSession Modifier and Type Method Description void
QResourceMapping. storeRelatedEntities(@NotNull MResource row, @NotNull ResourceType schemaObject, @NotNull JdbcSession jdbcSession)
@NotNull MResource
QResourceMapping. toRowObjectWithoutFullObject(ResourceType schemaObject, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.role
Methods in com.evolveum.midpoint.repo.sqale.qmodel.role with parameters of type JdbcSession Modifier and Type Method Description void
QAbstractRoleMapping. storeRelatedEntities(R row, S schemaObject, @NotNull JdbcSession jdbcSession)
R
QAbstractRoleMapping. toRowObjectWithoutFullObject(S abstractRole, JdbcSession jdbcSession)
@NotNull MRole
QRoleMapping. toRowObjectWithoutFullObject(RoleType schemaObject, JdbcSession jdbcSession)
@NotNull MService
QServiceMapping. toRowObjectWithoutFullObject(ServiceType schemaObject, JdbcSession jdbcSession)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.shadow
Methods in com.evolveum.midpoint.repo.sqale.qmodel.shadow with parameters of type JdbcSession Modifier and Type Method Description @NotNull MShadow
QShadowMapping. toRowObjectWithoutFullObject(ShadowType shadow, JdbcSession jdbcSession)
ShadowType
QShadowMapping. toSchemaObject(@NotNull com.querydsl.core.Tuple row, @NotNull QShadow entityPath, @NotNull JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.qmodel.task
Methods in com.evolveum.midpoint.repo.sqale.qmodel.task with parameters of type JdbcSession Modifier and Type Method Description @NotNull MTask
QTaskMapping. toRowObjectWithoutFullObject(TaskType task, JdbcSession jdbcSession)
TaskType
QTaskMapping. toSchemaObject(@NotNull com.querydsl.core.Tuple row, @NotNull QTask entityPath, @NotNull JdbcSession jdbcSession, Collection<SelectorOptions<GetOperationOptions>> options)
-
Uses of JdbcSession in com.evolveum.midpoint.repo.sqale.update
Fields in com.evolveum.midpoint.repo.sqale.update declared as JdbcSession Modifier and Type Field Description protected JdbcSession
SqaleUpdateContext. jdbcSession
Methods in com.evolveum.midpoint.repo.sqale.update that return JdbcSession Modifier and Type Method Description JdbcSession
SqaleUpdateContext. jdbcSession()
Methods in com.evolveum.midpoint.repo.sqale.update with parameters of type JdbcSession Modifier and Type Method Description String
AddObjectContext. execute(JdbcSession jdbcSession)
LikeAddObjectContext.execute()
but with provided JDBC session, does not commit.void
AddObjectContext. executeReindexed(JdbcSession jdbcSession)
Constructors in com.evolveum.midpoint.repo.sqale.update with parameters of type JdbcSession Constructor Description RootUpdateContext(SqaleRepoContext repositoryContext, JdbcSession jdbcSession, S object, R rootRow)
SqaleUpdateContext(SqaleRepoContext repositoryContext, JdbcSession jdbcSession, R row)
-
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
.
-