blob: c93112d56e35441594b0fbb790dc34a1331e2515 (
plain) (
tree)
|
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.BookImpl" entity-name="Book" abstract="false" lazy="false" table="`BOOK`">
<meta attribute="eclassName" inherit="false">Book</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="title" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`TITLE`"/>
</property>
<list name="authors" inverse="true" lazy="extra" cascade="persist,merge,refresh,save-update,lock">
<key foreign-key="BOOK_AUTHORS_KEY" update="true">
<column name="`BOOK_AUTHORS_E_ID`" unique="false"/>
</key>
<list-index column="`BOOK_AUTHORS_IDX`"/>
<one-to-many entity-name="Writer"/>
</list>
<list name="subTitles" table="`BOOK_SUBTITLES`" lazy="extra" cascade="all">
<key foreign-key="BOOK_SUBTITLES_KEY" update="true">
<column name="`BOOK_SUBTITLES_E_ID`" unique="false"/>
</key>
<list-index column="`BOOK_SUBTITLES_IDX`"/>
<element type="java.lang.String"/>
</list>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl.WriterImpl" entity-name="Writer" abstract="false" lazy="false" table="`WRITER`">
<meta attribute="eclassName" inherit="false">Writer</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`NAME`"/>
</property>
</class>
</hibernate-mapping>
|