| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Attention: Generated code! Do not modify by hand! |
| Generated by: hibernate.hbm.xml.vsl in andromda-hibernate-cartridge. |
| --> |
| <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
| "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
| |
| <hibernate-mapping default-cascade="$entity.hibernateDefaultCascade"> |
| <class name="com.tickets.common.util.registry.ClassRegistryEntry" table="CLASS_REGISTRY_ENTRY" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="className" type="java.lang.String"> |
| <column name="CLASS_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <class name="com.tickets.account.domain.ReturnRule" table="RETURN_RULE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.Long" unsaved-value="null"> |
| <column name="ID" sql-type="BIGINT"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="dateRange" type="com.tickets.common.util.DateRange"> |
| <column name="DATE_RANGE" not-null="true" unique="false" sql-type="tdc_datatype::DateRange"/> |
| </property> |
| <property name="active" type="boolean"> |
| <column name="ACTIVE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <property name="priority" type="int"> |
| <column name="PRIORITY" not-null="true" unique="false" sql-type="INTEGER"/> |
| </property> |
| <class name="com.tickets.common.domain.Correspondence" table="CORRESPONDENCE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="contactDate" type="java.util.Date"> |
| <column name="CONTACT_DATE" not-null="true" unique="false" sql-type="DATE"/> |
| </property> |
| <property name="closeDate" type="java.util.Date"> |
| <column name="CLOSE_DATE" not-null="true" unique="false" sql-type="DATE"/> |
| </property> |
| <property name="followupDate" type="java.util.Date"> |
| <column name="FOLLOWUP_DATE" not-null="true" unique="false" sql-type="DATE"/> |
| </property> |
| <property name="resolved" type="boolean"> |
| <column name="RESOLVED" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <class name="com.tickets.common.trait.EnumeratedTrait" table="ENUMERATED_TRAIT" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="values" type="java.util.Collection"> |
| <column name="VALUES" not-null="true" unique="false" sql-type="datatype::Collection"/> |
| </property> |
| <class name="com.tickets.account.domain.Account" table="ACCOUNT" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="traitMap" type="java.util.Map"> |
| <column name="TRAIT_MAP" not-null="true" unique="false" sql-type="datatype::Map"/> |
| </property> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <set name="accountTypes" order-by="ACCOUNT_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="ACCOUNTTYPE_ACCOUNT_FKC"> |
| <column name="ACCOUNT_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="$otherEnd.type.fullyQualifiedEntityImplementationName"/> |
| </set> |
| <set name="entries" order-by="ACCOUNT_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="ACCOUNT_ENTRY_ACCOUNT_FKC"> |
| <column name="ACCOUNT_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.account.domain.AccountEntry"/> |
| </set> |
| <set name="serviceAgreements" order-by="ACCOUNT_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="SERVICE_AGREEMENT_ACCOUNT_FKC"> |
| <column name="ACCOUNT_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.contract.domain.ServiceAgreement"/> |
| </set> |
| <set name="orders" order-by="ACCOUNT_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="ORDER_ACCOUNT_FKC"> |
| <column name="ACCOUNT_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.order.domain.Order"/> |
| </set> |
| <many-to-one name="primaryOwner" class="com.tickets.patron.domain.Party" foreign-key="ACCOUNT_PRIMARY_OWNER_FKC" lazy="proxy" fetch="select"> |
| <column name="PRIMARY_OWNER_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <many-to-one name="owners" class="com.tickets.patron.domain.Party" foreign-key="ACCOUNT_OWNERS_FKC" lazy="proxy" fetch="select"> |
| <column name="OWNERS_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <class name="com.tickets.contract.domain.ItemSlidingScaleCalculation" table="ITEM_SLIDING_SCALE_CALCULATION" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="feeScale" class="com.tickets.contract.domain.FeeScale" foreign-key="ABSTRACT_SLIDING_SCALE_CALCULA" lazy="proxy" fetch="select"> |
| <column name="FEE_SCALE_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="code" type="java.lang.String"> |
| <column name="CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="upperFeeCap" type="com.tickets.common.util.Money"> |
| <column name="UPPER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <property name="lowerFeeCap" type="com.tickets.common.util.Money"> |
| <column name="LOWER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <many-to-one name="feeCalculationType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="ABSTRACT_FEE_CALCULATION_nullC" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.contract.domain.FeeScale" table="FEE_SCALE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <set name="feeSchedule" order-by="FEE_SCALE_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="FEE_SCALE_ENTRY_FEE_SCALE_FKC"> |
| <column name="FEE_SCALE_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.contract.domain.FeeScaleEntry"/> |
| </set> |
| <class name="com.tickets.account.domain.Ledger" table="LEDGER" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="traitMap" type="java.util.Map"> |
| <column name="TRAIT_MAP" not-null="true" unique="false" sql-type="datatype::Map"/> |
| </property> |
| <set name="accounts" order-by="LEDGER_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="ACCOUNT_LEDGER_FKC"> |
| <column name="LEDGER_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.account.domain.Account"/> |
| </set> |
| <many-to-one name="owner" class="com.tickets.patron.domain.Organization" foreign-key="LEDGER_OWNER_FKC" lazy="proxy" fetch="select"> |
| <column name="OWNER_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.contract.domain.FeeScaleEntry" table="FEE_SCALE_ENTRY" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.Long" unsaved-value="null"> |
| <column name="ID" sql-type="BIGINT"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="range" type="com.tickets.common.util.Range"> |
| <column name="RANGE" not-null="true" unique="false" sql-type="tdc_datatype::Range"/> |
| </property> |
| <property name="amount" type="com.tickets.common.util.Money"> |
| <column name="AMOUNT" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <class name="com.tickets.common.trait.IntegerCharacteristic" table="INTEGER_CHARACTERISTIC" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="trait" class="com.tickets.common.trait.Trait" foreign-key="CHARACTERISTIC_TRAIT_FKC" lazy="proxy" fetch="select"> |
| <column name="TRAIT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <property name="value" type="java.lang.Integer"> |
| <column name="VALUE" not-null="true" unique="false" sql-type="INTEGER"/> |
| </property> |
| <class name="com.tickets.fulfillment.domain.DispositionLineItem" table="DISPOSITION_LINE_ITEM" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="dateCreated" type="java.util.Date"> |
| <column name="DATE_CREATED" not-null="true" unique="false" sql-type="DATE"/> |
| </property> |
| <property name="active" type="boolean"> |
| <column name="ACTIVE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <many-to-one name="disposition" class="com.tickets.fulfillment.domain.Disposition" foreign-key="DISPOSITION_LINE_ITEM_DISPOSIT" lazy="proxy" fetch="select"> |
| <column name="DISPOSITION_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.contract.domain.FixedCalculation" table="FIXED_CALCULATION" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="code" type="java.lang.String"> |
| <column name="CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="upperFeeCap" type="com.tickets.common.util.Money"> |
| <column name="UPPER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <property name="lowerFeeCap" type="com.tickets.common.util.Money"> |
| <column name="LOWER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <many-to-one name="feeCalculationType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="ABSTRACT_FEE_CALCULATION_nullC" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.account.domain.ExchangeRule" table="EXCHANGE_RULE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.Long" unsaved-value="null"> |
| <column name="ID" sql-type="BIGINT"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="dateRange" type="com.tickets.common.util.DateRange"> |
| <column name="DATE_RANGE" not-null="true" unique="false" sql-type="tdc_datatype::DateRange"/> |
| </property> |
| <property name="active" type="boolean"> |
| <column name="ACTIVE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <property name="priority" type="int"> |
| <column name="PRIORITY" not-null="true" unique="false" sql-type="INTEGER"/> |
| </property> |
| <class name="com.tickets.account.domain.PaymentRule" table="PAYMENT_RULE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.Long" unsaved-value="null"> |
| <column name="ID" sql-type="BIGINT"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="dateRange" type="com.tickets.common.util.DateRange"> |
| <column name="DATE_RANGE" not-null="true" unique="false" sql-type="tdc_datatype::DateRange"/> |
| </property> |
| <property name="active" type="boolean"> |
| <column name="ACTIVE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <property name="priority" type="int"> |
| <column name="PRIORITY" not-null="true" unique="false" sql-type="INTEGER"/> |
| </property> |
| <class name="com.tickets.common.trait.SelectionCharacteristic" table="SELECTION_CHARACTERISTIC" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="trait" class="com.tickets.common.trait.Trait" foreign-key="CHARACTERISTIC_TRAIT_FKC" lazy="proxy" fetch="select"> |
| <column name="TRAIT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <property name="values" type="java.util.Collection"> |
| <column name="VALUES" not-null="true" unique="false" sql-type="datatype::Collection"/> |
| </property> |
| <property name="multiSelect" type="boolean"> |
| <column name="MULTI_SELECT" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <class name="com.tickets.common.domain.DynamicBusinessRule" table="DYNAMIC_BUSINESS_RULE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <class name="com.tickets.common.domain.AbstractBusinessRule" table="ABSTRACT_BUSINESS_RULE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <class name="com.tickets.common.trait.TraitRegistrarEntry" table="TRAIT_REGISTRAR_ENTRY" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="classId" type="java.lang.String"> |
| <column name="CLASS_ID" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="traits" type="java.util.Set"> |
| <column name="TRAITS" not-null="true" unique="false" sql-type="datatype::Set"/> |
| </property> |
| <class name="com.tickets.common.domain.CreditCard" table="CREDIT_CARD" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="number" type="java.lang.String"> |
| <column name="NUMBER" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="expirationMonth" type="java.lang.String"> |
| <column name="EXPIRATION_MONTH" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="expirationYear" type="java.lang.String"> |
| <column name="EXPIRATION_YEAR" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <many-to-one name="party" class="com.tickets.patron.domain.Party" foreign-key="CREDIT_CARD_PARTY_FKC" lazy="proxy" fetch="select"> |
| <column name="PARTY_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <many-to-one name="creditCardType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="CREDIT_CARD_nullC" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.contract.domain.FeeTemplate" table="FEE_TEMPLATE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="code" type="java.lang.String"> |
| <column name="CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="applicant" type="java.lang.String"> |
| <column name="APPLICANT" not-null="true" unique="false" sql-type="com::tickets::patron::domain::Organization"/> |
| </property> |
| <property name="feeType" type="com.tickets.contract.domain.FeeType"> |
| <column name="FEE_TYPE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="feeCalculationType" type="com.tickets.contract.domain.FeeCalculationType"> |
| <column name="FEE_CALCULATION_TYPE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="validFrom" type="java.util.Date"> |
| <column name="VALID_FROM" not-null="true" unique="false" sql-type="DATE"/> |
| </property> |
| <property name="validTo" type="java.util.Date"> |
| <column name="VALID_TO" not-null="true" unique="false" sql-type="DATE"/> |
| </property> |
| <property name="enabled" type="boolean"> |
| <column name="ENABLED" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <class name="com.tickets.payment.domain.CreditCardPaymentMethod" table="CREDIT_CARD_PAYMENT_METHOD" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.Long" unsaved-value="null"> |
| <column name="ID" sql-type="BIGINT"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="creditCardType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="CREDIT_CARD_PAYMENT_METHOD_nul" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.patron.domain.Person" table="PERSON" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="phonetics" type="java.lang.String"> |
| <column name="PHONETICS" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="formattedName" type="java.lang.String"> |
| <column name="FORMATTED_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="formatOverride" type="boolean"> |
| <column name="FORMAT_OVERRIDE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <property name="active" type="boolean"> |
| <column name="ACTIVE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <set name="creditCards" order-by="PARTY_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="CREDIT_CARD_PARTY_FKC"> |
| <column name="PARTY_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.common.domain.CreditCard"/> |
| </set> |
| <set name="contacts" order-by="PARTY_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="CONTACT_PARTY_FKC"> |
| <column name="PARTY_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.common.domain.Contact"/> |
| </set> |
| <set name="notes" order-by="PARTY_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="CORRESPONDENCE_PARTY_FKC"> |
| <column name="PARTY_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.common.domain.Correspondence"/> |
| </set> |
| <set name="linkedPatrons" order-by="PARTY_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="PATRON_LINK_PARTY_FKC"> |
| <column name="PARTY_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.patron.domain.PatronLink"/> |
| </set> |
| <many-to-one name="subordinate" class="com.tickets.patron.domain.Party" foreign-key="PARTY_SUBORDINATE_FKC" lazy="proxy" fetch="select"> |
| <column name="SUBORDINATE_FK" not-null="false" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <property name="traitMap" type="java.util.Map"> |
| <column name="TRAIT_MAP" not-null="true" unique="false" sql-type="datatype::Map"/> |
| </property> |
| <property name="firstName" type="java.lang.String"> |
| <column name="FIRST_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(50)"/> |
| </property> |
| <property name="middleName" type="java.lang.String"> |
| <column name="MIDDLE_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="lastName" type="java.lang.String"> |
| <column name="LAST_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="formalSalutation" type="java.lang.String"> |
| <column name="FORMAL_SALUTATION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="salutationOverride" type="boolean"> |
| <column name="SALUTATION_OVERRIDE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <property name="namePrefix" type="java.lang.String"> |
| <column name="NAME_PREFIX" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="nameSuffix" type="java.lang.String"> |
| <column name="NAME_SUFFIX" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <class name="com.tickets.contract.domain.PriceSlidingScaleCalculation" table="PRICE_SLIDING_SCALE_CALCULATIO" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="feeScale" class="com.tickets.contract.domain.FeeScale" foreign-key="ABSTRACT_SLIDING_SCALE_CALCULA" lazy="proxy" fetch="select"> |
| <column name="FEE_SCALE_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="code" type="java.lang.String"> |
| <column name="CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="upperFeeCap" type="com.tickets.common.util.Money"> |
| <column name="UPPER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <property name="lowerFeeCap" type="com.tickets.common.util.Money"> |
| <column name="LOWER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <many-to-one name="feeCalculationType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="ABSTRACT_FEE_CALCULATION_nullC" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.contract.domain.DynamicFeeCalculation" table="DYNAMIC_FEE_CALCULATION" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="code" type="java.lang.String"> |
| <column name="CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="upperFeeCap" type="com.tickets.common.util.Money"> |
| <column name="UPPER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <property name="lowerFeeCap" type="com.tickets.common.util.Money"> |
| <column name="LOWER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <many-to-one name="feeCalculationType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="ABSTRACT_FEE_CALCULATION_nullC" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.account.domain.TransferRule" table="TRANSFER_RULE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.Long" unsaved-value="null"> |
| <column name="ID" sql-type="BIGINT"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="dateRange" type="com.tickets.common.util.DateRange"> |
| <column name="DATE_RANGE" not-null="true" unique="false" sql-type="tdc_datatype::DateRange"/> |
| </property> |
| <property name="active" type="boolean"> |
| <column name="ACTIVE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <property name="priority" type="int"> |
| <column name="PRIORITY" not-null="true" unique="false" sql-type="INTEGER"/> |
| </property> |
| <class name="com.tickets.common.domain.Operator" table="OPERATOR" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="traitMap" type="java.util.Map"> |
| <column name="TRAIT_MAP" not-null="true" unique="false" sql-type="datatype::Map"/> |
| </property> |
| <property name="firstName" type="java.lang.String"> |
| <column name="FIRST_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="lastName" type="java.lang.String"> |
| <column name="LAST_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="login" type="java.lang.String"> |
| <column name="LOGIN" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="password" type="java.lang.String"> |
| <column name="PASSWORD" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <many-to-one name="role" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="OPERATOR_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.order.domain.TransferTransaction" table="TRANSFER_TRANSACTION" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <set name="destinationAccount" order-by="TRANSFER_TRANSACTION_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="ACCOUNT_TRANSFER_TRANSACTION_F"> |
| <column name="TRANSFER_TRANSACTION_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.account.domain.Account"/> |
| </set> |
| <class name="com.tickets.common.trait.CurrencyCharacteristic" table="CURRENCY_CHARACTERISTIC" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="trait" class="com.tickets.common.trait.Trait" foreign-key="CHARACTERISTIC_TRAIT_FKC" lazy="proxy" fetch="select"> |
| <column name="TRAIT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <property name="value" type="com.tickets.common.util.Money"> |
| <column name="VALUE" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <class name="com.tickets.common.domain.AbstractItem" table="ABSTRACT_ITEM" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="amount" type="com.tickets.common.util.Money"> |
| <column name="AMOUNT" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <class name="com.tickets.account.domain.AccountEntry" table="ACCOUNT_ENTRY" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="date" type="java.util.Date"> |
| <column name="DATE" not-null="true" unique="false" sql-type="DATE"/> |
| </property> |
| <property name="amount" type="com.tickets.common.util.Money"> |
| <column name="AMOUNT" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <property name="transaction" type="com.tickets.common.util.Money"> |
| <column name="TRANSACTION" not-null="true" unique="false" sql-type="com::tickets::account::domain::AccountTransaction"/> |
| </property> |
| <many-to-one name="accountEntryType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="ACCOUNT_ENTRY_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <many-to-one name="account" class="com.tickets.account.domain.Account" foreign-key="ACCOUNT_ENTRY_ACCOUNT_FKC" lazy="proxy" fetch="select"> |
| <column name="ACCOUNT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <class name="com.tickets.common.domain.Address" table="ADDRESS" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="rankingType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="CONTACT_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <many-to-one name="usageType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="CONTACT_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <many-to-one name="party" class="com.tickets.patron.domain.Party" foreign-key="CONTACT_PARTY_FKC" lazy="proxy" fetch="select"> |
| <column name="PARTY_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <property name="address1" type="java.lang.String"> |
| <column name="ADDRESS1" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="address2" type="java.lang.String"> |
| <column name="ADDRESS2" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="city" type="java.lang.String"> |
| <column name="CITY" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="zipCode" type="java.lang.String"> |
| <column name="ZIP_CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <set name="phoneNumbers" order-by="ADDRESS_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="PHONE_ADDRESS_FKC"> |
| <column name="ADDRESS_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.common.domain.Phone"/> |
| </set> |
| <set name="labels" order-by="ADDRESS_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="LABEL_TYPE_ADDRESS_FKC"> |
| <column name="ADDRESS_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.common.domain.LabelType"/> |
| </set> |
| <many-to-one name="country" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="ADDRESS_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <many-to-one name="state" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="ADDRESS_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.common.domain.LabelType" table="LABEL_TYPE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="active" type="boolean"> |
| <column name="ACTIVE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <many-to-one name="template" class="com.tickets.common.domain.LabelTemplate" foreign-key="LABEL_TYPE_TEMPLATE_FKC" lazy="proxy" fetch="select"> |
| <column name="TEMPLATE_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.payment.domain.Payment" table="PAYMENT" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="paymentType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="PAYMENT_nullC" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.payment.domain.PurchaseOrder" table="PURCHASE_ORDER" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="poNumber" type="java.lang.String"> |
| <column name="PO_NUMBER" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="contact" type="java.lang.String"> |
| <column name="CONTACT" not-null="true" unique="false" sql-type="com::tickets::patron::domain::Person"/> |
| </property> |
| <class name="com.tickets.common.audit.Audit" table="AUDIT" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="modifiedBy" type="java.lang.String"> |
| <column name="MODIFIED_BY" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="modifiedOn" type="java.util.Date"> |
| <column name="MODIFIED_ON" not-null="true" unique="false" sql-type="DATE"/> |
| </property> |
| <many-to-one name="auditable" class="com.tickets.common.domain.DomainObject" foreign-key="AUDIT_AUDITABLE_FKC" lazy="proxy" fetch="select"> |
| <column name="AUDITABLE_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <many-to-one name="auditType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="AUDIT_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.contract.domain.PaymentMethod" table="PAYMENT_METHOD" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.Long" unsaved-value="null"> |
| <column name="ID" sql-type="BIGINT"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="code" type="java.lang.String"> |
| <column name="CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <many-to-one name="paymentType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="PAYMENT_METHOD_nullC" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.order.domain.Order" table="ORDER" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="dateCreated" type="java.util.Date"> |
| <column name="DATE_CREATED" not-null="true" unique="false" sql-type="DATE"/> |
| </property> |
| <set name="lineItems" order-by="ORDER_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="LINEITEM_ORDER_FKC"> |
| <column name="ORDER_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="$otherEnd.type.fullyQualifiedEntityImplementationName"/> |
| </set> |
| <many-to-one name="orderTransaction" class="com.tickets.order.domain.OrderTransaction" foreign-key="ORDER_ORDER_TRANSACTION_FKC" lazy="proxy" fetch="select"> |
| <column name="ORDER_TRANSACTION_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <many-to-one name="account" class="com.tickets.account.domain.Account" foreign-key="ORDER_ACCOUNT_FKC" lazy="proxy" fetch="select"> |
| <column name="ACCOUNT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <set name="merchant" order-by="ORDER_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="PARTY_ORDER_FKC"> |
| <column name="ORDER_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.patron.domain.Party"/> |
| </set> |
| <class name="com.tickets.order.domain.OrderTransaction" table="ORDER_TRANSACTION" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="amount" type="com.tickets.common.util.Money"> |
| <column name="AMOUNT" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <property name="dateCreated" type="com.tickets.common.util.DateTime"> |
| <column name="DATE_CREATED" not-null="true" unique="false" sql-type="TIMESTAMP WITHOUT TIME ZONE"/> |
| </property> |
| <property name="operator" type="com.tickets.common.util.DateTime"> |
| <column name="OPERATOR" not-null="true" unique="false" sql-type="com::tickets::common::domain::Operator"/> |
| </property> |
| <set name="lineItems" order-by="ORDER_TRANSACTION_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="LINEITEM_ORDER_TRANSACTION_FKC"> |
| <column name="ORDER_TRANSACTION_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="$otherEnd.type.fullyQualifiedEntityImplementationName"/> |
| </set> |
| <many-to-one name="accountTransaction" class="com.tickets.account.domain.AccountTransaction" foreign-key="ORDER_TRANSACTION_ACCOUNT_TRAN" lazy="proxy" fetch="select"> |
| <column name="ACCOUNT_TRANSACTION_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <set name="orderTransactions" order-by="ORDER_TRANSACTION_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="ORDER_TRANSACTION_ORDER_TRANSA"> |
| <column name="ORDER_TRANSACTION_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.order.domain.OrderTransaction"/> |
| </set> |
| <many-to-one name="orderTransaction" class="com.tickets.order.domain.OrderTransaction" foreign-key="ORDER_TRANSACTION_ORDER_TRANSA" lazy="proxy" fetch="select"> |
| <column name="ORDER_TRANSACTION_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <many-to-one name="order" class="com.tickets.order.domain.Order" foreign-key="ORDER_TRANSACTION_ORDER_FKC" lazy="proxy" fetch="select"> |
| <column name="ORDER_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <many-to-one name="merchant" class="com.tickets.patron.domain.Organization" foreign-key="ORDER_TRANSACTION_MERCHANT_FKC" lazy="proxy" fetch="select"> |
| <column name="MERCHANT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.payment.domain.CheckPayment" table="CHECK_PAYMENT" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="bankRoute" type="java.lang.String"> |
| <column name="BANK_ROUTE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="bankAccount" type="java.lang.String"> |
| <column name="BANK_ACCOUNT" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="bankName" type="java.lang.String"> |
| <column name="BANK_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="bankAccountName" type="java.lang.String"> |
| <column name="BANK_ACCOUNT_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <class name="com.tickets.payment.domain.CreditCardPayment" table="CREDIT_CARD_PAYMENT" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="creditCard" class="com.tickets.common.domain.CreditCard" cascade="delete" foreign-key="CREDIT_CARD_PAYMENT_CREDIT_CAR" lazy="false" fetch="select"> |
| <column name="CREDIT_CARD_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.common.trait.StringLiteralCharacteristic" table="STRING_LITERAL_CHARACTERISTIC" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="trait" class="com.tickets.common.trait.Trait" foreign-key="CHARACTERISTIC_TRAIT_FKC" lazy="proxy" fetch="select"> |
| <column name="TRAIT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <property name="value" type="java.lang.String"> |
| <column name="VALUE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="multiLine" type="boolean"> |
| <column name="MULTI_LINE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <class name="com.tickets.common.trait.DatetimeCharacteristic" table="DATETIME_CHARACTERISTIC" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="trait" class="com.tickets.common.trait.Trait" foreign-key="CHARACTERISTIC_TRAIT_FKC" lazy="proxy" fetch="select"> |
| <column name="TRAIT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <property name="value" type="com.tickets.common.util.DateTime"> |
| <column name="VALUE" not-null="true" unique="false" sql-type="TIMESTAMP WITHOUT TIME ZONE"/> |
| </property> |
| <class name="com.tickets.common.domain.Email" table="EMAIL" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="rankingType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="CONTACT_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <many-to-one name="usageType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="CONTACT_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <many-to-one name="party" class="com.tickets.patron.domain.Party" foreign-key="CONTACT_PARTY_FKC" lazy="proxy" fetch="select"> |
| <column name="PARTY_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <property name="emailAddress" type="java.lang.String"> |
| <column name="EMAIL_ADDRESS" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <class name="com.tickets.fulfillment.domain.Disposition" table="DISPOSITION" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="code" type="java.lang.String"> |
| <column name="CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <many-to-one name="dispositionType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="DISPOSITION_nullC" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.patron.domain.Organization" table="ORGANIZATION" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="phonetics" type="java.lang.String"> |
| <column name="PHONETICS" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="formattedName" type="java.lang.String"> |
| <column name="FORMATTED_NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="formatOverride" type="boolean"> |
| <column name="FORMAT_OVERRIDE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <property name="active" type="boolean"> |
| <column name="ACTIVE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <set name="creditCards" order-by="PARTY_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="CREDIT_CARD_PARTY_FKC"> |
| <column name="PARTY_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.common.domain.CreditCard"/> |
| </set> |
| <set name="contacts" order-by="PARTY_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="CONTACT_PARTY_FKC"> |
| <column name="PARTY_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.common.domain.Contact"/> |
| </set> |
| <set name="notes" order-by="PARTY_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="CORRESPONDENCE_PARTY_FKC"> |
| <column name="PARTY_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.common.domain.Correspondence"/> |
| </set> |
| <set name="linkedPatrons" order-by="PARTY_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="PATRON_LINK_PARTY_FKC"> |
| <column name="PARTY_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.patron.domain.PatronLink"/> |
| </set> |
| <many-to-one name="subordinate" class="com.tickets.patron.domain.Party" foreign-key="PARTY_SUBORDINATE_FKC" lazy="proxy" fetch="select"> |
| <column name="SUBORDINATE_FK" not-null="false" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <property name="traitMap" type="java.util.Map"> |
| <column name="TRAIT_MAP" not-null="true" unique="false" sql-type="datatype::Map"/> |
| </property> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <set name="children" order-by="PARENT_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="ORGANIZATION_PARENT_FKC"> |
| <column name="PARENT_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.patron.domain.Organization"/> |
| </set> |
| <many-to-one name="parent" class="com.tickets.patron.domain.Organization" foreign-key="ORGANIZATION_PARENT_FKC" lazy="proxy" fetch="select"> |
| <column name="PARENT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <class name="com.tickets.patron.domain.PatronLink" table="PATRON_LINK" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="patron" class="com.tickets.patron.domain.Party" foreign-key="PATRON_LINK_PATRON_FKC" lazy="proxy" fetch="select"> |
| <column name="PATRON_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.account.domain.AccountTransaction" table="ACCOUNT_TRANSACTION" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="posted" type="boolean"> |
| <column name="POSTED" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <set name="accountEntries" order-by="ACCOUNT_TRANSACTION_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="ACCOUNT_ENTRY_ACCOUNT_TRANSACT"> |
| <column name="ACCOUNT_TRANSACTION_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.account.domain.AccountEntry"/> |
| </set> |
| <many-to-one name="orderTransaction" class="com.tickets.order.domain.OrderTransaction" foreign-key="ACCOUNT_TRANSACTION_ORDER_TRAN" lazy="proxy" fetch="select"> |
| <column name="ORDER_TRANSACTION_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.contract.domain.Fee" table="FEE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <set name="feeTemplates" order-by="FEE_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="FEE_TEMPLATE_FEE_FKC"> |
| <column name="FEE_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.contract.domain.FeeTemplate"/> |
| </set> |
| <class name="com.tickets.account.domain.SaleRule" table="SALE_RULE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.Long" unsaved-value="null"> |
| <column name="ID" sql-type="BIGINT"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="dateRange" type="com.tickets.common.util.DateRange"> |
| <column name="DATE_RANGE" not-null="true" unique="false" sql-type="tdc_datatype::DateRange"/> |
| </property> |
| <property name="active" type="boolean"> |
| <column name="ACTIVE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <property name="priority" type="int"> |
| <column name="PRIORITY" not-null="true" unique="false" sql-type="INTEGER"/> |
| </property> |
| <class name="com.tickets.common.trait.Trait" table="TRAIT" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="required" type="boolean"> |
| <column name="REQUIRED" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <set name="children" order-by="PARENT_FK" lazy="true" fetch="select" inverse="true"> |
| <key foreign-key="TRAIT_PARENT_FKC"> |
| <column name="PARENT_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.common.trait.Trait"/> |
| </set> |
| <many-to-one name="parent" class="com.tickets.common.trait.Trait" foreign-key="TRAIT_PARENT_FKC" lazy="proxy" fetch="select"> |
| <column name="PARENT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <many-to-one name="traitType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="TRAIT_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <class name="com.tickets.common.domain.Phone" table="PHONE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="rankingType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="CONTACT_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <many-to-one name="usageType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" foreign-key="CONTACT_nullC" lazy="proxy" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| <many-to-one name="party" class="com.tickets.patron.domain.Party" foreign-key="CONTACT_PARTY_FKC" lazy="proxy" fetch="select"> |
| <column name="PARTY_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <property name="countryCode" type="java.lang.String"> |
| <column name="COUNTRY_CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="areaCode" type="java.lang.String"> |
| <column name="AREA_CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="localNumber" type="java.lang.String"> |
| <column name="LOCAL_NUMBER" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="extension" type="java.lang.String"> |
| <column name="EXTENSION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="phoneDisplay" type="java.lang.String"> |
| <column name="PHONE_DISPLAY" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="telemarket" type="boolean"> |
| <column name="TELEMARKET" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <many-to-one name="address" class="com.tickets.common.domain.Address" foreign-key="PHONE_ADDRESS_FKC" lazy="proxy" fetch="select"> |
| <column name="ADDRESS_FK" not-null="true" sql-type="CHARACTER VARYING(1024)"/> |
| </many-to-one> |
| <class name="com.tickets.contract.domain.ServiceAgreement" table="SERVICE_AGREEMENT" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="validDuring" type="com.tickets.common.util.DateRange"> |
| <column name="VALID_DURING" not-null="true" unique="false" sql-type="tdc_datatype::DateRange"/> |
| </property> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <set name="postingRules" order-by="SERVICE_AGREEMENT_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="POSTINGRULE_SERVICE_AGREEMENT_"> |
| <column name="SERVICE_AGREEMENT_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="$otherEnd.type.fullyQualifiedEntityImplementationName"/> |
| </set> |
| <set name="fees" order-by="SERVICE_AGREEMENT_FK" lazy="true" fetch="select" inverse="false"> |
| <key foreign-key="FEE_TEMPLATE_SERVICE_AGREEMENT"> |
| <column name="SERVICE_AGREEMENT_FK" sql-type="CHARACTER VARYING(1024)"/> |
| </key> |
| <one-to-many class="com.tickets.contract.domain.FeeTemplate"/> |
| </set> |
| <class name="com.tickets.common.domain.LabelTemplate" table="LABEL_TEMPLATE" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="body" type="java.lang.String"> |
| <column name="BODY" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="height" type="int"> |
| <column name="HEIGHT" not-null="true" unique="false" sql-type="INTEGER"/> |
| </property> |
| <property name="width" type="int"> |
| <column name="WIDTH" not-null="true" unique="false" sql-type="INTEGER"/> |
| </property> |
| <property name="font" type="java.lang.String"> |
| <column name="FONT" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="fontSize" type="int"> |
| <column name="FONT_SIZE" not-null="true" unique="false" sql-type="INTEGER"/> |
| </property> |
| <class name="com.tickets.common.trait.BooleanCharacteristic" table="BOOLEAN_CHARACTERISTIC" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <many-to-one name="trait" class="com.tickets.common.trait.Trait" foreign-key="CHARACTERISTIC_TRAIT_FKC" lazy="proxy" fetch="select"> |
| <column name="TRAIT_FK" not-null="true" sql-type="CHARACTER VARYING(1024)" unique="true"/> |
| </many-to-one> |
| <property name="value" type="java.lang.Boolean"> |
| <column name="VALUE" not-null="true" unique="false" sql-type="BOOLEAN"/> |
| </property> |
| <class name="com.tickets.contract.domain.PercentageCalculation" table="PERCENTAGE_CALCULATION" dynamic-insert="false" dynamic-update="false"> |
| <id name="id" type="java.lang.String" unsaved-value="null"> |
| <column name="ID" sql-type="CHARACTER VARYING(1024)"/> |
| <generator class="com.tickets.common.util.hibernate.IdGenerator"> |
| </generator> |
| </id> |
| <property name="name" type="java.lang.String"> |
| <column name="NAME" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="code" type="java.lang.String"> |
| <column name="CODE" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="description" type="java.lang.String"> |
| <column name="DESCRIPTION" not-null="true" unique="false" sql-type="CHARACTER VARYING(1024)"/> |
| </property> |
| <property name="upperFeeCap" type="com.tickets.common.util.Money"> |
| <column name="UPPER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <property name="lowerFeeCap" type="com.tickets.common.util.Money"> |
| <column name="LOWER_FEE_CAP" not-null="true" unique="false" sql-type="DOUBLE PRECISION"/> |
| </property> |
| <many-to-one name="feeCalculationType" class="$otherEnd.type.fullyQualifiedEntityImplementationName" cascade="delete" foreign-key="ABSTRACT_FEE_CALCULATION_nullC" lazy="false" fetch="select"> |
| <column name="$otherEnd.columnName" not-null="true" sql-type="$otherEnd.sqlType" unique="true"/> |
| </many-to-one> |
| </class> |
| </hibernate-mapping> |