source: ccr/trunk/nhin-vista/projects/NHINC/Current/Product/Production/Gateway/AggregatorLib/conf/AggTransaction.hbm.xml@ 507

Last change on this file since 507 was 507, checked in by George Lilly, 15 years ago

NHIN gateway and adaptor for use on linux with VistA EHR and RPMS

File size: 916 bytes
Line 
1<?xml version="1.0"?>
2<!DOCTYPE hibernate-mapping PUBLIC
3 "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
4 "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
5<hibernate-mapping package="gov.hhs.fha.nhinc.gateway.aggregator.model">
6 <class name="AggTransaction" table="agg_transaction">
7 <id name="transactionId" column="TransactionId" type="string" length="32">
8 <generator class="uuid" />
9 </id>
10 <property name="serviceType" column="ServiceType" type="string" length="64" not-null="true" />
11 <property name="transactionStartTime" column="TransactionStartTime" type="timestamp" not-null="false" />
12 <set name="aggMessageResults" inverse="true" lazy="false" cascade="all-delete-orphan">
13 <key column="transactionId"/>
14 <one-to-many class="gov.hhs.fha.nhinc.gateway.aggregator.model.AggMessageResult"/>
15 </set>
16
17 </class>
18</hibernate-mapping>
Note: See TracBrowser for help on using the repository browser.