Register / Login
the field name in the Domain and in the DB table
posted 3 years ago
i'm new to Grails and i have 2 questions :
First : i have a variable named : firstName in the domain , i want to make the column mapped to it in the DB table name to be "user_FirstName" and vise verse , is that possible ?
Second : in the view , which filed name will appears the field name in the domain or the column name in the DB ?
appreciate your help
Boost this thread!
Wher to define table name and DB info
jaws.xml configuration not loading for cmp entity beans
EJB CMP Primary Key problem
Insert via Hibernate and Stored Procs
ejbCreate, ejbPostCreate and ejbStore called but no rows are inserted