|
Hibernate example source code file (unionPropertiesAudited2Mappings.hbm.xml)
The Hibernate unionPropertiesAudited2Mappings.hbm.xml source code<?xml version="1.0" encoding="WINDOWS-1251"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited2.SimpleInterface" abstract="true" > <id name="id" column="ID" type="long"> <generator class="increment" /> </id> <property name="data" column="DATA" /> </class> <union-subclass name="org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited2.AuditedImplementor" extends="org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited2.SimpleInterface" table="AUDITED_IMPLEMENTOR" > <property name="auditedImplementorData" column="IMPLEMENTOR_DATA" /> <property name="numerito" column="NUMERITO" /> </union-subclass> <union-subclass name="org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited2.NonAuditedImplementor" extends="org.hibernate.envers.test.integration.interfaces.hbm.propertiesAudited2.SimpleInterface" table="NON_AUDITED_IMPLEMENTOR" > <property name="nonAuditedImplementorData" column="NON_IMPLEMENTOR_DATA" /> <property name="numerito" column="NUMERITO" /> </union-subclass> </hibernate-mapping> Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate unionPropertiesAudited2Mappings.hbm.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.