OUAF Release 4.2.0.0
com.splwg.base.api.batch.AbstractThreadWorker.getActiveBatch Thread
New Method: com.splwg.base.api.batch.AbstractThreadWorker.getBatchThreadMBean
Change Description: The method name was changed to getBatchThreadMBean. This was a name change only.
com.splwg.base.support.context.FrameworkSession. getConnection
Change Description: The upgrade of hibernate changed the connection handling semantics wherein the unit of work is passed in to hibernate rather than obtaining a connection.
Code Example 1 (preferred):
//Before Code:
FrameworkSession session = (FrameworkSession)SessionHolder.getSession(); Connection connection = FrameworkSession.getConnection(session);
 
// work with the connection connection.prepareStatement();
...
 
//After code:
PreparedStatement query = createPreparedStatement(sql...);
 
Code Example 2 (uses internal APIs):
//Before Code:
FrameworkSession session = (FrameworkSession)SessionHolder.getSession(); Connection connection = FrameworkSession.getConnection(session);
 
// work with the connection connection.prepareStatement();
...
 
//After code:
((FrameworkSession) getSession()).doWork(new ConnectionWork() {
 
@Override
public void execute(Connection connection) throws SQLException {
 
// work with the connection connection. prepareStatement();
...
}
});