grails-data-mapping icon indicating copy to clipboard operation
grails-data-mapping copied to clipboard

GORM - Groovy Object Mapping

Results 148 grails-data-mapping issues
Sort by recently updated
recently updated
newest added

I have a class that have fields that participate in a nullable constraint thus: class ContentItem implements Serializable { String code String channel String content static constraints = { code(nullable:...

I had a dynamic finder like this... Set aes = AccountEntry.findAllByDateGreaterThanEqualAndDateLessThanEqual(c.fromDate, c.toDate) And I couldn't figure out why it was generating a > and < SQL rather than >= and

An instance of a sub-class should be retrieved from the data store as an instance of the same sub-class (not its superclass).

just for example. no need to merge if you don't want to implement back pressure handling. the test can run very long time or break the build with OOME. cc...

Updated MultiTenantEventListener to not add the multi-tenant filter to the query in case of shared database and when `tenantId` is DEFAULT

With ThreadLocal it can happen, that a method, which is properly called in multitenant context, internally starts several threads. In our case it happens in combination with JasperReport library which...

Given these domain classes: ```groovy class Role { String authority } class User { String username } class UserRole implements Serializable { private static final long serialVersionUID = 1 User...

I would like to resurrect a previously reported bug... https://github.com/grails/grails-core/issues/11321 Because I for one can't see how there is not some kind of bug here. According to the documentation http://gorm.grails.org/6.0.x/hibernate/manual/#modificationChecking...

In testing multi-tenancy for our application I realized that any entity which implements MultiTenant is not eligible for 2nd level caching at all in Hibernate. This is currently by design...