A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
the field name in the Domain and in the DB table
Joined: Mar 05, 2007
Mar 02, 2013 07:15:18
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
It is sorta covered in the
JavaRanch Style Guide
subject: the field name in the Domain and in the DB table
ejbCreate, ejbPostCreate and ejbStore called but no rows are inserted
jaws.xml configuration not loading for cmp entity beans
Insert via Hibernate and Stored Procs
Wher to define table name and DB info
EJB CMP Primary Key problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013