Giter VIP home page Giter VIP logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 24, 2024

Original comment by [email protected] on 29 May 2010 at 2:09

  • Added labels: Version-Release3.x, Component-Migrations

from mybatis.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 24, 2024
Fixed.

Original comment by [email protected] on 30 May 2010 at 2:46

  • Changed state: Fixed
  • Added labels: Target-Release3.0.2

from mybatis.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 24, 2024
[deleted comment]

from mybatis.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 24, 2024
Thanks for the fix

I've created unit tests (attached) that you might want to add.

As you'll see BaseMigratorTest & MigratorTransactionTest go into
org.apache.ibatis.migration package, while the transaction.zip is the package 
that
contains the configuration - it also goes into org.apache.ibatis.migration

I initially tried to just add the test to the current MigratorTest class, but 
it just
caused problems with it's own tests due to the nature of the new scripts. So, I 
opted
for a config with separate script files.

The tests cover both autocommit true & false, while also testing positive and
negative scenario's. I also created BaseMigratorTest, it just contains 
functionality
currently found in MigratorTest, which I wanted to re-use. I did not modify
MigratorTest, wanted to see if you like the base class first, maybe you have 
some
other ideas...

Original comment by [email protected] on 31 May 2010 at 12:35

Attachments:

from mybatis.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 24, 2024

Original comment by eduardo.macarron on 5 Apr 2012 at 6:29

from mybatis.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 24, 2024
Hi guys, 

The issue is available in the version 3.2.0. 

Having autocommit=false and two sql statements in the script - first statement 
is being committed in spite of the error thrown by the second statement. 

Can you please check and confirm that the bug isn't back? 

Regards,
Edgar



Original comment by [email protected] on 5 Jun 2014 at 2:35

from mybatis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.