Giter Site home page Giter Site logo

Comments (5)

AndreaAdvanon avatar AndreaAdvanon commented on July 1, 2024 1

Unfortunately we're currently not on Spring Boot 2 🙂 . We're actually working on it, so hopefully I can give you feedback this week.

from distributed-lock.

AndreaAdvanon avatar AndreaAdvanon commented on July 1, 2024

Could "DELETE FROM %s WHERE expireAt < ?;" be the reason?
` are not part of the SQL standard and seems to be used by MySQL.

from distributed-lock.

alturkovic avatar alturkovic commented on July 1, 2024

Hmm that is possible... Another user issued a PR for introducing backticks to escape keywords in MySQL and it seems like that escape characters are different among databases (I was not aware of this)... I will look into this and possibly change reserved words (like "key") to avoid this issue since I do not know of a simpler solution. Will definitely post back after some investigation, thanks for reporting this!

-- EDIT --

As I said, the easiest way I see is to rename "key" to "lock_key" so that is what I did and released a new version. Does that help you?

from distributed-lock.

alturkovic avatar alturkovic commented on July 1, 2024

I didn't plan to support 1.X anymore, but I'll see what I can do when I get to my PC later.

Sure, leave a comment if this fixed the issues for you or needs further changes 😃

from distributed-lock.

AndreaAdvanon avatar AndreaAdvanon commented on July 1, 2024

It works, thanks!

from distributed-lock.

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.