Ability to specify JNDI context for JtaTransactionConfig
--------------------------------------------------------
Key: IBATIS-524
URL: https://issues.apache.org/jira/browse/IBATIS-524
Project: iBatis for Java
Issue Type: Improvement
Components: SQL Maps
Reporter: Robert DeVito
Priority: Blocker
Need the ability to specify a particular JNDI context for JTA transactions in
iBATIS.
JndiDataSourceFactory already has this flexibility in its "initialize" method
ex:
InitialContext initCtx = null;
Hashtable context = getContextProperties(properties);
if (context == null) {
initCtx = new InitialContext();
} else {
initCtx = new InitialContext(context);
}
However JtaTransactionConfig is hard coded to simply instantiate an
InitialContext, using the no-arg constructor, without taking configured URLs
into account.
thanks
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.