You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Robert DeVito (JIRA)" <ib...@incubator.apache.org> on 2008/07/22 21:45:31 UTC
[jira] Created: (IBATIS-524) Ability to specify JNDI context for
JtaTransactionConfig
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.