Category "grails-orm"

How to set lower or upper in gorm model when primary key is mixed

I have a table with 3 columns: emrID (this is the primary key) patient_name (string) Comment(string) This my code import ( "gorm.io/driver/sqlite" "gorm

Use read-only DB replica for read-only GORM methods and criteria

I have a read-only MySql DB replica and want to use it for all select-based GORM requests and criteria all over the project (Grails 3.1.16) Is there any beautif