Hibernate version: 3.2.1.ga
Mapping documents: orm.xml and persistence.xml
Hello
How can i avoid that Hibernate tries to persist transient properties.
I'm not using annotations because i want my domain model as clean as possible, and i don't want to deploy the hibernate libraries together with my client code.
Therefore i'm using orm.xml and persistence.xml on my repository layer.
In the standard orm it is possible to specify a property with
Code:
<transient name="foo" />
to tell jpa that this property should not be persisted
This doesn't seem to work with Hibernate
Any workarounds except for using annotations?
/Per-Jarle