| Author |
how to exclude a class member from hibernate mapping?
|
chris gar
Ranch Hand
Joined: Jul 20, 2002
Posts: 45
|
|
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 java side?
Thanks
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4967
|
|
|
@Transient
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
 |
|
|
subject: how to exclude a class member from hibernate mapping?
|
|
|