You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by gshum <gs...@gmail.com> on 2010/01/13 09:07:58 UTC

iBatis 3 transaction isolation level control

Is there a way in iBatis 3 to control the isolation level of transaction?

Thanks,
Gennady
-- 
View this message in context: http://old.nabble.com/iBatis-3-transaction-isolation-level-control-tp27140959p27140959.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Re: iBatis 3 transaction isolation level control

Posted by Simone Tripodi <si...@gmail.com>.
Hi Clinton, great!!!
Just noticed it is included in the beta9, I'm going to modify the
@Transaction behavior.
Thanks!!!
Simo

http://people.apache.org/~simonetripodi/


On Sat, Jan 23, 2010 at 9:46 PM, Clinton Begin <cl...@gmail.com>wrote:

> I've implemented this and committed it to trunk.
>
> SqlSessionFactory now has two new openSession methods...
>
>   SqlSession openSession(TransactionIsolationLevel level);
>   SqlSession openSession(ExecutorType execType, TransactionIsolationLevel
> level);
>
> Clinton
>
>
> On Thu, Jan 14, 2010 at 1:38 AM, Simone Tripodi <si...@gmail.com>wrote:
>
>> Hi all,
>> *very* interesting point, I'll follow the thread so I'll integrate the
>> transaction isolation in the @Transactional annotation in iBaguice.
>> All the best,
>> Simo
>>
>> On Wed, Jan 13, 2010 at 4:41 PM, Clinton Begin <cl...@gmail.com>
>> wrote:
>> > Not yet.  The plan is to pass it as a parameter to .openSession().
>> Somehow
>> > this feature ended up at the bottom of the priority list.
>> >
>> > I'll look into it this weekend.
>> >
>> > Clinton
>> >
>> > On Wed, Jan 13, 2010 at 1:07 AM, gshum <gs...@gmail.com> wrote:
>> >>
>> >> Is there a way in iBatis 3 to control the isolation level of
>> transaction?
>> >>
>> >> Thanks,
>> >> Gennady
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/iBatis-3-transaction-isolation-level-control-tp27140959p27140959.html
>> >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
>> >> For additional commands, e-mail: user-java-help@ibatis.apache.org
>> >>
>> >
>> >
>>
>>
>>
>> --
>> http://people.apache.org/~simonetripodi/<http://people.apache.org/%7Esimonetripodi/>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
>> For additional commands, e-mail: user-java-help@ibatis.apache.org
>>
>>
>

Re: iBatis 3 transaction isolation level control

Posted by Clinton Begin <cl...@gmail.com>.
I've implemented this and committed it to trunk.

SqlSessionFactory now has two new openSession methods...

  SqlSession openSession(TransactionIsolationLevel level);
  SqlSession openSession(ExecutorType execType, TransactionIsolationLevel
level);

Clinton

On Thu, Jan 14, 2010 at 1:38 AM, Simone Tripodi <si...@gmail.com>wrote:

> Hi all,
> *very* interesting point, I'll follow the thread so I'll integrate the
> transaction isolation in the @Transactional annotation in iBaguice.
> All the best,
> Simo
>
> On Wed, Jan 13, 2010 at 4:41 PM, Clinton Begin <cl...@gmail.com>
> wrote:
> > Not yet.  The plan is to pass it as a parameter to .openSession().
> Somehow
> > this feature ended up at the bottom of the priority list.
> >
> > I'll look into it this weekend.
> >
> > Clinton
> >
> > On Wed, Jan 13, 2010 at 1:07 AM, gshum <gs...@gmail.com> wrote:
> >>
> >> Is there a way in iBatis 3 to control the isolation level of
> transaction?
> >>
> >> Thanks,
> >> Gennady
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/iBatis-3-transaction-isolation-level-control-tp27140959p27140959.html
> >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> >> For additional commands, e-mail: user-java-help@ibatis.apache.org
> >>
> >
> >
>
>
>
> --
> http://people.apache.org/~simonetripodi/<http://people.apache.org/%7Esimonetripodi/>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>

Re: iBatis 3 transaction isolation level control

Posted by Simone Tripodi <si...@gmail.com>.
Hi all,
*very* interesting point, I'll follow the thread so I'll integrate the
transaction isolation in the @Transactional annotation in iBaguice.
All the best,
Simo

On Wed, Jan 13, 2010 at 4:41 PM, Clinton Begin <cl...@gmail.com> wrote:
> Not yet.  The plan is to pass it as a parameter to .openSession().  Somehow
> this feature ended up at the bottom of the priority list.
>
> I'll look into it this weekend.
>
> Clinton
>
> On Wed, Jan 13, 2010 at 1:07 AM, gshum <gs...@gmail.com> wrote:
>>
>> Is there a way in iBatis 3 to control the isolation level of transaction?
>>
>> Thanks,
>> Gennady
>> --
>> View this message in context:
>> http://old.nabble.com/iBatis-3-transaction-isolation-level-control-tp27140959p27140959.html
>> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
>> For additional commands, e-mail: user-java-help@ibatis.apache.org
>>
>
>



-- 
http://people.apache.org/~simonetripodi/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Re: iBatis 3 transaction isolation level control

Posted by Clinton Begin <cl...@gmail.com>.
Not yet.  The plan is to pass it as a parameter to .openSession().  Somehow
this feature ended up at the bottom of the priority list.

I'll look into it this weekend.

Clinton

On Wed, Jan 13, 2010 at 1:07 AM, gshum <gs...@gmail.com> wrote:

>
> Is there a way in iBatis 3 to control the isolation level of transaction?
>
> Thanks,
> Gennady
> --
> View this message in context:
> http://old.nabble.com/iBatis-3-transaction-isolation-level-control-tp27140959p27140959.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>