File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hibernate-reactive-core/src/main/java/org/hibernate/reactive/pool/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717import org .hibernate .engine .jdbc .spi .SqlStatementLogger ;
1818import org .hibernate .reactive .adaptor .impl .JdbcNull ;
1919import org .hibernate .reactive .adaptor .impl .ResultSetAdaptor ;
20- import org .hibernate .reactive .common .InternalStateAssertions ;
2120import org .hibernate .reactive .logging .impl .Log ;
2221import org .hibernate .reactive .logging .impl .LoggerFactory ;
2322import org .hibernate .reactive .pool .BatchingConnection ;
@@ -351,7 +350,8 @@ public CompletionStage<RowSet<Row>> preparedQueryOutsideTransaction(String sql)
351350 }
352351
353352 private void feedback (String sql ) {
354- InternalStateAssertions .assertCurrentContextMatches ( this , connectionContext );
353+ // Disable assertions for now. See https://github.com/hibernate/hibernate-reactive/issues/2932
354+ // InternalStateAssertions.assertCurrentContextMatches( this, connectionContext );
355355 Objects .requireNonNull ( sql , "SQL query cannot be null" );
356356 // DDL already gets formatted by the client, so don't reformat it
357357 FormatStyle formatStyle = sqlStatementLogger .isFormat () && !sql .contains ( System .lineSeparator () )
You can’t perform that action at this time.
0 commit comments