diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml index ff8b6d90b..1951af585 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/FleetAction_hsqldb_e_o_hibernate.hbm.xml @@ -588,6 +588,32 @@ <key> <column name="`TEMPORALAUDITING_TENEO_AUDIT_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" table="`PERSONAUDITING_ADDRESSESAUDITING`" lazy="true" cascade="all"> + <key update="true"> + <column name="`PERSONAUDITING_ADDRESSES_TENEO_AUDIT_ID`" unique="false"/> + </key> + <list-index column="`PERSONAUDITING_ADDRESSES_IDX`"/> + <element type="java.lang.String"/> + </list> + <list name="ownedVehicles" table="`PERSONAUDITING_OWNEDVEHICLESAUDITING`" lazy="true" cascade="all"> + <key update="true"> + <column name="`PERSONAUDITING_OWNEDVEHICLES_TENEO_AUDIT_ID`" unique="false"/> + </key> + <list-index column="`PERSONAUDITING_OWNEDVEHICLES_IDX`"/> + <element type="java.lang.String"/> + </list> + <property name="birthAddress" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`BIRTHADDRESS`"/> + </property> </joined-subclass> <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="AddressAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`ADDRESSAUDITING`"> <meta attribute="eclassName" inherit="false">AddressAuditing</meta> @@ -595,6 +621,18 @@ <key> <column name="`TEMPORALAUDITING_TENEO_AUDIT_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 name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VehicleInfoAuditing" abstract="false" lazy="false" table="`VEHICLEINFOAUDITING`"> <meta attribute="eclassName" inherit="false">VehicleInfoAuditing</meta> @@ -706,6 +744,26 @@ <key> <column name="`TEMPORALAUDITING_TENEO_AUDIT_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" table="`FLEETAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all"> + <key update="true"> + <column name="`FLEETAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/> + </key> + <list-index column="`FLEETAUDITING_VEHICLES_IDX`"/> + <element type="java.lang.String"/> + </list> + <list name="vehicleInformation" table="`FLEETAUDITING_VEHICLEINFORMATIONAUDITING`" lazy="true" cascade="all"> + <key update="true"> + <column name="`FLEETAUDITING_VEHICLEINFORMATION_TENEO_AUDIT_ID`" unique="false"/> + </key> + <list-index column="`FLEETAUDITING_VEHICLEINFORMATION_IDX`"/> + <element type="java.lang.String"/> + </list> + <property name="serviceGarage" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`SERVICEGARAGE`"/> + </property> </joined-subclass> <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="GarageAuditing" abstract="false" lazy="false" extends="TemporalAuditing" table="`GARAGEAUDITING`"> <meta attribute="eclassName" inherit="false">GarageAuditing</meta> @@ -713,6 +771,29 @@ <key> <column name="`TEMPORALAUDITING_TENEO_AUDIT_ID`"/> </key> + <list name="vehicles" table="`GARAGEAUDITING_VEHICLESAUDITING`" lazy="true" cascade="all"> + <key update="true"> + <column name="`GARAGEAUDITING_VEHICLES_TENEO_AUDIT_ID`" unique="false"/> + </key> + <list-index column="`GARAGEAUDITING_VEHICLES_IDX`"/> + <element type="java.lang.String"/> + </list> + <property name="customerShuttles" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> + <column not-null="false" unique="false" name="`CUSTOMERSHUTTLES`"/> + </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> + <list name="fleetsUsingGarage" table="`GARAGEAUDITING_FLEETSUSINGGARAGEAUDITING`" lazy="true" cascade="all"> + <key update="true"> + <column name="`GARAGEAUDITING_FLEETSUSINGGARAGE_TENEO_AUDIT_ID`" unique="false"/> + </key> + <list-index column="`GARAGEAUDITING_FLEETSUSINGGARAGE_IDX`"/> + <element type="java.lang.String"/> + </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 name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="TireAuditing" abstract="false" lazy="false" table="`TIREAUDITING`"> <meta attribute="eclassName" inherit="false">TireAuditing</meta> @@ -884,6 +965,19 @@ <property name="versionHolderContainment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> <column not-null="false" unique="false" name="`VERSIONHOLDERCONTAINMENT`"/> </property> + <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" table="`CARAUDITING_TIRESAUDITING`" lazy="true" cascade="all"> + <key update="true"> + <column name="`CARAUDITING_TIRES_TENEO_AUDIT_ID`" unique="false"/> + </key> + <list-index column="`CARAUDITING_TIRES_IDX`"/> + <element type="java.lang.String"/> + </list> </joined-subclass> <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="HybridAuditing" abstract="false" lazy="false" extends="CarAuditing" table="`HYBRIDAUDITING`"> <meta attribute="eclassName" inherit="false">HybridAuditing</meta> @@ -891,6 +985,12 @@ <key> <column name="`CARAUDITING_TENEO_AUDIT_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> <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="EngineFactoryAuditing" abstract="false" lazy="false" extends="ManufacturingPlantAuditing" table="`ENGINEFACTORYAUDITING`"> <meta attribute="eclassName" inherit="false">EngineFactoryAuditing</meta> @@ -898,6 +998,16 @@ <key> <column name="`MANUFACTURINGPLANTAUDITING_TENEO_AUDIT_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="`ENGINEFACTORYAUDITING_BRANDSAUDITING`" lazy="true" cascade="all"> + <key update="true"> + <column name="`ENGINEFACTORYAUDITING_BRANDS_TENEO_AUDIT_ID`" unique="false"/> + </key> + <list-index column="`ENGINEFACTORYAUDITING_BRANDS_IDX`"/> + <element type="java.lang.String"/> + </list> </joined-subclass> <joined-subclass name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="USAddressAuditing" abstract="false" lazy="false" extends="AddressAuditing" table="`USADDRESSAUDITING`"> <meta attribute="eclassName" inherit="false">USAddressAuditing</meta> @@ -905,6 +1015,12 @@ <key> <column name="`ADDRESSAUDITING_TENEO_AUDIT_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 name="org.eclipse.emf.teneo.hibernate.auditing.model.teneoauditing.impl.TeneoAuditEntryImpl" entity-name="VinAuditing" abstract="false" lazy="false" table="`VINAUDITING`"> <meta attribute="eclassName" inherit="false">VinAuditing</meta> |