grails-data-mapping
grails-data-mapping copied to clipboard
GORM - Groovy Object Mapping
`GormValidateable` has a property `skipValidate` that is trying to skip calling validate multiple times when an entity is saved and then later flushed. However, it has the potential to cause...
I wanted to create a hierarchy of classes with the **table per subclass** strategy (see example below). Since we have common functionality in our domain classes, we have an **abstract...
### Steps to Reproduce 1. exist config Class to extend 2. example config with way of spring-boot or spring 3. other ### Expected Behaviour In my project,must use AbstractRoutingDataSource to...
### 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...
### 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...
### Steps to Reproduce Using Grails 3.2.8 1.- Create domain class A ``` @Resource(readOnly = false, formats = ['json', 'xml'], uri = "/a") class A { B b } ```...
I've defined 2 domain classes that are mapped using the "no collections" approach described [here](https://mrpaulwoods.wordpress.com/2011/02/07/implementing-burt-beckwiths-gorm-performance-no-collections/) ``` groovy class IncomeScenario { String title Collection getItems() { IncomeDelta.findAllByIncomeScenario(this) } def beforeDelete() {...
Oracle, Postgres and MySQL all have support for storing JSON in columns, and querying/indexing json data stored in those columns. I was wondering how JSON columns are supported in GORM?...
The docs for `withNewSession` say (emphasis added): > Provides a way to execute code within the context of a new Hibernate session which *shares the same transactional (JDBC Connection)* resource...
This is being submitted as a bug because it should either report an error or work. Instead it silently ignores the OrderByPath suffix ### Steps to Reproduce 1. Using a...