grails-orm
grails not generating foreign keys
I`m really confused here about this weird behavior! The thing is, I have a grails app which in my local machine it is creating all FK in my MYSQL db.[详细]
2023-03-13 06:55 分类:问答How do I map entities in GORM when pk of one references pk of another
What is the best way to map two entities in GORM when the primary key of one table is also a foreign key from another table. For ex:[详细]
2023-03-13 05:20 分类:问答Criteria building in GORM
if (params.filters) { def o = JSON.parse(params.filters); def groupOp = o.groupOp def fields = o.rules.field[详细]
2023-03-13 01:30 分类:问答Using JPA domain classes in Grails
I want to use a JPA domain model in an application developed using the latest Grails milestone (2.0.0.M1). The JPA domain classes are in the src\\java directory of the application.[详细]
2023-03-12 22:05 分类:问答Grails: How to query objects in many to many mapping?
开发者_StackOverflow社区Hello I have the follwing domain classes. class Student { int age static hasMany = [courses:Course][详细]
2023-03-12 09:56 分类:问答Do I ever need to explicitly flush GORM save calls in grails?
I have a strange situation which appears to indicate a GORM cacheing problem //begin with all book.status\'s as UNREAD[详细]
2023-03-11 20:33 分类:问答How to share Spring Security classes between a Grails app and a Java app?
I need to use the Spring Security User, Role/Authority and the UserRole-join classes both in a Grails application and a Java app.[详细]
2023-03-11 06:04 分类:问答Need ideas in designing Domain classes Grails
I am learning Grails, I am trying to build a small application. And for now I am working on the registration part.[详细]
2023-03-10 20:14 分类:问答Do I need to assign a Grails hasOne relationship in both directions?
Must I assign the relationship in each direction?Using the textbook domain classes for the hasOne relationship, this appears necessary from my testing so far to get the instances to recognize each oth[详细]
2023-03-10 14:40 分类:问答Grails - Getting IndexOutOfBoundsException while calling a dynamic finder within a transaction
I\'m getting IndexOutOfBoundsException exception while calling a dynamic finder when I call it from within a Transaction from controller.[详细]
2023-03-10 09:28 分类:问答