public void callProcEnergyConsumer() {
super.doWork(new Work() {
@Override
public void execute(Connection connection) throws SQLException {
connection.setAutoCommit(false);
PreparedStatement preparedStatement = connection.prepareCall("{CALL P_DPPS_ENERGYCONSUMER()}");
preparedStatement.execute();
connection.commit();
preparedStatement.close();
connection.close();
}
});
}