| <?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 entity-name="Vehicle" abstract="false" lazy="false" table="`vehicle`"> |
| <meta attribute="eclassName" inherit="false">Vehicle</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="brand" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`brand`"/> |
| </property> |
| <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`model`"/> |
| </property> |
| <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`make`"/> |
| </property> |
| <property name="color" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`color`"/> |
| </property> |
| <property name="plate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`plate`"/> |
| </property> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`id`"/> |
| </property> |
| <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`year`"/> |
| </property> |
| <property name="length" lazy="false" insert="true" update="true" not-null="false" unique="false" type="long"> |
| <column not-null="false" unique="false" name="`length`"/> |
| </property> |
| <list name="availableColors" table="`vehicle_availablecolors`" lazy="true" cascade="all,delete-orphan"> |
| <key update="true"> |
| <column name="`vehicle_availablecolors_e_id`" not-null="true" unique="false"/> |
| </key> |
| <list-index column="`vehicle_availablecolors_idx`"/> |
| <element type="java.lang.String"/> |
| </list> |
| <many-to-one name="owner" entity-name="Person" lazy="false" cascade="all" foreign-key="vehicle_owner" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`person_owner_e_id`"/> |
| </many-to-one> |
| <list name="manufacturedAt" lazy="true" cascade="merge,persist,save-update,lock,refresh"> |
| <key update="true" foreign-key="vehicle_manufacturedat"> |
| <column name="`vehicle_manufacturedat_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`vehicle_manufacturedat_idx`"/> |
| <one-to-many entity-name="ManufacturingPlant"/> |
| </list> |
| <many-to-one name="tireSpec" entity-name="Tire" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vehicle_tirespec" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`tire_tirespec_e_id`"/> |
| </many-to-one> |
| </class> |
| <class entity-name="Temporal" abstract="false" lazy="false" table="`temporal`"> |
| <meta attribute="eclassName" inherit="false">Temporal</meta> |
| <meta attribute="epackage" inherit="false">http:///temporal.ecore</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="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`date`"/> |
| </property> |
| <array name="touchedAttributes" table="`temporal_touchedattributes`" cascade="all,delete-orphan"> |
| <key update="true"> |
| <column name="`temporal_touchedattributes_e_id`" not-null="true" unique="false"/> |
| </key> |
| <list-index column="`temporal_touchedattributes_idx`"/> |
| <element type="byte"/> |
| </array> |
| <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`continuity`"/> |
| </property> |
| <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="temporal_versionholder" insert="false" update="false" not-null="false"> |
| <column not-null="false" unique="false" name="`temporal_versionholder_e_id`"/> |
| </many-to-one> |
| <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="temporal_versionholdercontainment" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`versionholder_versionholdercontainment_e_id`"/> |
| </many-to-one> |
| </class> |
| <joined-subclass entity-name="Person" abstract="false" lazy="false" extends="Temporal" table="`person`"> |
| <meta attribute="eclassName" inherit="false">Person</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`temporal_e_id`"/> |
| </key> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`id`"/> |
| </property> |
| <property name="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="employed" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`employed`"/> |
| </property> |
| <list name="addresses" lazy="true" cascade="all,delete-orphan"> |
| <key update="true" foreign-key="person_addresses"> |
| <column name="`person_addresses_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`person_addresses_idx`"/> |
| <one-to-many entity-name="Address"/> |
| </list> |
| <list name="ownedVehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> |
| <key update="true" foreign-key="person_ownedvehicles"> |
| <column name="`person_ownedvehicles_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`person_ownedvehicles_idx`"/> |
| <one-to-many entity-name="VehicleInfo"/> |
| </list> |
| <many-to-one name="birthAddress" entity-name="Address" lazy="false" cascade="all" foreign-key="person_birthaddress" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`address_birthaddress_e_id`"/> |
| </many-to-one> |
| </joined-subclass> |
| <joined-subclass entity-name="Address" abstract="false" lazy="false" extends="Temporal" table="`address`"> |
| <meta attribute="eclassName" inherit="false">Address</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`temporal_e_id`"/> |
| </key> |
| <property name="streetName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`streetname`"/> |
| </property> |
| <property name="streetNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`streetnumber`"/> |
| </property> |
| <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`city`"/> |
| </property> |
| <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`country`"/> |
| </property> |
| </joined-subclass> |
| <class entity-name="VehicleInfo" abstract="false" lazy="false" table="`vehicleinfo`"> |
| <meta attribute="eclassName" inherit="false">VehicleInfo</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="acquisitionDate" lazy="false" insert="true" update="true" not-null="true" unique="false" type="timestamp"> |
| <column not-null="true" unique="false" name="`acquisitiondate`"/> |
| </property> |
| <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vehicleinfo_vehicle" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`vehicle_vehicle_e_id`"/> |
| </many-to-one> |
| </class> |
| <class entity-name="ManufacturingPlant" abstract="false" lazy="false" table="`manufacturingplant`"> |
| <meta attribute="eclassName" inherit="false">ManufacturingPlant</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`id`"/> |
| </property> |
| <property name="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> |
| <many-to-one name="address" entity-name="Address" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="manufacturingplant_address" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`address_address_e_id`"/> |
| </many-to-one> |
| <many-to-one name="transportFleet" entity-name="Fleet" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="manufacturingplant_transportfleet" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`fleet_transportfleet_e_id`"/> |
| </many-to-one> |
| </class> |
| <joined-subclass entity-name="Fleet" abstract="false" lazy="false" extends="Temporal" table="`fleet`"> |
| <meta attribute="eclassName" inherit="false">Fleet</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`temporal_e_id`"/> |
| </key> |
| <property name="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`id`"/> |
| </property> |
| <list name="vehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> |
| <key update="true" foreign-key="fleet_vehicles"> |
| <column name="`fleet_vehicles_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`fleet_vehicles_idx`"/> |
| <one-to-many entity-name="Vehicle"/> |
| </list> |
| <list name="vehicleInformation" lazy="true" cascade="all,delete-orphan"> |
| <key update="true" foreign-key="fleet_vehicleinformation"> |
| <column name="`fleet_vehicleinformation_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`fleet_vehicleinformation_idx`"/> |
| <one-to-many entity-name="VehicleInfo"/> |
| </list> |
| <many-to-one name="serviceGarage" entity-name="Garage" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="fleet_servicegarage" insert="false" update="false" not-null="false"> |
| <column not-null="false" unique="false" name="`fleet_servicegarage_e_id`"/> |
| </many-to-one> |
| </joined-subclass> |
| <joined-subclass entity-name="Garage" abstract="false" lazy="false" extends="Temporal" table="`garage`"> |
| <meta attribute="eclassName" inherit="false">Garage</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`temporal_e_id`"/> |
| </key> |
| <list name="vehicles" lazy="true" cascade="merge,persist,save-update,lock,refresh"> |
| <key update="true" foreign-key="garage_vehicles"> |
| <column name="`garage_vehicles_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`garage_vehicles_idx`"/> |
| <one-to-many entity-name="Vehicle"/> |
| </list> |
| <many-to-one name="customerShuttles" entity-name="Fleet" lazy="false" cascade="all" foreign-key="garage_customershuttles" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`fleet_customershuttles_e_id`"/> |
| </many-to-one> |
| <many-to-one name="address" entity-name="Address" lazy="false" cascade="all" foreign-key="garage_address" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`address_address_e_id`"/> |
| </many-to-one> |
| <list name="fleetsUsingGarage" lazy="true" cascade="merge,persist,save-update,lock,refresh"> |
| <key update="true"> |
| <column name="`fleet_servicegarage_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`garage_fleetsusinggarage_idx`"/> |
| <one-to-many entity-name="Fleet"/> |
| </list> |
| <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> |
| </joined-subclass> |
| <class entity-name="Tire" abstract="false" lazy="false" table="`tire`"> |
| <meta attribute="eclassName" inherit="false">Tire</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="radius" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`radius`"/> |
| </property> |
| <property name="width" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`width`"/> |
| </property> |
| <property name="profile" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`profile`"/> |
| </property> |
| <property name="make" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`make`"/> |
| </property> |
| <property name="model" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`model`"/> |
| </property> |
| </class> |
| <joined-subclass entity-name="Car" abstract="false" lazy="false" extends="Vehicle" table="`car`"> |
| <meta attribute="eclassName" inherit="false">Car</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`passengervehicle_e_id`"/> |
| </key> |
| <property name="passengerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`passengername`"/> |
| </property> |
| <property name="date" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`date`"/> |
| </property> |
| <array name="touchedAttributes" table="`car_touchedattributes`" cascade="all,delete-orphan"> |
| <key update="true"> |
| <column name="`car_touchedattributes_e_id`" not-null="true" unique="false"/> |
| </key> |
| <list-index column="`car_touchedattributes_idx`"/> |
| <element type="byte"/> |
| </array> |
| <property name="continuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`continuity`"/> |
| </property> |
| <many-to-one name="versionHolder" entity-name="VersionHolder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="temporal_versionholder" insert="false" update="false" not-null="false"> |
| <column not-null="false" unique="false" name="`car_versionholder_e_id`"/> |
| </many-to-one> |
| <many-to-one name="versionHolderContainment" entity-name="VersionHolder" lazy="false" cascade="all" foreign-key="temporal_versionholdercontainment" insert="true" update="true" not-null="false"> |
| <column not-null="false" unique="false" name="`versionholder_versionholdercontainment_e_id`"/> |
| </many-to-one> |
| <property name="numPassengers" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`numpassengers`"/> |
| </property> |
| <property name="numTires" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`numtires`"/> |
| </property> |
| <list name="tires" lazy="true" cascade="all,delete-orphan"> |
| <key update="true" foreign-key="car_tires"> |
| <column name="`car_tires_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`car_tires_idx`"/> |
| <one-to-many entity-name="Tire"/> |
| </list> |
| </joined-subclass> |
| <joined-subclass entity-name="Hybrid" abstract="false" lazy="false" extends="Car" table="`hybrid`"> |
| <meta attribute="eclassName" inherit="false">Hybrid</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`car_e_id`"/> |
| </key> |
| <property name="hasRechargePlug" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`hasrechargeplug`"/> |
| </property> |
| <property name="batteryLife" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`batterylife`"/> |
| </property> |
| </joined-subclass> |
| <class name="fleet.PassengerVehicle" entity-name="PassengerVehicle" abstract="true" lazy="false" table="`passengervehicle`"> |
| <meta attribute="eclassName" inherit="false">PassengerVehicle</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="passengerName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`passengername`"/> |
| </property> |
| </class> |
| <joined-subclass entity-name="EngineFactory" abstract="false" lazy="false" extends="ManufacturingPlant" table="`enginefactory`"> |
| <meta attribute="eclassName" inherit="false">EngineFactory</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`manufacturingplant_e_id`"/> |
| </key> |
| <property name="makesDieselEngines" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean"> |
| <column not-null="false" unique="false" name="`makesdieselengines`"/> |
| </property> |
| <list name="brands" table="`enginefactory_brands`" lazy="true" cascade="all,delete-orphan"> |
| <key update="true"> |
| <column name="`enginefactory_brands_e_id`" not-null="true" unique="false"/> |
| </key> |
| <list-index column="`enginefactory_brands_idx`"/> |
| <element type="java.lang.String"/> |
| </list> |
| </joined-subclass> |
| <joined-subclass entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> |
| <meta attribute="eclassName" inherit="false">USAddress</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</meta> |
| <key> |
| <column name="`address_e_id`"/> |
| </key> |
| <property name="zipCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`zipcode`"/> |
| </property> |
| <property name="state" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`state`"/> |
| </property> |
| </joined-subclass> |
| <class entity-name="Vin" abstract="false" lazy="false" table="`vin`"> |
| <meta attribute="eclassName" inherit="false">Vin</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="id" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`id`"/> |
| </property> |
| <property name="installationDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp"> |
| <column not-null="false" unique="false" name="`installationdate`"/> |
| </property> |
| <many-to-one name="vehicle" entity-name="Vehicle" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="vin_vehicle" insert="true" update="true" not-null="true"> |
| <column not-null="true" unique="false" name="`vehicle_vehicle_e_id`"/> |
| </many-to-one> |
| </class> |
| <class entity-name="TransportationDevice" abstract="false" lazy="false" table="`transportationdevice`"> |
| <meta attribute="eclassName" inherit="false">TransportationDevice</meta> |
| <meta attribute="epackage" inherit="false">http:///fleet.ecore</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="manufacturedBy" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`manufacturedby`"/> |
| </property> |
| <property name="year" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`year`"/> |
| </property> |
| </class> |
| <class entity-name="VersionHolder" abstract="false" lazy="false" table="`versionholder`"> |
| <meta attribute="eclassName" inherit="false">VersionHolder</meta> |
| <meta attribute="epackage" inherit="false">http:///temporal.ecore</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> |
| <list name="versions" lazy="true" cascade="merge,persist,save-update,lock,refresh"> |
| <key update="true"> |
| <column name="`temporal_versionholder_e_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`versionholder_versions_idx`"/> |
| <one-to-many entity-name="Temporal"/> |
| </list> |
| <property name="indexOfContinuity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`indexofcontinuity`"/> |
| </property> |
| </class> |
| </hibernate-mapping> |