Joined: Tue Jul 22, 2008 11:00 am Posts: 1
|
Hi all,
Please help me how setup cache for sub-classes in HyberJaxb2/Hibernate
The mapping file look like this:
<hibernate-mapping auto-import="false" default-cascade="all-delete-orphan" default-lazy="false">
<subclass discriminator-value="[bindings.BusinessEntity]"
extends="bindings.BusinessEntityType"
name="bindings.BusinessEntity">
<subclass discriminator-value="bindings.BusinessEntity"
name="bindings.impl.BusinessEntityImpl"/>
</subclass>
</hibernate-mapping>
If I would setup cache properties for base class and will be work with
sub-class.Does Hibernate put sub-classes instance in a cache or not.
Thanks.
|
|