« Return to Thread: How to set transaction isolation with XA

Re: How to set transaction isolation with XA

by antoine.borg :: Rate this Message:

Reply to Author | View in Thread

At a simple level, if the datasource and/or the transaction manager have
properties that let you configure the transaction isolation then you can
configure them in config.

If the classes do not provide facilities to configure transaction
isolation, I don't see how you can do this ... or maybe I'm missing
something

A



Aldo Bongio wrote:

> Hi all.
> Is there a way to declaratively set the JDBC transaction isolation either in the jboss transaction manager
>
>     <jbossts:transaction-manager>
>         ...
>     </jbossts:transaction-manager>
>
> or in a MySQL XA datasource
>
>     <spring:bean id="jdbcDataSource" class="com.mysql.jdbc.jdbc2.optional.MysqlXADataSource" destroy-method="shutdown">
>    <spring:property name="url" value="...."/>
>             <spring:property name="user" value="..."/>
>             <spring:property name="password" value="..."/>
>             ...
>     </spring:bean>
>
> Thanks in advance
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>
>  
--

Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM

See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/

email: _antoine.borg_@... <mailto:antoine.borg@...> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: How to set transaction isolation with XA