expose some private fields via getters for Hibernate Reactive
needed for https://github.com/hibernate/hibernate-reactive/issues/237
This commit is contained in:
parent
fe74ad4270
commit
5ecf45020f
|
@ -470,6 +470,10 @@ public class QueryTranslatorImpl implements FilterTranslator {
|
|||
return statementExecutor.getSqlStatements();
|
||||
}
|
||||
|
||||
protected StatementExecutor getStatementExecutor() {
|
||||
return statementExecutor;
|
||||
}
|
||||
|
||||
/**
|
||||
* The SQL query string to be called; implemented by all subclasses
|
||||
*/
|
||||
|
|
|
@ -28,6 +28,10 @@ public class MultiTableDeleteExecutor implements StatementExecutor {
|
|||
this.deleteHandler = strategy.buildDeleteHandler( walker.getSessionFactoryHelper().getFactory(), walker );
|
||||
}
|
||||
|
||||
public MultiTableBulkIdStrategy.DeleteHandler getDeleteHandler() {
|
||||
return deleteHandler;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getSqlStatements() {
|
||||
return deleteHandler.getSqlStatements();
|
||||
|
|
|
@ -30,6 +30,10 @@ public class MultiTableUpdateExecutor implements StatementExecutor {
|
|||
this.updateHandler = strategy.buildUpdateHandler( walker.getSessionFactoryHelper().getFactory(), walker );
|
||||
}
|
||||
|
||||
public MultiTableBulkIdStrategy.UpdateHandler getUpdateHandler() {
|
||||
return updateHandler;
|
||||
}
|
||||
|
||||
public String[] getSqlStatements() {
|
||||
return updateHandler.getSqlStatements();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue