Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2009-03-19 08:23:55 -0400
committerMartin Taal2009-03-19 08:23:55 -0400
commit61dacf3eabf9f880b2cc5aa633b7608745af2952 (patch)
treeb80b901e8165f0326134002494f0a1ec5749eccb /plugins/org.eclipse.emf.cdo.server.hibernate/mappings
parentcc078da2908a30e485f6c47089a6773acf315529 (diff)
downloadcdo-61dacf3eabf9f880b2cc5aa633b7608745af2952.tar.gz
cdo-61dacf3eabf9f880b2cc5aa633b7608745af2952.tar.xz
cdo-61dacf3eabf9f880b2cc5aa633b7608745af2952.zip
Solved compile issues hibernate
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.hibernate/mappings')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml92
1 files changed, 35 insertions, 57 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml b/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml
index 752bc9002b..257dac4f16 100644
--- a/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml
+++ b/plugins/org.eclipse.emf.cdo.server.hibernate/mappings/meta.hbm.xml
@@ -2,73 +2,51 @@
<!DOCTYPE hibernate-mapping SYSTEM "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="org.eclipse.emf.cdo.internal.common.model">
- <class name="org.eclipse.emf.cdo.common.model.CDOClassProxy" table="cdo_classes_proxy" lazy="false">
- <id column="id" type="int">
+ <class name="CDOPackageUnitImpl" table="cdo_package_unit" lazy="false" entity-name="CDOPackageUnit">
+
+ <id column="id" type="long">
<generator class="increment" />
</id>
- <many-to-one name="classRef" class="org.eclipse.emf.cdo.internal.common.model.CDOClassRefImpl" column="cdoClassProxy"
- not-null="false" cascade="all" access="field" />
+
+ <property name="state" access="field" />
+ <property name="type" access="field" />
+ <property name="originalType" access="field" />
+ <property name="timeStamp" access="field" />
+
+ <array name="packageInfos" cascade="all, delete-orphan" access="field" inverse="true">
+ <key />
+ <list-index />
+ <one-to-many class="CDOPackageInfoImpl"/>
+ </array>
+
</class>
- <class name="org.eclipse.emf.cdo.internal.common.model.CDOClassRefImpl" table="cdo_classes_ref" lazy="false">
- <id column="id" type="int">
- <generator class="increment" />
- </id>
- <property name="packageURI" column="packageURI" type="string" not-null="true" access="field" />
- <property name="classifierID" column="classifier" type="int" not-null="true" access="field" />
- </class>
+ <class name="CDOPackageInfoImpl" table="cdo_package_info" lazy="false">
- <class name="CDOModelElementImpl" table="cdo_modelelements" lazy="false">
- <id name="serverInfo" column="id" type="int">
+ <id column="id" type="long">
<generator class="increment" />
</id>
- <property name="name" type="string" not-null="true" length="255" />
- </class>
-
- <joined-subclass name="CDOPackageImpl" table="cdo_packages" lazy="false" extends="CDOModelElementImpl">
- <key />
- <property name="packageURI" column="uri" type="string" not-null="true" length="255" />
- <property name="ecore" type="text" not-null="false" length="32767"/>
- <property name="dynamic" type="boolean" not-null="true" />
- <property name="parentURI" column="parentUri" type="string" length="255" />
+
+ <many-to-one name="packageUnit" entity-name="CDOPackageUnit" not-null="false" access="field"/>
+
+ <property name="packageURI" not-null="true" length="255" access="field" />
+ <property name="parentURI" length="255" access="field" />
<property name="metaIDRange" type="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDMetaRangeUserType"
- not-null="true">
+ not-null="true" access="field">
<column name="metaIDStart" />
<column name="metaIDSize" />
</property>
- <list name="classes" lazy="false" cascade="all, delete-orphan" access="field">
- <key />
- <list-index />
- <one-to-many class="CDOClassImpl" />
- </list>
- </joined-subclass>
+ </class>
- <joined-subclass name="CDOClassImpl" table="cdo_classes" lazy="false" extends="CDOModelElementImpl">
- <key />
- <property name="classifierID" column="classifier" type="int" not-null="true" />
- <property name="abstract" column="abstract" type="boolean" not-null="true" />
- <list name="superTypes" lazy="false" cascade="merge,persist,save-update,lock,refresh" access="field">
- <key>
- <column name="supertype" />
- </key>
- <list-index />
- <many-to-many class="org.eclipse.emf.cdo.common.model.CDOClassProxy" />
- </list>
- <list name="features" lazy="false" cascade="all, delete-orphan" access="field">
- <key />
- <list-index />
- <one-to-many class="CDOFeatureImpl" />
- </list>
- </joined-subclass>
+ <class name="org.eclipse.emf.cdo.server.internal.hibernate.HibernateEPackage" table="cdo_hibernate_epackage" lazy="false">
+ <id name="nsUri" access="property"/>
+ <property name="EPackageBlob" access="property"/>
+ </class>
- <joined-subclass name="CDOFeatureImpl" table="cdo_features" extends="CDOModelElementImpl" lazy="false">
- <key />
- <property name="featureID" column="feature" type="int" not-null="true" />
- <property name="type" type="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOTypeUserType" not-null="false" />
- <many-to-one name="referenceTypeProxy" class="org.eclipse.emf.cdo.common.model.CDOClassProxy" column="reftype"
- not-null="false" cascade="persist, merge, save-update, evict, replicate, lock, refresh"
- access="field" />
- <property name="many" type="boolean" not-null="true" />
- <property name="containment" type="boolean" not-null="false" />
- </joined-subclass>
-</hibernate-mapping> \ No newline at end of file
+ <class name="org.eclipse.emf.cdo.server.internal.hibernate.SystemInformation" table="cdo_system_information" lazy="false">
+ <id column="id" type="int">
+ <generator class="increment" />
+ </id>
+ <property name="creationTime"/>
+ </class>
+ </hibernate-mapping> \ No newline at end of file

Back to the top