ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert DeVito (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-524) Ability to specify JNDI context for JtaTransactionConfig
Date Tue, 22 Jul 2008 19:45:31 GMT
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
 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. 


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message