A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Object Relational Mapping
how to exclude a class member from hibernate mapping?
Joined: Jul 20, 2002
Aug 31, 2009 07:38:57
I have a List that I'm using for utility purposes in a class that I don't want to be mapped to hibernate/db.
I know - it's bad practice, but I'm about to refactor the persistence layer anyway.
What would the annotation be to exclude this from hibernate so I can use only in the
Cameron Wallace McKenzie
author and cow tipper
Joined: Aug 26, 2006
Aug 31, 2009 11:51:08
It is sorta covered in the
JavaRanch Style Guide
subject: how to exclude a class member from hibernate mapping?
Hibernate annotation: exclude a field
HttpServletRequest equivalent on html page
Ant - copy dir, exclude subdir
hibernate primary key mapping - sequence
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014