| <?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"> |
| <typedef name="bz288963.BooktypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType"> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</param> |
| <param name="edatatype">BooktypeObject</param> |
| </typedef> |
| <class name="org.eclipse.emf.teneo.samples.issues.bz288963.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/issues/bz288963</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> |
| <many-to-one name="citation" entity-name="Book" lazy="false" cascade="all" foreign-key="book_citation" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`book_citation_e_id`"/> |
| </many-to-one> |
| <list name="paralist" lazy="true" cascade="all,delete-orphan"> |
| <key update="true" foreign-key="book_paralist"> |
| <column name="`book_paralist_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`book_paralist_idx`"/> |
| <one-to-many entity-name="Paragraph"/> |
| </list> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`id`"/> |
| </property> |
| <property name="selfdef" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`selfdef`"/> |
| </property> |
| <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false"> |
| <column not-null="false" unique="false" name="`type`"/> |
| <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType"> |
| <param name="enumClass">org.eclipse.emf.teneo.samples.issues.bz288963.Booktype</param> |
| <param name="eclassifier">Booktype</param> |
| <param name="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</param> |
| </type> |
| </property> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.ParagraphImpl" entity-name="Paragraph" abstract="false" lazy="false" table="`paragraph`"> |
| <meta attribute="eclassName" inherit="false">Paragraph</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</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="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`number`"/> |
| </property> |
| <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`title`"/> |
| </property> |
| </class> |
| <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.FootnoteImpl" entity-name="Footnote" abstract="false" lazy="false" extends="Paragraph" table="`footnote`"> |
| <meta attribute="eclassName" inherit="false">Footnote</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</meta> |
| <key> |
| <column name="`paragraph_e_id`"/> |
| </key> |
| </joined-subclass> |
| <joined-subclass name="org.eclipse.emf.teneo.samples.issues.bz288963.impl.IndentedparaImpl" entity-name="Indentedpara" abstract="false" lazy="false" extends="Paragraph" table="`indentedpara`"> |
| <meta attribute="eclassName" inherit="false">Indentedpara</meta> |
| <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz288963</meta> |
| <key> |
| <column name="`paragraph_e_id`"/> |
| </key> |
| <property name="indentSpace" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`indentspace`"/> |
| </property> |
| </joined-subclass> |
| </hibernate-mapping> |