First things first, my thank you for you guys. I'm getting the hang of
framework by each day!
Now my question is:
I have a class (model) called Inventory, inside this class there is a
property called
@ManyToOne
private Location location;
which ends up in the DB as a column called location_id; Is it Stripersist
that adds the suffix "_id" to the column's name in the DB?
Anyway, the persistance is working alright. But I don't it to be called
location_id inside the DB's table. So I tried:
@ManyToOne
@Column(name="id_loc")
private Location location;
which doesn't work. All I get is a null pointer exception in the db.
Is there some way to control the column's name before they are added to the
DB?
thank you very much!
Fabio
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users