Em Sun, 19 Apr 2009 16:42:00 -0300, manuel aldana <ald...@gmx.de> escreveu:
Hi,
Hi!
tapestry-hibernate integration is really great.
But one thing which wonders me is that all the fields of my
domain-object are implicitly taken as persisted fields/columns (maybe
this is a tapestry-hibernate feature?). I would like to have control of
that and want to only have explictly marked @Column fields included to
hibernate mapping, the rest should be ignored. As an alternative maybe
there is also a blacklist annotation?
This is an exclusively JPA/Hibernate issue. All properties/fields
(depending on which one you put the @Id annotation) are persisted in the
database. You just cannot do what you want because the JPA specification
(that Hibernate follows) defines this. Mark transient (not stored in a
database) properties with the @Transient annotation.
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org