[jboss-user] [EJB 3.0] - Re: Oracle 10g with Jboss 4.2.3 Entity Manager / Hibernate
lafr
do-not-reply at jboss.com
Thu Jun 11 13:40:34 EDT 2009
XA-connections seem to be very complicated. It took us some time to find the right settings.
What's the content of XA-Datasource description?
Ours is
<?xml version="1.0" encoding="UTF-8"?>
| <datasources>
| <xa-datasource>
| <jndi-name>ora-11g</jndi-name>
| <track-connection-by-tx/>
| <isSameRM-override-value>false</isSameRM-override-value>
| <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
| <xa-datasource-property name="URL">jdbc:oracle:thin:@sb2000:1521:11g</xa-datasource-property>
| <xa-datasource-property name="User">lafr</xa-datasource-property>
| <xa-datasource-property name="Password">...</xa-datasource-property>
| <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name>
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
| <prepared-statement-cache-size>100</prepared-statement-cache-size>
| <metadata>
| <type-mapping>Oracle9i</type-mapping>
| </metadata>
| </xa-datasource>
| </datasources>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237116#4237116
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237116
More information about the jboss-user
mailing list