| Revision 775,
1.1 KB
checked in by philsmart, 2 years ago
(diff) |
|
|
-
Property svn:mime-type set to
text/plain
|
| 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 | |
|---|
| 6 | <hibernate-mapping> |
|---|
| 7 | |
|---|
| 8 | <class name="uk.ac.cardiff.raptor.registry.ReleaseInformation" table="release_information" dynamic-update="true" |
|---|
| 9 | dynamic-insert="false"> |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | <id name="persistantId" column="persistantId" type="long" |
|---|
| 13 | unsaved-value="0"> |
|---|
| 14 | <generator class="native"> |
|---|
| 15 | <param name="sequence">hib_release_information_seq</param> |
|---|
| 16 | </generator> |
|---|
| 17 | </id> |
|---|
| 18 | |
|---|
| 19 | |
|---|
| 20 | <property name="serviceEndpoint" column="serviceEndpoint" type="string" not-null="true"/> |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | <property name="lastReleasedEventTime" type="org.joda.time.contrib.hibernate.PersistentDateTime" |
|---|
| 24 | update="true" insert="true" column="lastReleasedEventTime" /> |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | <!-- Set is mapped through a collections table --> |
|---|
| 28 | <set name="latestEqualEntries" lazy="false"> |
|---|
| 29 | <key column="latestEqualEntries_id" /> |
|---|
| 30 | <many-to-many class="uk.ac.cardiff.model.event.Event"/> |
|---|
| 31 | </set> |
|---|
| 32 | |
|---|
| 33 | </class> |
|---|
| 34 | |
|---|
| 35 | </hibernate-mapping> |
|---|
Note: See
TracBrowser
for help on using the repository browser.