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
0e5cb4d705
commit
354fc08a5e
|
@ -470,6 +470,10 @@ public class QueryTranslatorImpl implements FilterTranslator {
|
||||||
return statementExecutor.getSqlStatements();
|
return statementExecutor.getSqlStatements();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected StatementExecutor getStatementExecutor() {
|
||||||
|
return statementExecutor;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The SQL query string to be called; implemented by all subclasses
|
* 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 );
|
this.deleteHandler = strategy.buildDeleteHandler( walker.getSessionFactoryHelper().getFactory(), walker );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MultiTableBulkIdStrategy.DeleteHandler getDeleteHandler() {
|
||||||
|
return deleteHandler;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] getSqlStatements() {
|
public String[] getSqlStatements() {
|
||||||
return deleteHandler.getSqlStatements();
|
return deleteHandler.getSqlStatements();
|
||||||
|
|
|
@ -30,6 +30,10 @@ public class MultiTableUpdateExecutor implements StatementExecutor {
|
||||||
this.updateHandler = strategy.buildUpdateHandler( walker.getSessionFactoryHelper().getFactory(), walker );
|
this.updateHandler = strategy.buildUpdateHandler( walker.getSessionFactoryHelper().getFactory(), walker );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MultiTableBulkIdStrategy.UpdateHandler getUpdateHandler() {
|
||||||
|
return updateHandler;
|
||||||
|
}
|
||||||
|
|
||||||
public String[] getSqlStatements() {
|
public String[] getSqlStatements() {
|
||||||
return updateHandler.getSqlStatements();
|
return updateHandler.getSqlStatements();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue