We could force each application using its own version of Custom TransactionFactory by adding code to each ApplicationModuleImpl.
In Application 1, that should use CustomDatabaseTransactionFactory1, f.ex.:
...
static
{
oracle.jbo.server.DatabaseTransactionFactory.setFactory(new CustomDatabaseTransactionFactory1());
}
In Application 2, that should use CustomDatabaseTransactionFactory2, f.ex.:
...
static
{
oracle.jbo.server.DatabaseTransactionFactory.setFactory(new CustomDatabaseTransactionFactory2());
}
No comments:
Post a Comment