A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
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
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015