0 Replies Latest reply on Jul 5, 2002 5:31 AM by Péter Vary

    JBoss-2.4.4 does not use the attribute named "Properties"

    Péter Vary Newbie

      Hello!

      I use mm.mysql-2.0.14 driver in my JBoss-2.4.4(_Tomcat-4.0.1).
      I need to set up some driver properties namely:
      ("useUnicode", "true");
      ("characterEncoding", "ISO-8859-1");

      If I use DriverManager everything's allrigth.

      But I want to use the Connection Pool. It's configured well, but for me it seems to forget about the "Properties", so the result srings are not encoded in ISO-8859-2. The "Properties" attribute is this:

      useUnicode=true;characterEncoding=ISO-8859-2


      I have the jboss.jcml file like this:


      DefaultDS

      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl


      useUnicode=true;characterEncoding=ISO-8859-2


      jdbc:mysql://localhost/secret

      1200000
      10
      secret
      secret
      false
      false
      false
      true
      120000
      1800000
      false
      true

      1.0

      0


      Do you have any suggestions, how should I configure my DBPool?

      Thanks,
      Peter Váry