| <?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"> |
| |
| <!-- Generated by Teneo on Wed Jul 18 20:38:35 CEST 2007 --> |
| <hibernate-mapping auto-import="false"> |
| <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" discriminator-value="IdentityID" table="`identityid`"> |
| <meta attribute="eclassName">IdentityID</meta> |
| <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> |
| <id name="myid" type="long"> |
| <column not-null="true" unique="true" name="`myid`"/> |
| <generator class="identity"/> |
| </id> |
| <discriminator column="`dtype`" type="string"/> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion">true</meta> |
| </version> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" discriminator-value="SimpleID" table="`simpleid`"> |
| <meta attribute="eclassName">SimpleID</meta> |
| <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> |
| <id name="autoID" type="long"> |
| <column not-null="true" unique="false" name="`autod`"/> |
| <generator class="native"/> |
| </id> |
| <discriminator column="`dtype`" type="string"/> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion">true</meta> |
| </version> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" discriminator-value="TableID" table="`tableid`"> |
| <meta attribute="eclassName">TableID</meta> |
| <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> |
| <id name="myid" type="long"> |
| <column not-null="true" unique="true" name="`myid`"/> |
| <generator class="hilo"> |
| <param name="table">uid_table</param> |
| <param name="column">next_hi_value_column</param> |
| </generator> |
| </id> |
| <discriminator column="`dtype`" type="string"/> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion">true</meta> |
| </version> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl" entity-name="TableGeneratorID" abstract="false" lazy="false" discriminator-value="TableGeneratorID" table="`tablegeneratorid`"> |
| <meta attribute="eclassName">TableGeneratorID</meta> |
| <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> |
| <id name="myid" type="long"> |
| <column not-null="true" unique="true" name="`myid`"/> |
| <generator class="hilo"> |
| <param name="table">TGEN</param> |
| <param name="column">VAL_COL</param> |
| <param name="max_lo">2</param> |
| </generator> |
| </id> |
| <discriminator column="`dtype`" type="string"/> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion">true</meta> |
| </version> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl" entity-name="AutoID" abstract="false" lazy="false" discriminator-value="AutoID" table="`autoid`"> |
| <meta attribute="eclassName">AutoID</meta> |
| <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta> |
| <id name="autoID" type="long"> |
| <column not-null="true" unique="true" name="`autoid`"/> |
| <generator class="native"/> |
| </id> |
| <discriminator column="`dtype`" type="string"/> |
| <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion">true</meta> |
| </version> |
| <property name="name" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`name`"/> |
| </property> |
| </class> |
| </hibernate-mapping> |