grails
Create/Read/Update & Delete views are not being generated
I have a Race class and RaceController class. The Create/Read/Update & Delete views are not being generated when i run the app even thougn i have\"def scaffold = true\" in the controller class. Ho[详细]
2023-04-09 01:12 分类:问答Grails domain ID column validation issue
I have a simple domain object class MyDomain { String id String name static constraints = { id unique:true name nullable:true[详细]
2023-04-08 23:14 分类:问答Grails data not saving
In the basic CRUD model, from the create view, I have the following code to save an item: println params[详细]
2023-04-08 20:23 分类:问答Hibernate & postgreSQL with Grails
There is an easy way to set hibernate to use different primary key ids for each table wi开发者_高级运维th postgres?[详细]
2023-04-08 18:37 分类:问答What is the best way to add logic to delete() on Grails domain class?
I need to make changes to other domain classes when an instance of a particular domain class is deleted. What is the best way to do this? I don\'t want to wait until commit or flush so I don\'t think[详细]
2023-04-08 17:55 分类:问答grails - testing delete()
I just wonder why one method to test delete() works as expected, but another does not? In the following test case:[详细]
2023-04-08 17:49 分类:问答Grails Spring Security Authentication - GSP error not shown
I am new to Grails Spring Security and am struggling to show the login error message. The plugin is installed and correctly configured against my DB. When a wrong username/password is provided, Logi[详细]
2023-04-08 17:46 分类:问答Manage source and javadoc for Grails automatic dependencies in IntelliJ IDEA?
How do I attach source and javadoc to libraries in IntelliJ IDEA that are linked automatically by Grails dependency resolution and are not explicitly listed in the IDEA project settings?[详细]
2023-04-08 17:23 分类:问答redirect http to https in grails
I have a follow up question about redirecting grails apps fro开发者_高级运维m http to https.another user showed me that, the config file, i can do something like this:[详细]
2023-04-08 17:07 分类:问答Grails not printing messages to log file using custom appender
My Grails application is going to mirgate an existing database to a new database. I got some unformatted email addresses from the existing database which do not pass validation with my Grails applicat[详细]
2023-04-08 14:51 分类:问答