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 ;
@@ -290,7 +289,8 @@ public CompletionStage<RowSet<Row>> preparedQueryOutsideTransaction(String sql)
290289 }
291290
292291 private void feedback (String sql ) {
293- InternalStateAssertions .assertCurrentContextMatches ( this , connectionContext );
292+ // Disable assertions for now. See https://github.com/hibernate/hibernate-reactive/issues/2932
293+ // InternalStateAssertions.assertCurrentContextMatches( this, connectionContext );
294294 Objects .requireNonNull ( sql , "SQL query cannot be null" );
295295 // DDL already gets formatted by the client, so don't reformat it
296296 FormatStyle formatStyle = sqlStatementLogger .isFormat () && !sql .contains ( System .lineSeparator () )
You can’t perform that action at this time.
0 commit comments