0 Replies Latest reply on May 3, 2002 4:45 PM by oravecz

    XADataSource does not support URL or Properties?

    oravecz

      I'm using JBoss-2.4.5RC2_Tomcat-4.0.3 and attempting to setup XA support for Sybase 12.5. The relavent snippet is:


      DefaultDS

      com.sybase.jdbc2.jdbc.SybXADataSource

      &user;
      &password;
      ...


      I realize that the current implementation wants a URL or properties attribute. The problem is that the SybXADataSource class does not have a setURL() or setProperties() method.

      I also cannot use the wrapper class (XADataSourceImpl) because I need to use "real" XA support.

      Isn't the hardcoded use of URL and properties attributes a very specific way of dealing with the configuration, and not widely reusable?