Git Product home page Git Product logo

Comments (4)

rponte avatar rponte commented on June 2, 2024

Sending full script just works for some JDBC drivers. Probably your driver
does not support it.

If I'm not wrong there's a comment in the properties file explaining about
it.
On ter, 2 de fev de 2016 at 22:58 Deng Zhi Cheng [email protected]
wrote:

I setup the Mybatis migration by following the documentation After run migrate
up there is a commysqljdbcexceptionsjdbc4MySQLSyntaxErrorException

I found this stackoverflow topic:
http://stackoverflowcom/questions/23000085/mybatis-migrations-migrate-up-causes-org-apache-ibatis-jdbc-runtimesqlexception

The solution is change the default environment setting of send_full_script
from

send_full_script=true

to

send_full_script=false

My question is: If the default migration script do not work with the
default setting, why set the send_full_script to true by default?


Reply to this email directly or view it on GitHub
#36.

Rafael Ponte
TriadWorks | Formação Java
http://cursos.triadworks.com.br

from migrations.

superbull avatar superbull commented on June 2, 2024

Yes, so I think the default setting should works for most JDBC drivers. That is set the default value of send_full_script to false in the template file.

from migrations.

hazendaz avatar hazendaz commented on June 2, 2024

@superbull I believe this was a usage issue per notes above. I don't think there is anything to do here. Can you confirm so I can close this out? If something is needed, please let me know.

from migrations.

harawata avatar harawata commented on June 2, 2024

@superbull
I am not sure which is appropriate as the default, but changing the default could break existing solutions.

from migrations.

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.