[jboss-user] [Datasource Configuration] - driver-class doesn't make a difference -- Oracle

Stephen Morgan do-not-reply at jboss.com
Tue May 11 06:55:32 EDT 2010


Stephen Morgan [http://community.jboss.org/people/steph.morgan] created the discussion

"driver-class doesn't make a difference -- Oracle"

To view the discussion, visit: http://community.jboss.org/message/542257#542257

--------------------------------------------------------------
I'm attempting to use an SQL logger to wrap a database driver. As part of the configuration I'm supposed to used the wrappers driver instead to the standard oracle driver.

In trying to implement this I have discovered that the driver-class attribute doesn't matter. I have changed it to random text and tried to use the jdbc logger driver.

In both cases I can happily connect to the oracle database as if I hadn't changed anything. It only complains if I don't put in a driver-class at all.

My Datasource.....

<local-tx-datasource>
        <jndi-name>jdbc/myDS</jndi-name>
        <connection-url>jdbc:oracle:thin:@localhost:1521:xe</connection-url>
        <driver-class>grrrr</driver-class>
        <user-name>user</user-name>
        <password>pass</password>    
        <min-pool-size>1</min-pool-size>
        <max-pool-size>2</max-pool-size>
        <blocking-timeout-millis>5000</blocking-timeout-millis>
        <idle-timeout-minutes>5</idle-timeout-minutes>
  </local-tx-datasource>


Any help would be appreciated,


Thanks


Steve

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/542257#542257]

Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100511/ddb4cc02/attachment.html 


More information about the jboss-user mailing list