Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 48571d3931ace1c3ca75449b3311ab1d9d5fa987 (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">
	<typedef name="forum.TopicCategoryObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
		<param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</param>
		<param name="edatatype">TopicCategoryObject</param>
	</typedef>
	<class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.ForumImpl" entity-name="Forum" abstract="false" lazy="false" discriminator-value="Forum" table="`FORUM`">
		<meta attribute="eclassName" inherit="false">Forum</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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>
		<discriminator type="string">
			<column name="`DTYPE`" index="FORUMDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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="members" lazy="true" cascade="all,delete-orphan">
			<key foreign-key="FORUM_MEMBERS_KEY" update="true">
				<column name="`FORUM_MEMBERS_E_ID`" unique="false"/>
			</key>
			<list-index column="`FORUM_MEMBERS_IDX`"/>
			<one-to-many entity-name="Member"/>
		</list>
		<list name="topics" lazy="true" cascade="all,delete-orphan">
			<key foreign-key="FORUM_TOPICS_KEY" update="true">
				<column name="`FORUM_TOPICS_E_ID`" unique="false"/>
			</key>
			<list-index column="`FORUM_TOPICS_IDX`"/>
			<one-to-many entity-name="Topic"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.MemberImpl" entity-name="Member" abstract="false" lazy="false" discriminator-value="Member" table="`MEMBER`">
		<meta attribute="eclassName" inherit="false">Member</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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>
		<discriminator type="string">
			<column name="`DTYPE`" index="MEMBERDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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="nickname" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`NICKNAME`"/>
		</property>
		<list name="posts" lazy="true" cascade="persist,merge,refresh,save-update,lock">
			<key update="true">
				<column name="`POST_AUTHOR_E_ID`" unique="false"/>
			</key>
			<list-index column="`MEMBER_POSTS_IDX`"/>
			<one-to-many entity-name="Post"/>
		</list>
		<list name="created" lazy="true" cascade="persist,merge,refresh,save-update,lock">
			<key update="true">
				<column name="`TOPIC_CREATOR_E_ID`" unique="false"/>
			</key>
			<list-index column="`MEMBER_CREATED_IDX`"/>
			<one-to-many entity-name="Topic"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.PostImpl" entity-name="Post" abstract="false" lazy="false" discriminator-value="Post" table="`POST`">
		<meta attribute="eclassName" inherit="false">Post</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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>
		<discriminator type="string">
			<column name="`DTYPE`" index="POSTDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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="comment" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`COMMENT`"/>
		</property>
		<many-to-one name="author" entity-name="Member" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="POST_AUTHOR" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`POST_AUTHOR_E_ID`"/>
		</many-to-one>
		<many-to-one name="topic" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="POST_TOPIC" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`POST_TOPIC_E_ID`"/>
		</many-to-one>
	</class>
	<class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.TopicImpl" entity-name="Topic" abstract="false" lazy="false" discriminator-value="Topic" table="`TOPIC`">
		<meta attribute="eclassName" inherit="false">Topic</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</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>
		<discriminator type="string">
			<column name="`DTYPE`" index="TOPICDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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>
		<property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false">
			<column not-null="false" unique="false" name="`CATEGORY`"/>
			<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
				<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param>
				<param name="eclassifier">TopicCategory</param>
				<param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</param>
			</type>
		</property>
		<many-to-one name="creator" entity-name="Member" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="TOPIC_CREATOR" insert="false" update="false" not-null="false">
			<column not-null="false" unique="false" name="`TOPIC_CREATOR_E_ID`"/>
		</many-to-one>
		<list name="posts" lazy="true" cascade="persist,merge,refresh,save-update,lock">
			<key update="true">
				<column name="`POST_TOPIC_E_ID`" unique="false"/>
			</key>
			<list-index column="`TOPIC_POSTS_IDX`"/>
			<one-to-many entity-name="Post"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditCommitInfoImpl" entity-name="TeneoAuditCommitInfo" abstract="false" lazy="false" discriminator-value="TeneoAuditCommitInfo" 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>
		<discriminator type="string">
			<column name="`DTYPE`" index="TENEOAUDITCOMMITINFODTYPE" length="255" not-null="true"/>
		</discriminator>
		<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="ForumAuditing" abstract="false" lazy="false" discriminator-value="ForumAuditing" table="`FORUMAUDITING`">
		<meta attribute="eclassName" inherit="false">ForumAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forumAuditing</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>
		<discriminator type="string">
			<column name="`DTYPE`" index="FORUMAUDITINGDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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="FORUMAUDITING_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="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>
		<list name="members" table="`FORUMAUDITING_MEMBERSAUDITING`" lazy="true" cascade="all">
			<key foreign-key="FORUMAUDITING_MEMBERS_KEY" update="true">
				<column name="`FORUMAUDITING_MEMBERS_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`FORUMAUDITING_MEMBERS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
		<list name="topics" table="`FORUMAUDITING_TOPICSAUDITING`" lazy="true" cascade="all">
			<key foreign-key="FORUMAUDITING_TOPICS_KEY" update="true">
				<column name="`FORUMAUDITING_TOPICS_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`FORUMAUDITING_TOPICS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="MemberAuditing" abstract="false" lazy="false" discriminator-value="MemberAuditing" table="`MEMBERAUDITING`">
		<meta attribute="eclassName" inherit="false">MemberAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forumAuditing</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>
		<discriminator type="string">
			<column name="`DTYPE`" index="MEMBERAUDITINGDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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="MEMBERAUDITING_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="nickname" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`NICKNAME`"/>
		</property>
		<list name="posts" table="`MEMBERAUDITING_POSTSAUDITING`" lazy="true" cascade="all">
			<key foreign-key="MEMBERAUDITING_POSTS_KEY" update="true">
				<column name="`MEMBERAUDITING_POSTS_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`MEMBERAUDITING_POSTS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
		<list name="created" table="`MEMBERAUDITING_CREATEDAUDITING`" lazy="true" cascade="all">
			<key foreign-key="MEMBERAUDITING_CREATED_KEY" update="true">
				<column name="`MEMBERAUDITING_CREATED_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`MEMBERAUDITING_CREATED_IDX`"/>
			<element type="java.lang.String"/>
		</list>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="PostAuditing" abstract="false" lazy="false" discriminator-value="PostAuditing" table="`POSTAUDITING`">
		<meta attribute="eclassName" inherit="false">PostAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forumAuditing</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>
		<discriminator type="string">
			<column name="`DTYPE`" index="POSTAUDITINGDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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="POSTAUDITING_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="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`COMMENT`"/>
		</property>
		<property name="author" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`AUTHOR`"/>
		</property>
		<property name="topic" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`TOPIC`"/>
		</property>
	</class>
	<class name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TopicAuditing" abstract="false" lazy="false" discriminator-value="TopicAuditing" table="`TOPICAUDITING`">
		<meta attribute="eclassName" inherit="false">TopicAuditing</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/forumAuditing</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>
		<discriminator type="string">
			<column name="`DTYPE`" index="TOPICAUDITINGDTYPE" length="255" not-null="true"/>
		</discriminator>
		<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="TOPICAUDITING_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="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>
		<property name="category" lazy="false" not-null="false" insert="true" update="true" unique="false">
			<column not-null="false" unique="false" name="`CATEGORY`"/>
			<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
				<param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.forum.TopicCategory</param>
				<param name="eclassifier">TopicCategory</param>
				<param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/sample/forum</param>
			</type>
		</property>
		<property name="creator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`CREATOR`"/>
		</property>
		<list name="posts" table="`TOPICAUDITING_POSTSAUDITING`" lazy="true" cascade="all">
			<key foreign-key="TOPICAUDITING_POSTS_KEY" update="true">
				<column name="`TOPICAUDITING_POSTS_TENEO_AUDIT_ID`" unique="false"/>
			</key>
			<list-index column="`TOPICAUDITING_POSTS_IDX`"/>
			<element type="java.lang.String"/>
		</list>
	</class>
</hibernate-mapping>

Back to the top