|
Hibernate example source code file (joinedAllAuditedMappings.hbm.xml)
The Hibernate joinedAllAuditedMappings.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.allAudited.SimpleInterface" table="INTERFACE" abstract="true" > <id name="id" column="ID" type="long"> <generator class="increment" /> </id> <property name="data" column="DATA" /> </class> <joined-subclass name="org.hibernate.envers.test.integration.interfaces.hbm.allAudited.AuditedImplementor" extends="org.hibernate.envers.test.integration.interfaces.hbm.allAudited.SimpleInterface" table="AUDITED_IMPLEMENTOR" > <key column="ID"/> <property name="auditedImplementorData" column="IMPLEMENTOR_DATA" /> </joined-subclass> <joined-subclass name="org.hibernate.envers.test.integration.interfaces.hbm.allAudited.NonAuditedImplementor" extends="org.hibernate.envers.test.integration.interfaces.hbm.allAudited.SimpleInterface" table="NON_AUDITED_IMPLEMENTOR" > <key column="ID"/> <property name="nonAuditedImplementorData" column="NON_IMPLEMENTOR_DATA" /> </joined-subclass> </hibernate-mapping> Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate joinedAllAuditedMappings.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.