|
|
|
|
|
|
|
|
|
|
Re: [Teneo] Persistence Options [message #83657 is a reply to message #83615] |
Wed, 16 May 2007 08:26   |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Okay, can you send me your ecore file(s) and the persistence.xml? Then I can try this out myself.
gr. Martin
wolf_roma wrote:
> my.xml - hibernate mapping xml
>
>
>
> <?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">
>
> <!-- Generated by Teneo on Wed May 16 11:27:33 MSD 2007 -->
> <hibernate-mapping>
> <typedef name="_1.TransportCategoryCodeTypeObject" class=" org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserT ype ">
> <param name="epackage">urn:customs.ru:CommonLeafTypes:3.0.1</param >
> <param name="edatatype">TransportCategoryCodeTypeObject</param>
> </typedef>
> <class name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutBorderTransportTypeImpl " entity-name="ESADoutBorderTransportType" abstract="false" lazy="false" table="`esadoutbordertransporttyp`">
> <meta attribute="eclassName">ESADoutBorderTransportType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="transportModeCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`transportmodecode`" length="2"/>
> </property>
> <property name="transportNationalityCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`transportnationalitycode"/>
> </property>
> <list name="transportMeans" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutbordertransport_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutbordertranspor_idx`"/>
> <one-to-many entity-name="TransportMeansType"/>
> </list>
> </class>
> <class name=" customs.ru.common.aggregate.types._3._0._1.impl.Organization BaseTypeImpl " entity-name="OrganizationBaseType" abstract="false" lazy="false" table="`organizationbasetype`">
> <meta attribute="eclassName">OrganizationBaseType</meta>
> <meta attribute="epackage">urn:customs.ru:CommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="organizationName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`organizationname`" length="150"/>
> </property>
> <property name="shortName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`shortname`" length="35"/>
> </property>
> <property name="oGRN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`ogrn`"/>
> </property>
> <property name="iNN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`inn`" length="12"/>
> </property>
> <property name="kPP" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`kpp`"/>
> </property>
> </class>
> <joined-subclass name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADOrg anizationTypeImpl " entity-name="ESADOrganizationType" abstract="false" lazy="false" extends="OrganizationBaseType" table="`esadorganizationtype`">
> <meta attribute="eclassName">ESADOrganizationType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <key>
> <column name="`organizationbasetype_e_id`"/>
> </key>
> <many-to-one name="address" entity-name="AddressType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`addresstype_address_e_id`"/>
> </many-to-one>
> <many-to-one name="identityCard" entity-name="IdentityCardType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`identitycardtype_ident_id`"/>
> </many-to-one>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutCarrierTypeImpl " entity-name="ESADoutCarrierType" abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutcarriertype`">
> <meta attribute="eclassName">ESADoutCarrierType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <list name="eSADDriverInformation" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutcarriertype_esa_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutcarriertype_es_idx`"/>
> <one-to-many entity-name="ESADDriverInformationType"/>
> </list>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADCon sigmentTypeImpl " entity-name="ESADConsigmentType" abstract="false" lazy="false" table="`esadconsigmenttype`">
> <meta attribute="eclassName">ESADConsigmentType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="containerIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
> <column not-null="false" unique="false" name="`containerindicator`"/>
> </property>
> <property name="dispatchCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`dispatchcountrycode`"/>
> </property>
> <property name="dispatchCountryName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`dispatchcountryname`" length="35"/>
> </property>
> <property name="destinationCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`destinationcountrycode`"/>
> </property>
> <property name="destinationCountryName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`destinationcountryname`" length="35"/>
> </property>
> <many-to-one name="deliveryCustomsOffice" entity-name="CustomsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`customstype_deliverycu_id`"/>
> </many-to-one>
> <list name="borderCustomsOffice" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadconsigmenttype_bor_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadconsigmenttype_bo_idx`"/>
> <one-to-many entity-name="CustomsType"/>
> </list>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutConsigmentTypeImpl " entity-name="ESADoutConsigmentType" abstract="false" lazy="false" extends="ESADConsigmentType" table="`esadoutconsigmenttype`">
> <meta attribute="eclassName">ESADoutConsigmentType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadconsigmenttype_e_id`"/>
> </key>
> <many-to-one name="eSADoutDepartureArrivalTransport" entity-name="ESAoutDepartureArrivalTransportType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esaoutdeparturearrival_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutBorderTransport" entity-name="ESADoutBorderTransportType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutbordertransport_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutLoadingPlace" entity-name="ESADoutLoadingPlaceType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutloadingplacetyp_id`"/>
> </many-to-one>
> <list name="eSADoutReloadingInfo" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutconsigmenttype__id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutconsigmenttype_idx`"/>
> <one-to-many entity-name="ESADReloadingInfoType"/>
> </list>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutConsigneeTypeImpl " entity-name="ESADoutConsigneeType" abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutconsigneetype`">
> <meta attribute="eclassName">ESADoutConsigneeType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <property name="contractorIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`contractorindicator`" length="1"/>
> </property>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutConsignorTypeImpl " entity-name="ESADoutConsignorType" abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutconsignortype`">
> <meta attribute="eclassName">ESADoutConsignorType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <property name="bowelsINN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`bowelsinn`" length="12"/>
> </property>
> <property name="bowelsOKPO" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`bowelsokpo`" length="10"/>
> </property>
> </joined-subclass>
> <class name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutCustomsConditionsTypeImpl " entity-name="ESADoutCustomsConditionsType" abstract="false" lazy="false" table="`esadoutcustomsconditionst`">
> <meta attribute="eclassName">ESADoutCustomsConditionsType</meta >
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <list name="processingGoods" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutcustomsconditio_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutcustomsconditi_idx`"/>
> <one-to-many entity-name="ProcessingGoodsType"/>
> </list>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutDeclarantTypeImpl " entity-name="ESADoutDeclarantType" abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutdeclaranttype`">
> <meta attribute="eclassName">ESADoutDeclarantType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <many-to-one name="branchDescription" entity-name="BranchDescriptionType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`branchdescriptiontype__id`"/>
> </many-to-one>
> <many-to-one name="eSADoutFilledPerson" entity-name="ESADFilledPersonType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
> <column not-null="true" unique="false" name="`esadfilledpersontype_e_id`"/>
> </many-to-one>
> <many-to-one name="customsBrokerContract" entity-name="CustomsBrokerType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`customsbrokertype_cust_id`"/>
> </many-to-one>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutFinancialAdjustingResponsiblePersonTypeImpl " entity-name="ESADoutFinancialAdjustingResponsiblePersonType " abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutfinancialadjusting`">
> <meta attribute="eclassName">ESADoutFinancialAdjustingResponsiblePersonType </meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <many-to-one name="branchDescription" entity-name="BranchDescriptionType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`branchdescriptiontype__id`"/>
> </many-to-one>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADGoo dsLocationTypeImpl " entity-name="ESADGoodsLocationType" abstract="false" lazy="false" table="`esadgoodslocationtype`">
> <meta attribute="eclassName">ESADGoodsLocationType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="informationTypeCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`informationtypecode`" length="2"/>
> </property>
> <many-to-one name="goodsLocationWarehouse" entity-name="GoodsLocationWarehouseType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`goodslocationwarehouse_id`"/>
> </many-to-one>
> <many-to-one name="goodsLocationPlace" entity-name="GoodsLocationPlaceType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`goodslocationplacetype_id`"/>
> </many-to-one>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutGoodsLocationTypeImpl " entity-name="ESADoutGoodsLocationType" abstract="false" lazy="false" extends="ESADGoodsLocationType" table="`esadoutgoodslocationtype`">
> <meta attribute="eclassName">ESADoutGoodsLocationType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadgoodslocationtype__id`"/>
> </key>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADGoo dsShipmentTypeImpl " entity-name="ESADGoodsShipmentType" abstract="false" lazy="false" table="`esadgoodsshipmenttype`">
> <meta attribute="eclassName">ESADGoodsShipmentType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="originCountryName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`origincountryname`" length="35"/>
> </property>
> <property name="specificationNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`specificationnumber`" precision="5" scale="0"/>
> </property>
> <property name="specificationListNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`specificationlistnumber`" precision="5" scale="0"/>
> </property>
> <property name="totalGoodsNumber" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger">
> <column not-null="false" unique="false" name="`totalgoodsnumber`" precision="5" scale="0"/>
> </property>
> <property name="totalPackageNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`totalpackagenumber`" precision="8" scale="0"/>
> </property>
> <property name="totalSheetNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`totalsheetnumber`" precision="5" scale="0"/>
> </property>
> <property name="originCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`origincountrycode`"/>
> </property>
> <property name="countryCodeIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`countrycodeindicator`" precision="1" scale="0"/>
> </property>
> <property name="totalCustCost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`totalcustcost`" precision="16" scale="2"/>
> </property>
> <property name="custCostCurrencyCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`custcostcurrencycode`"/>
> </property>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutGoodsShipmentTypeImpl " entity-name="ESADoutGoodsShipmentType" abstract="false" lazy="false" extends="ESADGoodsShipmentType" table="`esadoutgoodsshipmenttype`">
> <meta attribute="eclassName">ESADoutGoodsShipmentType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadgoodsshipmenttype__id`"/>
> </key>
> <many-to-one name="eSADoutConsignor" entity-name="ESADoutConsignorType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutconsignortype_e_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutConsignee" entity-name="ESADoutConsigneeType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
> <column not-null="true" unique="false" name="`esadoutconsigneetype_e_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutFinancialAdjustingResponsiblePerson" entity-name="ESADoutFinancialAdjustingResponsiblePersonType " cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutfinancialadjust_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutDeclarant" entity-name="ESADoutDeclarantType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutdeclaranttype_e_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutPrincipal" entity-name="ESADoutPrincipalType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutprincipaltype_e_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutCarrier" entity-name="ESADoutCarrierType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutcarriertype_esa_id`"/>
> </many-to-one>
> <list name="eSADoutGoodsLocation" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodsshipmentty_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodsshipmentt_idx`"/>
> <one-to-many entity-name="ESADoutGoodsLocationType"/>
> </list>
> <many-to-one name="eSADoutConsigment" entity-name="ESADoutConsigmentType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutconsigmenttype__id`"/>
> </many-to-one>
> <many-to-one name="eSADoutMainContractTerms" entity-name="ESADoutMainContractTermsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutmaincontractter_id`"/>
> </many-to-one>
> <list name="eSADoutGoods" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodsshipmentty_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodsshipmentt_idx`"/>
> <one-to-many entity-name="ESADoutGoodsType"/>
> </list>
> <many-to-one name="eSADoutPayments" entity-name="ESADoutPaymentsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutpaymentstype_es_id`"/>
> </many-to-one>
> <many-to-one name="guarantee" entity-name="GuaranteeType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`guaranteetype_guarante_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutCustomsConditions" entity-name="ESADoutCustomsConditionsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutcustomsconditio_id`"/>
> </many-to-one>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.GoodsIt emBaseTypeImpl " entity-name="GoodsItemBaseType" abstract="false" lazy="false" table="`goodsitembasetype`">
> <meta attribute="eclassName">GoodsItemBaseType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="goodsNumeric" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger">
> <column not-null="false" unique="false" name="`goodsnumeric`" precision="5" scale="0"/>
> </property>
> <list name="goodsDescription" table="`goodsdescription2`" lazy="true" cascade="all,delete-orphan">
> <key/>
> <list-index column="`goodsitembasetype_goo_idx`"/>
> <element type="java.lang.String"/>
> </list>
> <property name="grossWeightQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`grossweightquantity`" precision="19" scale="6"/>
> </property>
> <property name="netWeightQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`netweightquantity`" precision="19" scale="6"/>
> </property>
> <property name="invoicedCost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`invoicedcost`" precision="16" scale="2"/>
> </property>
> <property name="customsCost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`customscost`" precision="16" scale="2"/>
> </property>
> <property name="statisticalCost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`statisticalcost`" precision="16" scale="2"/>
> </property>
> </class>
> <joined-subclass name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADGoo dsItemTypeImpl " entity-name="ESADGoodsItemType" abstract="false" lazy="false" extends="GoodsItemBaseType" table="`esadgoodsitemtype`">
> <meta attribute="eclassName">ESADGoodsItemType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <key>
> <column name="`goodsitembasetype_e_id`"/>
> </key>
> <property name="goodsTNVEDCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`goodstnvedcode`"/>
> </property>
> <property name="goodsClassificationCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`goodsclassificationcode`" length="1"/>
> </property>
> <property name="additionalSign" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`additionalsign`" length="1"/>
> </property>
> <property name="beginPeriodDate" lazy="false" insert="true" update="true" not-null="false" unique="false">
> <column not-null="false" unique="false" name="`beginperioddate`"/>
> <type name=" org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserT ype ">
> <param name="edatatype">DateCustType</param>
> <param name="epackage">urn:customs.ru:CommonLeafTypes:3.0.1</param >
> </type>
> </property>
> <property name="endPeriodDate" lazy="false" insert="true" update="true" not-null="false" unique="false">
> <column not-null="false" unique="false" name="`endperioddate`"/>
> <type name=" org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserT ype ">
> <param name="edatatype">DateCustType</param>
> <param name="epackage">urn:customs.ru:CommonLeafTypes:3.0.1</param >
> </type>
> </property>
> <property name="originCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`origincountrycode`"/>
> </property>
> <property name="originCountryName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`origincountryname`" length="35"/>
> </property>
> <property name="countryCodeIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`countrycodeindicator`" precision="1" scale="0"/>
> </property>
> <property name="preferencii" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`preferencii`" length="4"/>
> </property>
> <property name="destinationCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`destinationcountrycode`"/>
> </property>
> <property name="conformityStatCostIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
> <column not-null="false" unique="false" name="`conformitystatcostindica"/>
> </property>
> <property name="goodsShipmentUCR" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`goodsshipmentucr`" length="36"/>
> </property>
> <list name="goodsGroupDescription" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadgoodsitemtype_good_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadgoodsitemtype_goo_idx`"/>
> <one-to-many entity-name="GoodsGroupDescriptionType"/>
> </list>
> </joined-subclass>
> <joined-subclass name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADGoo dsTypeImpl " entity-name="ESADGoodsType" abstract="false" lazy="false" extends="ESADGoodsItemType" table="`esadgoodstype`">
> <meta attribute="eclassName">ESADGoodsType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <key>
> <column name="`esadgoodsitemtype_e_id`"/>
> </key>
> <property name="additionalSheetCount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`additionalsheetcount`" precision="5" scale="0"/>
> </property>
> <property name="formNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`formnumber`" length="8"/>
> </property>
> <many-to-one name="eSADGoodsPackaging" entity-name="ESADGoodsPackagingType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadgoodspackagingtype_id`"/>
> </many-to-one>
> <many-to-one name="eSADContainer" entity-name="ESADContainerType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadcontainertype_esad_id`"/>
> </many-to-one>
> <list name="eSADExcise" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadgoodstype_esadexci_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadgoodstype_esadexc_idx`"/>
> <one-to-many entity-name="ESADExciseType"/>
> </list>
> <many-to-one name="supplementaryGoodsQuantity" entity-name="SupplementaryQuantityType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`supplementaryquantityt_id`"/>
> </many-to-one>
> <list name="supplementaryGoodsQuantity1" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadgoodstype_suppleme_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadgoodstype_supplem_idx`"/>
> <one-to-many entity-name="SupplementaryQuantityType"/>
> </list>
> <list name="eSADElectricalEnergyQuantity" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadgoodstype_esadelec_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadgoodstype_esadele_idx`"/>
> <one-to-many entity-name="ESADElectricalEnergyQuantityType"/>
> </list>
> <many-to-one name="eSADGoodsQuota" entity-name="ESADGoodsQuotaType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadgoodsquotatype_esa_id`"/>
> </many-to-one>
> <many-to-one name="eSADCustomsProcedure" entity-name="ESADCustomsProcedureType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadcustomsprocedurety_id`"/>
> </many-to-one>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutGoodsTypeImpl " entity-name="ESADoutGoodsType" abstract="false" lazy="false" extends="ESADGoodsType" table="`esadoutgoodstype`">
> <meta attribute="eclassName">ESADoutGoodsType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadgoodstype_e_id`"/>
> </key>
> <many-to-one name="eSADoutPresentedDocument" entity-name="ESADoutPresentedDocumentsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutpresenteddocume_id`"/>
> </many-to-one>
> <list name="eSADoutPrecedingDocument" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodstype_esado_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodstype_esad_idx`"/>
> <one-to-many entity-name="ESADPrecedingDocumentType"/>
> </list>
> <list name="eSADoutCustomsPaymentCalculation" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodstype_esado_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodstype_esad_idx`"/>
> <one-to-many entity-name="ESADCustomsPaymentCalculationType"/>
> </list>
> <list name="eSADoutContractList" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodstype_esado_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodstype_esad_idx`"/>
> <one-to-many entity-name="ESADContractListType"/>
> </list>
> <list name="eSADoutGoodsAutomobile" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodstype_esado_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodstype_esad_idx`"/>
> <one-to-many entity-name="ESADAutomobileType"/>
> </list>
> <many-to-one name="eSADoutGoodsOrganization" entity-name="ESADoutConsignorType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutconsignortype_e_id`"/>
> </many-to-one>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADLoa dingPlaceTypeImpl " entity-name="ESADLoadingPlaceType" abstract="false" lazy="false" table="`esadloadingplacetype`">
> <meta attribute="eclassName">ESADLoadingPlaceType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="informationTypeCode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`informationtypecode`" length="2"/>
> </property>
> <many-to-one name="loadingPlaceWarehouse" entity-name="LoadingPlaceWarehouseType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`loadingplacewarehouset_id`"/>
> </many-to-one>
> <many-to-one name="loadingPlaseConsignee" entity-name="LoadingPlaseConsigneeType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`loadingplaseconsigneet_id`"/>
> </many-to-one>
> <list name="loadingPlaceOther" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadloadingplacetype_l_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadloadingplacetype__idx`"/>
> <one-to-many entity-name="LoadingPlaceOtherType"/>
> </list>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutLoadingPlaceTypeImpl " entity-name="ESADoutLoadingPlaceType" abstract="false" lazy="false" extends="ESADLoadingPlaceType" table="`esadoutloadingplacetype`">
> <meta attribute="eclassName">ESADoutLoadingPlaceType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadloadingplacetype_e_id`"/>
> </key>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADCon tractCostTypeImpl " entity-name="ESADContractCostType" abstract="false" lazy="false" table="`esadcontractcosttype`">
> <meta attribute="eclassName">ESADContractCostType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="contractCurrencyCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`contractcurrencycode`" length="3"/>
> </property>
> <property name="contractCurrencyRate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`contractcurrencyrate`" precision="11" scale="4"/>
> </property>
> <property name="currencyRateDate" lazy="false" insert="true" update="true" not-null="false" unique="false">
> <column not-null="false" unique="false" name="`currencyratedate`"/>
> <type name=" org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserT ype ">
> <param name="edatatype">DateCustType</param>
> <param name="epackage">urn:customs.ru:CommonLeafTypes:3.0.1</param >
> </type>
> </property>
> <property name="totalInvoiceAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`totalinvoiceamount`" precision="16" scale="2"/>
> </property>
> </class>
> <joined-subclass name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADMai nContractTermsTypeImpl " entity-name="ESADMainContractTermsType" abstract="false" lazy="false" extends="ESADContractCostType" table="`esadmaincontracttermstype`">
> <meta attribute="eclassName">ESADMainContractTermsType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <key>
> <column name="`esadcontractcosttype_e_id`"/>
> </key>
> <property name="tradeCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`tradecountrycode`"/>
> </property>
> <property name="additionalFinancialData" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`additionalfinancialdata`" length="250"/>
> </property>
> <many-to-one name="eSADDeliveryTerms" entity-name="DeliveryTermsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`deliverytermstype_esad_id`"/>
> </many-to-one>
> <list name="financialDocuments" lazy="true" casc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: [Teneo] Persistence Options [message #606706 is a reply to message #83615] |
Wed, 16 May 2007 08:26  |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Okay, can you send me your ecore file(s) and the persistence.xml? Then I can try this out myself.
gr. Martin
wolf_roma wrote:
> my.xml - hibernate mapping xml
>
>
>
> <?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">
>
> <!-- Generated by Teneo on Wed May 16 11:27:33 MSD 2007 -->
> <hibernate-mapping>
> <typedef name="_1.TransportCategoryCodeTypeObject" class=" org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserT ype ">
> <param name="epackage">urn:customs.ru:CommonLeafTypes:3.0.1</param >
> <param name="edatatype">TransportCategoryCodeTypeObject</param>
> </typedef>
> <class name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutBorderTransportTypeImpl " entity-name="ESADoutBorderTransportType" abstract="false" lazy="false" table="`esadoutbordertransporttyp`">
> <meta attribute="eclassName">ESADoutBorderTransportType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="transportModeCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`transportmodecode`" length="2"/>
> </property>
> <property name="transportNationalityCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`transportnationalitycode"/>
> </property>
> <list name="transportMeans" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutbordertransport_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutbordertranspor_idx`"/>
> <one-to-many entity-name="TransportMeansType"/>
> </list>
> </class>
> <class name=" customs.ru.common.aggregate.types._3._0._1.impl.Organization BaseTypeImpl " entity-name="OrganizationBaseType" abstract="false" lazy="false" table="`organizationbasetype`">
> <meta attribute="eclassName">OrganizationBaseType</meta>
> <meta attribute="epackage">urn:customs.ru:CommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="organizationName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`organizationname`" length="150"/>
> </property>
> <property name="shortName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`shortname`" length="35"/>
> </property>
> <property name="oGRN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`ogrn`"/>
> </property>
> <property name="iNN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`inn`" length="12"/>
> </property>
> <property name="kPP" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`kpp`"/>
> </property>
> </class>
> <joined-subclass name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADOrg anizationTypeImpl " entity-name="ESADOrganizationType" abstract="false" lazy="false" extends="OrganizationBaseType" table="`esadorganizationtype`">
> <meta attribute="eclassName">ESADOrganizationType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <key>
> <column name="`organizationbasetype_e_id`"/>
> </key>
> <many-to-one name="address" entity-name="AddressType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`addresstype_address_e_id`"/>
> </many-to-one>
> <many-to-one name="identityCard" entity-name="IdentityCardType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`identitycardtype_ident_id`"/>
> </many-to-one>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutCarrierTypeImpl " entity-name="ESADoutCarrierType" abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutcarriertype`">
> <meta attribute="eclassName">ESADoutCarrierType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <list name="eSADDriverInformation" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutcarriertype_esa_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutcarriertype_es_idx`"/>
> <one-to-many entity-name="ESADDriverInformationType"/>
> </list>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADCon sigmentTypeImpl " entity-name="ESADConsigmentType" abstract="false" lazy="false" table="`esadconsigmenttype`">
> <meta attribute="eclassName">ESADConsigmentType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="containerIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
> <column not-null="false" unique="false" name="`containerindicator`"/>
> </property>
> <property name="dispatchCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`dispatchcountrycode`"/>
> </property>
> <property name="dispatchCountryName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`dispatchcountryname`" length="35"/>
> </property>
> <property name="destinationCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`destinationcountrycode`"/>
> </property>
> <property name="destinationCountryName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`destinationcountryname`" length="35"/>
> </property>
> <many-to-one name="deliveryCustomsOffice" entity-name="CustomsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`customstype_deliverycu_id`"/>
> </many-to-one>
> <list name="borderCustomsOffice" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadconsigmenttype_bor_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadconsigmenttype_bo_idx`"/>
> <one-to-many entity-name="CustomsType"/>
> </list>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutConsigmentTypeImpl " entity-name="ESADoutConsigmentType" abstract="false" lazy="false" extends="ESADConsigmentType" table="`esadoutconsigmenttype`">
> <meta attribute="eclassName">ESADoutConsigmentType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadconsigmenttype_e_id`"/>
> </key>
> <many-to-one name="eSADoutDepartureArrivalTransport" entity-name="ESAoutDepartureArrivalTransportType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esaoutdeparturearrival_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutBorderTransport" entity-name="ESADoutBorderTransportType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutbordertransport_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutLoadingPlace" entity-name="ESADoutLoadingPlaceType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutloadingplacetyp_id`"/>
> </many-to-one>
> <list name="eSADoutReloadingInfo" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutconsigmenttype__id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutconsigmenttype_idx`"/>
> <one-to-many entity-name="ESADReloadingInfoType"/>
> </list>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutConsigneeTypeImpl " entity-name="ESADoutConsigneeType" abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutconsigneetype`">
> <meta attribute="eclassName">ESADoutConsigneeType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <property name="contractorIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`contractorindicator`" length="1"/>
> </property>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutConsignorTypeImpl " entity-name="ESADoutConsignorType" abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutconsignortype`">
> <meta attribute="eclassName">ESADoutConsignorType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <property name="bowelsINN" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`bowelsinn`" length="12"/>
> </property>
> <property name="bowelsOKPO" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`bowelsokpo`" length="10"/>
> </property>
> </joined-subclass>
> <class name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutCustomsConditionsTypeImpl " entity-name="ESADoutCustomsConditionsType" abstract="false" lazy="false" table="`esadoutcustomsconditionst`">
> <meta attribute="eclassName">ESADoutCustomsConditionsType</meta >
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <list name="processingGoods" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutcustomsconditio_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutcustomsconditi_idx`"/>
> <one-to-many entity-name="ProcessingGoodsType"/>
> </list>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutDeclarantTypeImpl " entity-name="ESADoutDeclarantType" abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutdeclaranttype`">
> <meta attribute="eclassName">ESADoutDeclarantType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <many-to-one name="branchDescription" entity-name="BranchDescriptionType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`branchdescriptiontype__id`"/>
> </many-to-one>
> <many-to-one name="eSADoutFilledPerson" entity-name="ESADFilledPersonType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
> <column not-null="true" unique="false" name="`esadfilledpersontype_e_id`"/>
> </many-to-one>
> <many-to-one name="customsBrokerContract" entity-name="CustomsBrokerType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`customsbrokertype_cust_id`"/>
> </many-to-one>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutFinancialAdjustingResponsiblePersonTypeImpl " entity-name="ESADoutFinancialAdjustingResponsiblePersonType " abstract="false" lazy="false" extends="ESADOrganizationType" table="`esadoutfinancialadjusting`">
> <meta attribute="eclassName">ESADoutFinancialAdjustingResponsiblePersonType </meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadorganizationtype_e_id`"/>
> </key>
> <many-to-one name="branchDescription" entity-name="BranchDescriptionType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`branchdescriptiontype__id`"/>
> </many-to-one>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADGoo dsLocationTypeImpl " entity-name="ESADGoodsLocationType" abstract="false" lazy="false" table="`esadgoodslocationtype`">
> <meta attribute="eclassName">ESADGoodsLocationType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="informationTypeCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`informationtypecode`" length="2"/>
> </property>
> <many-to-one name="goodsLocationWarehouse" entity-name="GoodsLocationWarehouseType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`goodslocationwarehouse_id`"/>
> </many-to-one>
> <many-to-one name="goodsLocationPlace" entity-name="GoodsLocationPlaceType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`goodslocationplacetype_id`"/>
> </many-to-one>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutGoodsLocationTypeImpl " entity-name="ESADoutGoodsLocationType" abstract="false" lazy="false" extends="ESADGoodsLocationType" table="`esadoutgoodslocationtype`">
> <meta attribute="eclassName">ESADoutGoodsLocationType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadgoodslocationtype__id`"/>
> </key>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADGoo dsShipmentTypeImpl " entity-name="ESADGoodsShipmentType" abstract="false" lazy="false" table="`esadgoodsshipmenttype`">
> <meta attribute="eclassName">ESADGoodsShipmentType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="originCountryName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`origincountryname`" length="35"/>
> </property>
> <property name="specificationNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`specificationnumber`" precision="5" scale="0"/>
> </property>
> <property name="specificationListNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`specificationlistnumber`" precision="5" scale="0"/>
> </property>
> <property name="totalGoodsNumber" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger">
> <column not-null="false" unique="false" name="`totalgoodsnumber`" precision="5" scale="0"/>
> </property>
> <property name="totalPackageNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`totalpackagenumber`" precision="8" scale="0"/>
> </property>
> <property name="totalSheetNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`totalsheetnumber`" precision="5" scale="0"/>
> </property>
> <property name="originCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`origincountrycode`"/>
> </property>
> <property name="countryCodeIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`countrycodeindicator`" precision="1" scale="0"/>
> </property>
> <property name="totalCustCost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`totalcustcost`" precision="16" scale="2"/>
> </property>
> <property name="custCostCurrencyCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`custcostcurrencycode`"/>
> </property>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutGoodsShipmentTypeImpl " entity-name="ESADoutGoodsShipmentType" abstract="false" lazy="false" extends="ESADGoodsShipmentType" table="`esadoutgoodsshipmenttype`">
> <meta attribute="eclassName">ESADoutGoodsShipmentType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadgoodsshipmenttype__id`"/>
> </key>
> <many-to-one name="eSADoutConsignor" entity-name="ESADoutConsignorType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutconsignortype_e_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutConsignee" entity-name="ESADoutConsigneeType" cascade="all" lazy="false" insert="true" update="true" not-null="true">
> <column not-null="true" unique="false" name="`esadoutconsigneetype_e_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutFinancialAdjustingResponsiblePerson" entity-name="ESADoutFinancialAdjustingResponsiblePersonType " cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutfinancialadjust_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutDeclarant" entity-name="ESADoutDeclarantType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutdeclaranttype_e_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutPrincipal" entity-name="ESADoutPrincipalType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutprincipaltype_e_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutCarrier" entity-name="ESADoutCarrierType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutcarriertype_esa_id`"/>
> </many-to-one>
> <list name="eSADoutGoodsLocation" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodsshipmentty_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodsshipmentt_idx`"/>
> <one-to-many entity-name="ESADoutGoodsLocationType"/>
> </list>
> <many-to-one name="eSADoutConsigment" entity-name="ESADoutConsigmentType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutconsigmenttype__id`"/>
> </many-to-one>
> <many-to-one name="eSADoutMainContractTerms" entity-name="ESADoutMainContractTermsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutmaincontractter_id`"/>
> </many-to-one>
> <list name="eSADoutGoods" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodsshipmentty_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodsshipmentt_idx`"/>
> <one-to-many entity-name="ESADoutGoodsType"/>
> </list>
> <many-to-one name="eSADoutPayments" entity-name="ESADoutPaymentsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutpaymentstype_es_id`"/>
> </many-to-one>
> <many-to-one name="guarantee" entity-name="GuaranteeType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`guaranteetype_guarante_id`"/>
> </many-to-one>
> <many-to-one name="eSADoutCustomsConditions" entity-name="ESADoutCustomsConditionsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutcustomsconditio_id`"/>
> </many-to-one>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.GoodsIt emBaseTypeImpl " entity-name="GoodsItemBaseType" abstract="false" lazy="false" table="`goodsitembasetype`">
> <meta attribute="eclassName">GoodsItemBaseType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="goodsNumeric" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger">
> <column not-null="false" unique="false" name="`goodsnumeric`" precision="5" scale="0"/>
> </property>
> <list name="goodsDescription" table="`goodsdescription2`" lazy="true" cascade="all,delete-orphan">
> <key/>
> <list-index column="`goodsitembasetype_goo_idx`"/>
> <element type="java.lang.String"/>
> </list>
> <property name="grossWeightQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`grossweightquantity`" precision="19" scale="6"/>
> </property>
> <property name="netWeightQuantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`netweightquantity`" precision="19" scale="6"/>
> </property>
> <property name="invoicedCost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`invoicedcost`" precision="16" scale="2"/>
> </property>
> <property name="customsCost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`customscost`" precision="16" scale="2"/>
> </property>
> <property name="statisticalCost" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`statisticalcost`" precision="16" scale="2"/>
> </property>
> </class>
> <joined-subclass name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADGoo dsItemTypeImpl " entity-name="ESADGoodsItemType" abstract="false" lazy="false" extends="GoodsItemBaseType" table="`esadgoodsitemtype`">
> <meta attribute="eclassName">ESADGoodsItemType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <key>
> <column name="`goodsitembasetype_e_id`"/>
> </key>
> <property name="goodsTNVEDCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`goodstnvedcode`"/>
> </property>
> <property name="goodsClassificationCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`goodsclassificationcode`" length="1"/>
> </property>
> <property name="additionalSign" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`additionalsign`" length="1"/>
> </property>
> <property name="beginPeriodDate" lazy="false" insert="true" update="true" not-null="false" unique="false">
> <column not-null="false" unique="false" name="`beginperioddate`"/>
> <type name=" org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserT ype ">
> <param name="edatatype">DateCustType</param>
> <param name="epackage">urn:customs.ru:CommonLeafTypes:3.0.1</param >
> </type>
> </property>
> <property name="endPeriodDate" lazy="false" insert="true" update="true" not-null="false" unique="false">
> <column not-null="false" unique="false" name="`endperioddate`"/>
> <type name=" org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserT ype ">
> <param name="edatatype">DateCustType</param>
> <param name="epackage">urn:customs.ru:CommonLeafTypes:3.0.1</param >
> </type>
> </property>
> <property name="originCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`origincountrycode`"/>
> </property>
> <property name="originCountryName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`origincountryname`" length="35"/>
> </property>
> <property name="countryCodeIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`countrycodeindicator`" precision="1" scale="0"/>
> </property>
> <property name="preferencii" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`preferencii`" length="4"/>
> </property>
> <property name="destinationCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`destinationcountrycode`"/>
> </property>
> <property name="conformityStatCostIndicator" lazy="false" insert="true" update="true" not-null="false" unique="false" type="boolean">
> <column not-null="false" unique="false" name="`conformitystatcostindica"/>
> </property>
> <property name="goodsShipmentUCR" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`goodsshipmentucr`" length="36"/>
> </property>
> <list name="goodsGroupDescription" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadgoodsitemtype_good_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadgoodsitemtype_goo_idx`"/>
> <one-to-many entity-name="GoodsGroupDescriptionType"/>
> </list>
> </joined-subclass>
> <joined-subclass name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADGoo dsTypeImpl " entity-name="ESADGoodsType" abstract="false" lazy="false" extends="ESADGoodsItemType" table="`esadgoodstype`">
> <meta attribute="eclassName">ESADGoodsType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <key>
> <column name="`esadgoodsitemtype_e_id`"/>
> </key>
> <property name="additionalSheetCount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`additionalsheetcount`" precision="5" scale="0"/>
> </property>
> <property name="formNumber" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`formnumber`" length="8"/>
> </property>
> <many-to-one name="eSADGoodsPackaging" entity-name="ESADGoodsPackagingType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadgoodspackagingtype_id`"/>
> </many-to-one>
> <many-to-one name="eSADContainer" entity-name="ESADContainerType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadcontainertype_esad_id`"/>
> </many-to-one>
> <list name="eSADExcise" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadgoodstype_esadexci_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadgoodstype_esadexc_idx`"/>
> <one-to-many entity-name="ESADExciseType"/>
> </list>
> <many-to-one name="supplementaryGoodsQuantity" entity-name="SupplementaryQuantityType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`supplementaryquantityt_id`"/>
> </many-to-one>
> <list name="supplementaryGoodsQuantity1" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadgoodstype_suppleme_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadgoodstype_supplem_idx`"/>
> <one-to-many entity-name="SupplementaryQuantityType"/>
> </list>
> <list name="eSADElectricalEnergyQuantity" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadgoodstype_esadelec_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadgoodstype_esadele_idx`"/>
> <one-to-many entity-name="ESADElectricalEnergyQuantityType"/>
> </list>
> <many-to-one name="eSADGoodsQuota" entity-name="ESADGoodsQuotaType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadgoodsquotatype_esa_id`"/>
> </many-to-one>
> <many-to-one name="eSADCustomsProcedure" entity-name="ESADCustomsProcedureType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadcustomsprocedurety_id`"/>
> </many-to-one>
> </joined-subclass>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutGoodsTypeImpl " entity-name="ESADoutGoodsType" abstract="false" lazy="false" extends="ESADGoodsType" table="`esadoutgoodstype`">
> <meta attribute="eclassName">ESADoutGoodsType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadgoodstype_e_id`"/>
> </key>
> <many-to-one name="eSADoutPresentedDocument" entity-name="ESADoutPresentedDocumentsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutpresenteddocume_id`"/>
> </many-to-one>
> <list name="eSADoutPrecedingDocument" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodstype_esado_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodstype_esad_idx`"/>
> <one-to-many entity-name="ESADPrecedingDocumentType"/>
> </list>
> <list name="eSADoutCustomsPaymentCalculation" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodstype_esado_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodstype_esad_idx`"/>
> <one-to-many entity-name="ESADCustomsPaymentCalculationType"/>
> </list>
> <list name="eSADoutContractList" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodstype_esado_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodstype_esad_idx`"/>
> <one-to-many entity-name="ESADContractListType"/>
> </list>
> <list name="eSADoutGoodsAutomobile" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadoutgoodstype_esado_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadoutgoodstype_esad_idx`"/>
> <one-to-many entity-name="ESADAutomobileType"/>
> </list>
> <many-to-one name="eSADoutGoodsOrganization" entity-name="ESADoutConsignorType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`esadoutconsignortype_e_id`"/>
> </many-to-one>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADLoa dingPlaceTypeImpl " entity-name="ESADLoadingPlaceType" abstract="false" lazy="false" table="`esadloadingplacetype`">
> <meta attribute="eclassName">ESADLoadingPlaceType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="informationTypeCode" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`informationtypecode`" length="2"/>
> </property>
> <many-to-one name="loadingPlaceWarehouse" entity-name="LoadingPlaceWarehouseType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`loadingplacewarehouset_id`"/>
> </many-to-one>
> <many-to-one name="loadingPlaseConsignee" entity-name="LoadingPlaseConsigneeType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`loadingplaseconsigneet_id`"/>
> </many-to-one>
> <list name="loadingPlaceOther" lazy="true" cascade="all,delete-orphan">
> <key update="true">
> <column name="`esadloadingplacetype_l_id`" not-null="false" unique="false"/>
> </key>
> <list-index column="`esadloadingplacetype__idx`"/>
> <one-to-many entity-name="LoadingPlaceOtherType"/>
> </list>
> </class>
> <joined-subclass name=" customs.ru.information.customs.documents.esa.dout._3._0._1.i mpl.ESADoutLoadingPlaceTypeImpl " entity-name="ESADoutLoadingPlaceType" abstract="false" lazy="false" extends="ESADLoadingPlaceType" table="`esadoutloadingplacetype`">
> <meta attribute="eclassName">ESADoutLoadingPlaceType</meta>
> <meta attribute="epackage">urn:customs.ru:Information:CustomsDocuments:ESADout:3.0.1 </meta>
> <key>
> <column name="`esadloadingplacetype_e_id`"/>
> </key>
> </joined-subclass>
> <class name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADCon tractCostTypeImpl " entity-name="ESADContractCostType" abstract="false" lazy="false" table="`esadcontractcosttype`">
> <meta attribute="eclassName">ESADContractCostType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <id type="long" name="e_id" column="e_id" access=" org.eclipse.emf.teneo.hibernate.mapping.identifier.Identifie rPropertyHandler ">
> <meta attribute="syntheticId">true</meta>
> <generator class="native"/>
> </id>
> <version name="e_version" column="e_version" access=" org.eclipse.emf.teneo.hibernate.mapping.property.VersionProp ertyHandler ">
> <meta attribute="syntheticVersion">true</meta>
> </version>
> <property name="contractCurrencyCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`contractcurrencycode`" length="3"/>
> </property>
> <property name="contractCurrencyRate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`contractcurrencyrate`" precision="11" scale="4"/>
> </property>
> <property name="currencyRateDate" lazy="false" insert="true" update="true" not-null="false" unique="false">
> <column not-null="false" unique="false" name="`currencyratedate`"/>
> <type name=" org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserT ype ">
> <param name="edatatype">DateCustType</param>
> <param name="epackage">urn:customs.ru:CommonLeafTypes:3.0.1</param >
> </type>
> </property>
> <property name="totalInvoiceAmount" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigDecimal">
> <column not-null="false" unique="false" name="`totalinvoiceamount`" precision="16" scale="2"/>
> </property>
> </class>
> <joined-subclass name=" customs.ru.esad.common.aggregate.types._3._0._1.impl.ESADMai nContractTermsTypeImpl " entity-name="ESADMainContractTermsType" abstract="false" lazy="false" extends="ESADContractCostType" table="`esadmaincontracttermstype`">
> <meta attribute="eclassName">ESADMainContractTermsType</meta>
> <meta attribute="epackage">urn:customs.ru:ESADCommonAggregateTypes:3.0.1 </meta>
> <key>
> <column name="`esadcontractcosttype_e_id`"/>
> </key>
> <property name="tradeCountryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`tradecountrycode`"/>
> </property>
> <property name="additionalFinancialData" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
> <column not-null="false" unique="false" name="`additionalfinancialdata`" length="250"/>
> </property>
> <many-to-one name="eSADDeliveryTerms" entity-name="DeliveryTermsType" cascade="all" lazy="false" insert="true" update="true" not-null="false">
> <column not-null="false" unique="false" name="`deliverytermstype_esad_id`"/>
> </many-to-one>
> <list name="financialDocuments" lazy="true" casc
|
|
|
|
|
|