Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 607e3b0489a05c8d25de70be9a038053f5491387 (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.issues.nocollectionowner.impl.ProductImpl" entity-name="Product" abstract="false" lazy="false" table="`PRODUCT`">
		<meta attribute="eclassName" inherit="false">Product</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`NAME`"/>
		</property>
		<property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer">
			<column not-null="false" unique="false" name="`NUMBER`"/>
		</property>
		<property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`DESCRIPTION`"/>
		</property>
		<many-to-one name="productCategory" entity-name="ProductCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PRODUCT_PRODUCTCATEGORY" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`PRODUCT_PRODUCTCATEGORY_E_ID`"/>
		</many-to-one>
		<many-to-one name="priceCategory" entity-name="PriceCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PRODUCT_PRICECATEGORY" insert="true" update="true" not-null="false">
			<column not-null="false" unique="false" name="`PRICECATEGORY_PRICECATEGORY_NAME`"/>
		</many-to-one>
	</class>
	<class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" table="`CUSTOMER`">
		<meta attribute="eclassName" inherit="false">Customer</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="surname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`SURNAME`"/>
		</property>
		<property name="familyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`FAMILYNAME`"/>
		</property>
		<property name="telephoneNr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TELEPHONENR`"/>
		</property>
		<property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`ADDRESS`"/>
		</property>
		<property name="hotel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`HOTEL`"/>
		</property>
		<list name="comments" table="`CUSTOMER_COMMENTS`" lazy="true" cascade="all">
			<key foreign-key="CUSTOMER_COMMENTS_KEY" update="true">
				<column name="`CUSTOMER_COMMENTS_E_ID`" unique="false"/>
			</key>
			<list-index column="`CUSTOMER_COMMENTS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.ProductCategoryImpl" entity-name="ProductCategory" abstract="false" lazy="false" table="`PRODUCTCATEGORY`">
		<meta attribute="eclassName" inherit="false">ProductCategory</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`NAME`"/>
		</property>
		<list name="products" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`PRODUCT_PRODUCTCATEGORY_E_ID`" unique="false"/>
			</key>
			<list-index column="`PRODUCTCATEGORY_PRODUCTS_IDX`"/>
			<one-to-many entity-name="Product"/>
		</list>
		<list name="subCategorys" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`PRODUCTCATEGORY_PARENT_E_ID`" unique="false"/>
			</key>
			<list-index column="`PRODUCTCATEGORY_SUBCATEGORYS_IDX`"/>
			<one-to-many entity-name="ProductCategory"/>
		</list>
		<many-to-one name="parent" entity-name="ProductCategory" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PRODUCTCATEGORY_PARENT" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`PRODUCTCATEGORY_PARENT_E_ID`"/>
		</many-to-one>
	</class>
	<class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.PriceCategoryImpl" entity-name="PriceCategory" abstract="false" lazy="false" table="`PRICECATEGORY`">
		<meta attribute="eclassName" inherit="false">PriceCategory</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</meta>
		<id name="name" type="java.lang.String">
			<column not-null="true" unique="false" name="`NAME`"/>
		</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>
		<list name="prices" table="`PRICECATEGORY_PRICES`" lazy="true" cascade="all">
			<key foreign-key="PRICECATEGORY_PRICES_KEY" update="true">
				<column name="`PRICECATEGORY_PRICES_NAME`" unique="false"/>
			</key>
			<list-index column="`PRICECATEGORY_PRICES_IDX`"/>
			<element type="double"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.OrderImpl" entity-name="Order" abstract="false" lazy="false" table="`ORDER`">
		<meta attribute="eclassName" inherit="false">Order</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="java.lang.String">
			<column not-null="false" unique="false" name="`NUMBER`"/>
		</property>
		<list name="transactions" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`TRANSACTION_ORDER_E_ID`" unique="false"/>
			</key>
			<list-index column="`ORDER_TRANSACTIONS_IDX`"/>
			<one-to-many entity-name="Transaction"/>
		</list>
		<many-to-one name="customer" entity-name="Customer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ORDER_CUSTOMER" insert="true" update="true" not-null="false">
			<column not-null="false" unique="false" name="`CUSTOMER_CUSTOMER_E_ID`"/>
		</many-to-one>
		<list name="comments" table="`ORDER_COMMENTS`" lazy="true" cascade="all">
			<key foreign-key="ORDER_COMMENTS_KEY" update="true">
				<column name="`ORDER_COMMENTS_E_ID`" unique="false"/>
			</key>
			<list-index column="`ORDER_COMMENTS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.samples.issues.nocollectionowner.impl.TransactionImpl" entity-name="Transaction" abstract="false" lazy="false" table="`TRANSACTION`">
		<meta attribute="eclassName" inherit="false">Transaction</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionowner</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="java.lang.String">
			<column not-null="false" unique="false" name="`NUMBER`"/>
		</property>
		<many-to-one name="order" entity-name="Order" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSACTION_ORDER" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`TRANSACTION_ORDER_E_ID`"/>
		</many-to-one>
		<many-to-one name="product" entity-name="Product" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSACTION_PRODUCT" insert="true" update="true" not-null="false">
			<column not-null="false" unique="false" name="`PRODUCT_PRODUCT_E_ID`"/>
		</many-to-one>
		<property name="startDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
			<column not-null="false" unique="false" name="`STARTDATE`"/>
		</property>
		<property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
			<column not-null="false" unique="false" name="`ENDDATE`"/>
		</property>
		<property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
			<column not-null="false" unique="false" name="`PRICE`"/>
		</property>
		<property name="paidDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
			<column not-null="false" unique="false" name="`PAIDDATE`"/>
		</property>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" table="`TENEOAUDITCOMMITINFO`">
		<meta attribute="eclassName" inherit="false">TeneoAuditCommitInfo</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/hibernate/auditing</meta>
		<id name="id" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`ID`"/>
			<generator class="native"/>
		</id>
		<version name="version" type="long">
			<column not-null="true" unique="false" name="`VERSION`"/>
		</version>
		<property name="user" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`USER`"/>
		</property>
		<property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`COMMENT`" length="2000"/>
		</property>
		<property name="commitTime" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`COMMITTIME`"/>
		</property>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ProductAuditing" abstract="false" lazy="false" table="`PRODUCTAUDITING`">
		<meta attribute="eclassName" inherit="false">ProductAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionownerAuditing</meta>
		<id name="teneo_audit_id" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
			<generator class="native"/>
		</id>
		<version name="teneo_version" type="long">
			<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
		</version>
		<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
		</property>
		<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
		</property>
		<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
		</property>
		<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
		</property>
		<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PRODUCTAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
			<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
		</many-to-one>
		<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
			<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
				<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
				<param name="eclassifier">TeneoAuditKind</param>
				<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
			</type>
		</property>
		<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
		</property>
		<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
		</property>
		<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
		</property>
		<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
		</property>
		<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
		</property>
		<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>
		<property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.Integer">
			<column not-null="false" unique="false" name="`NUMBER`"/>
		</property>
		<property name="description" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`DESCRIPTION`"/>
		</property>
		<property name="productCategory" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`PRODUCTCATEGORY`"/>
		</property>
		<property name="priceCategory" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`PRICECATEGORY`"/>
		</property>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="CustomerAuditing" abstract="false" lazy="false" table="`CUSTOMERAUDITING`">
		<meta attribute="eclassName" inherit="false">CustomerAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionownerAuditing</meta>
		<id name="teneo_audit_id" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
			<generator class="native"/>
		</id>
		<version name="teneo_version" type="long">
			<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
		</version>
		<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
		</property>
		<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
		</property>
		<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
		</property>
		<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
		</property>
		<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="CUSTOMERAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
			<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
		</many-to-one>
		<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
			<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
				<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
				<param name="eclassifier">TeneoAuditKind</param>
				<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
			</type>
		</property>
		<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
		</property>
		<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
		</property>
		<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
		</property>
		<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
		</property>
		<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
		</property>
		<property name="surname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`SURNAME`"/>
		</property>
		<property name="familyName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`FAMILYNAME`"/>
		</property>
		<property name="telephoneNr" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TELEPHONENR`"/>
		</property>
		<property name="address" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`ADDRESS`"/>
		</property>
		<property name="hotel" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`HOTEL`"/>
		</property>
		<list name="comments" table="`CUSTOMERAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
			<key foreign-key="CUSTOMERAUDITING_COMMENTS_KEY" update="true">
				<column name="`CUSTOMERAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`CUSTOMERAUDITING_COMMENTS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="ProductCategoryAuditing" abstract="false" lazy="false" table="`PRODUCTCATEGORYAUDITING`">
		<meta attribute="eclassName" inherit="false">ProductCategoryAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionownerAuditing</meta>
		<id name="teneo_audit_id" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
			<generator class="native"/>
		</id>
		<version name="teneo_version" type="long">
			<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
		</version>
		<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
		</property>
		<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
		</property>
		<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
		</property>
		<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
		</property>
		<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PRODUCTCATEGORYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
			<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
		</many-to-one>
		<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
			<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
				<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
				<param name="eclassifier">TeneoAuditKind</param>
				<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
			</type>
		</property>
		<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
		</property>
		<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
		</property>
		<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
		</property>
		<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
		</property>
		<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
		</property>
		<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>
		<list name="products" table="`PRODUCTCATEGORYAUDITING_PRODUCTSAUDITING`" lazy="true" cascade="all">
			<key foreign-key="PRODUCTCATEGORYAUDITING_PRODUCTS_KEY" update="true">
				<column name="`PRODUCTCATEGORYAUDITING_PRODUCTS_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`PRODUCTCATEGORYAUDITING_PRODUCTS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
		<list name="subCategorys" table="`PRODUCTCATEGORYAUDITING_SUBCATEGORYSAUDITING`" lazy="true" cascade="all">
			<key foreign-key="PRODUCTCATEGORYAUDITING_SUBCATEGORYS_KEY" update="true">
				<column name="`PRODUCTCATEGORYAUDITING_SUBCATEGORYS_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`PRODUCTCATEGORYAUDITING_SUBCATEGORYS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
		<property name="parent" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`PARENT`"/>
		</property>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PriceCategoryAuditing" abstract="false" lazy="false" table="`PRICECATEGORYAUDITING`">
		<meta attribute="eclassName" inherit="false">PriceCategoryAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionownerAuditing</meta>
		<id name="teneo_audit_id" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
			<generator class="native"/>
		</id>
		<version name="teneo_version" type="long">
			<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
		</version>
		<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
		</property>
		<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
		</property>
		<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
		</property>
		<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
		</property>
		<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="PRICECATEGORYAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
			<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
		</many-to-one>
		<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
			<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
				<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
				<param name="eclassifier">TeneoAuditKind</param>
				<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
			</type>
		</property>
		<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
		</property>
		<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
		</property>
		<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
		</property>
		<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
		</property>
		<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
		</property>
		<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>
		<list name="prices" table="`PRICECATEGORYAUDITING_PRICESAUDITING`" lazy="true" cascade="all">
			<key foreign-key="PRICECATEGORYAUDITING_PRICES_KEY" update="true">
				<column name="`PRICECATEGORYAUDITING_PRICES_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`PRICECATEGORYAUDITING_PRICES_IDX`"/>
			<element type="double"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="OrderAuditing" abstract="false" lazy="false" table="`ORDERAUDITING`">
		<meta attribute="eclassName" inherit="false">OrderAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionownerAuditing</meta>
		<id name="teneo_audit_id" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
			<generator class="native"/>
		</id>
		<version name="teneo_version" type="long">
			<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
		</version>
		<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
		</property>
		<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
		</property>
		<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
		</property>
		<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
		</property>
		<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="ORDERAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
			<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
		</many-to-one>
		<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
			<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
				<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
				<param name="eclassifier">TeneoAuditKind</param>
				<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
			</type>
		</property>
		<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
		</property>
		<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
		</property>
		<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
		</property>
		<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
		</property>
		<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
		</property>
		<property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`NUMBER`"/>
		</property>
		<list name="transactions" table="`ORDERAUDITING_TRANSACTIONSAUDITING`" lazy="true" cascade="all">
			<key foreign-key="ORDERAUDITING_TRANSACTIONS_KEY" update="true">
				<column name="`ORDERAUDITING_TRANSACTIONS_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`ORDERAUDITING_TRANSACTIONS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
		<property name="customer" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`CUSTOMER`"/>
		</property>
		<list name="comments" table="`ORDERAUDITING_COMMENTSAUDITING`" lazy="true" cascade="all">
			<key foreign-key="ORDERAUDITING_COMMENTS_KEY" update="true">
				<column name="`ORDERAUDITING_COMMENTS_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`ORDERAUDITING_COMMENTS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TransactionAuditing" abstract="false" lazy="false" table="`TRANSACTIONAUDITING`">
		<meta attribute="eclassName" inherit="false">TransactionAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/nocollectionownerAuditing</meta>
		<id name="teneo_audit_id" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_ID`"/>
			<generator class="native"/>
		</id>
		<version name="teneo_version" type="long">
			<column not-null="true" unique="false" name="`TENEO_VERSION`"/>
		</version>
		<property name="teneo_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_ID`" unique-key="c0,c1,c2"/>
		</property>
		<property name="teneo_owner_object_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_OWNER_OBJECT_ID`"/>
		</property>
		<property name="teneo_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_START`" unique-key="c0"/>
		</property>
		<property name="teneo_end" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_END`" unique-key="c1"/>
		</property>
		<many-to-one name="teneo_commit_info" entity-name="TeneoAuditCommitInfo" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TRANSACTIONAUDITING_TENEO_COMMIT_INFO" insert="true" update="true" not-null="true">
			<column not-null="true" unique="false" name="`TENEOAUDITCOMMITINFO_TENEO_COMMIT_INFO_ID`"/>
		</many-to-one>
		<property name="teneo_audit_kind" lazy="false" not-null="true" insert="true" update="true" unique="false">
			<column not-null="true" unique="false" name="`TENEO_AUDIT_KIND`"/>
			<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
				<param name="enumClass">org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.TeneoAuditKind</param>
				<param name="eclassifier">TeneoAuditKind</param>
				<param name="epackage">http://www.eclipse.org/emf/teneo/hibernate/auditing</param>
			</type>
		</property>
		<property name="teneo_container_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_ID`"/>
		</property>
		<property name="teneo_container_feature_id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
			<column not-null="false" unique="false" name="`TENEO_CONTAINER_FEATURE_ID`"/>
		</property>
		<property name="teneo_previous_start" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_PREVIOUS_START`" unique-key="c2"/>
		</property>
		<property name="teneo_object_version" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long">
			<column not-null="false" unique="false" name="`TENEO_OBJECT_VERSION`"/>
		</property>
		<property name="teneo_resourceid" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TENEO_RESOURCEID`"/>
		</property>
		<property name="number" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`NUMBER`"/>
		</property>
		<property name="order" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`ORDER`"/>
		</property>
		<property name="product" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`PRODUCT`"/>
		</property>
		<property name="startDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
			<column not-null="false" unique="false" name="`STARTDATE`"/>
		</property>
		<property name="endDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
			<column not-null="false" unique="false" name="`ENDDATE`"/>
		</property>
		<property name="price" lazy="false" insert="true" update="true" not-null="false" unique="false" type="double">
			<column not-null="false" unique="false" name="`PRICE`"/>
		</property>
		<property name="paidDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
			<column not-null="false" unique="false" name="`PAIDDATE`"/>
		</property>
	</class>
</hibernate-mapping>

Back to the top