-
1. Re: How can I set an Oracle XA datasource property from my -ds.xml file?
welle Dec 10, 2010 7:08 AM (in response to johk)You can set XA properties in the *⁻ds.xml file with:
<xa-datasource-property name="XXX">YYY</xa-datasource-property>
As you did in your example when specifying the URL!
-
2. Re: How can I set an Oracle XA datasource property from my -ds.xml file?
johk Dec 10, 2010 7:14 AM (in response to welle)As I said - it doesn't work.
-
3. Re: How can I set an Oracle XA datasource property from my -ds.xml file?
welle Dec 10, 2010 7:16 AM (in response to johk)Opps... sorry missed the last statement about that... Really sorry
-
4. Re: How can I set an Oracle XA datasource property from my -ds.xml file?
johk Dec 10, 2010 7:19 AM (in response to welle)The URL property works because there is a 'setURL' method on the datasource. Not so for the other property.
-
5. Re: How can I set an Oracle XA datasource property from my -ds.xml file?
welle Dec 10, 2010 7:20 AM (in response to welle)Have you tried the the non XA property setter "<connection-property>"?
-
6. Re: How can I set an Oracle XA datasource property from my -ds.xml file?
welle Dec 10, 2010 7:20 AM (in response to welle)Hmm... the same thing probably is the case for "<connection-property>"!
-
7. Re: How can I set an Oracle XA datasource property from my -ds.xml file?
welle Dec 10, 2010 7:22 AM (in response to welle)Perhaps you could use "<new-connection-sql>" to set the property (If it can be done in SQL)?
-
8. Re: How can I set an Oracle XA datasource property from my -ds.xml file?
wdfink Dec 10, 2010 1:44 PM (in response to johk)try this, for us it works:
<xa-datasource-property name="ConnectionProperties">oracle.jdbc.XATransLoose=true</xa-datasource-property>
-
9. Re: How can I set an Oracle XA datasource property from my -ds.xml file?
johk Dec 13, 2010 4:27 AM (in response to wdfink)Thanks Wolf-Dieter, seems to be working now.