1 Reply Latest reply on Sep 15, 2004 9:23 AM by Ricardo Arguello

    new connection to a database with different user-name

    Oleg Ant Newbie

      Hi!
      Help, please.

      I would like for each user to make new connection to a database.
      Now I have oracle-ds.xml, in him

      <local-tx-datasource>
      <jndi-name> OracleDS </jndi-name>
      <connection-url> jdbc:oracle:thin: vvv103:1521:olg1 </connection-url>
      <driver-class> oracle.jdbc.driver. OracleDriver </driver-class>
      <user-name> JB33 </user-name>
      JB33
      <exception-sorter-class-name> org.jboss.resource.adapter.jdbc.vendor. OracleExceptionSorter </exception-sorter-class-name>
      </local-tx-datasource>

      How to me for each user to make connection with different user-name?

      Beforehand is grateful