grails-data-mapping
grails-data-mapping copied to clipboard
GORM - Groovy Object Mapping
Formal issues in key interfaces. - Interface org.grails.datastore.mapping.model.PersistentProperty has a misspelled method name. `getCapitilizedName` should be deprecated, clone to `getCapitalizedName` (corrected spelling). - Interface org.grails.datastore.mapping.engine.EntityAccess has a superfluous method. Deprecate...
GRAILS-5101: Compound "unique" constraints incorrectly pass validation if one of the fields is null
Original Reporter: wangjammer5 Environment: Not Specified Version: 1.2-M2 Migrated From: http://jira.grails.org/browse/GRAILS-5101
I am converting Grails from 3.0 to 3.1, here, in 3.1 nativeEntry is returning as a domain class while in previous version, nativeEntry is returning as BasicDBObject. Also embedded document...
``` new DetachedCriteria(Book).build { author { order("name") } join("author", JoinType.LEFT) } ``` results in the author being joined with an inner join
Original Reporter: overzealous Environment: Not Specified Version: 2.0.4 Migrated From: http://jira.grails.org/browse/GRAILS-9171 There should be a standard way to handle case-insensitive sorting in both `Criteria` and `DetachedCriteria`. Currently, standard `Criteria` only...
Original Reporter: frankly.watson Environment: Linux Version: 1.2-M3 Migrated From: http://jira.grails.org/browse/GRAILS-5208 I have spent quite a time trying to get a discriminator applied to a table-per-subclass hierarchy using GORM domain objects,...
Original Reporter: danyer Environment: Not Specified Version: Not Specified Migrated From: http://jira.grails.org/browse/GRAILS-4637 This is a new feature suggestion for embedded classes, which their original mappings could be overriden in the...
When using multiple data sources, there must be a default data source and it must be called 'dataSource'. In a project using several data sources, "dataSource" is not a useful...
Hi As i understand, the unique constraint should only ensure uniqueness in one datasource but in case of multiple datasource it is checking for uniqueness across all the datasources. [github.com/hamza3202/grails-unique-constraint-bug](https://github.com/hamza3202/grails-unique-constraint-bug)...
### Task List - [x] Steps to reproduce provided - [x] Stacktrace (if present) provided - [x] Example that reproduces the problem uploaded to Github - [x] Full description of...