public void execute(DataTra nsactionIfc dataTransaction ,
DataConnectionI fc dataConnection, DataActionIfc action)
throws DataException {
JdbcHelper oldHelper = JdbcUtilities.g etJdbcHelperCla ss();
try
{
JdbcUtilities.s etJdbcHelperCla ss(new Oracle8iHelper( ));
jdbcHelperClass = JdbcUtilities.g etJdbcHelperCla ss();
super.execute(d ataTransaction, dataConnection, action);
JdbcUtilities.s etJdbcHelperCla ss(oldHelper);
}finally
{
jdbcHelperClass = oldHelper;
}
}
what seems to be the problem with the code.. it uses to database 1 sql and the other 1 was oracle
DataConnectionI fc dataConnection, DataActionIfc action)
throws DataException {
JdbcHelper oldHelper = JdbcUtilities.g etJdbcHelperCla ss();
try
{
JdbcUtilities.s etJdbcHelperCla ss(new Oracle8iHelper( ));
jdbcHelperClass = JdbcUtilities.g etJdbcHelperCla ss();
super.execute(d ataTransaction, dataConnection, action);
JdbcUtilities.s etJdbcHelperCla ss(oldHelper);
}finally
{
jdbcHelperClass = oldHelper;
}
}
what seems to be the problem with the code.. it uses to database 1 sql and the other 1 was oracle
Comment