You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// FIXME: We could add this method in ORM and override only this codeprotectedMutationOperationcreateOperation(ValuesAnalysisvaluesAnalysis, TableMutation<?> singleTableMutation) {
MutationOperationoperation = singleTableMutation.createMutationOperation( valuesAnalysis, factory() );
if ( operationinstanceofOptionalTableUpdateOperation ) {
// We need to plug in our own reactive operationreturnnewReactiveOptionalTableUpdateOperation(
operation.getMutationTarget(),
(OptionalTableUpdate) singleTableMutation,
factory()
);
}
if ( operationinstanceofDeleteOrUpsertOperation
&& factory().getJdbcServices().getDialect() instanceofOracleDialect ) {
OracleDialectdialect = ( (OracleDialect) factory().getJdbcServices().getDialect() );
returndialect.createOptionalTableUpdateOperation(
( (OptionalTableUpdate) operation ).getMutationTarget(),
(OptionalTableUpdate) operation,
factory()
);
}
returnoperation;
}
I suspect this is a leftover from some experiments.
A DeleteOrUpsertOperation cannot be cast to OptionalTableUpdate so I don't think this code is actually useful.
The text was updated successfully, but these errors were encountered:
DavideD
added a commit
to DavideD/hibernate-reactive
that referenced
this issue
Jan 19, 2024
This code causes a failure with Quarkus at start up:
quarkusio/quarkus#38263
CI stil works when I remove, and
a `DeleteOrUpsertOperation` cannot be cast to `OptionalTableUpdate`,
so I don't think this code is useful.
DavideD
added a commit
to DavideD/hibernate-reactive
that referenced
this issue
Jan 19, 2024
This code causes a failure with Quarkus at start up:
quarkusio/quarkus#38263
CI still works when I remove it, and a `DeleteOrUpsertOperation`
cannot be cast to `OptionalTableUpdate` anyway,
so I don't think this code is useful.
DavideD
added a commit
to DavideD/hibernate-reactive
that referenced
this issue
Jan 19, 2024
This code causes a failure with Quarkus at start up:
quarkusio/quarkus#38263
CI still works when I remove it, and a `DeleteOrUpsertOperation`
cannot be cast to `OptionalTableUpdate` anyway.
So I don't think this code is useful.
DavideD
changed the title
Unused code is causing an exception in Quarkus
Unused code is causing an exception in Quarkus at startup
Jan 19, 2024
This code causes a failure with Quarkus at start up:
quarkusio/quarkus#38263
CI still works when I remove it, and a `DeleteOrUpsertOperation`
cannot be cast to `OptionalTableUpdate` anyway.
So I don't think this code is useful.
See quarkusio/quarkus#38263
This is the code:
I suspect this is a leftover from some experiments.
A
DeleteOrUpsertOperation
cannot be cast toOptionalTableUpdate
so I don't think this code is actually useful.The text was updated successfully, but these errors were encountered: