Giter Club home page Giter Club logo

Comments (3)

rvanderwerf avatar rvanderwerf commented on June 14, 2024

multi-tenant-hibernate-issue.zip
sample app

from gorm-hibernate5.

graemerocher avatar graemerocher commented on June 14, 2024

as far as I can see the “issue” is very old

I tried it in Grails 3.1.x and and older versions of GORM and the behaviour is the same

I can go back further versions but this is nothing new it seems
the issue can be worked around simply by replacing

inList("books", [book])

with

books {
                inList('id', book.id)
}

Should it work? Probably.. it would be a matter of altering AbstractHibernateQuery to detect that the query is on books and that books is an association and transforming the query into the latter example as above that could probably be regarded as a new feature / improvement since there is a current workaround.

Duplicates this report from a while back:

https://github.com/grails/grails-core/issues/10796

from gorm-hibernate5.

rvanderwerf avatar rvanderwerf commented on June 14, 2024

Thanks for looking into this. The only reason I assumed it should work because it was for them with gorm and mongo( at least on the older version they were running). I think the workaround will work fine for them now, I'll try that out today.

from gorm-hibernate5.

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.