[jboss-user] [Beginner's Corner] - MySQL 5.1 with JBoss ESB 5.0.0

Sathya Prakash do-not-reply at jboss.com
Wed Aug 25 12:26:20 EDT 2010


Sathya Prakash [http://community.jboss.org/people/sathyaprakash] replied to the discussion

"MySQL 5.1 with JBoss ESB 5.0.0"

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

--------------------------------------------------------------
Hi ,

I have created mysql Datasoucre.xml and copied to deploy folder and hsql datasoucre.xml.
<datasources>
  <local-tx-datasource>
    <jndi-name>DefaultJNDI</jndi-name>
    <connection-url>jdbc:mysql://10.10.10.10:3306;DatabaseName=spc</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>tp_user</user-name>
    <password>tp_user</password>
    <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
    <min-pool-size>1</min-pool-size>
    <max-pool-size>20</max-pool-size>
    <metadata>
       <type-mapping>mySQL</type-mapping>
    </metadata>
  </local-tx-datasource>
</datasources>

Is there any more to do changes?

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

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

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

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


More information about the jboss-user mailing list