Rev 1310 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
163 | jmachado | 1 | <?xml version="1.0"?> |
2 | <!DOCTYPE hibernate-mapping |
||
3 | PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
||
4 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
||
5 | |||
6 | <hibernate-mapping> |
||
7 | <class name="pt.estgp.estgweb.domain.Reminder" table="reminder" abstract="true"> |
||
8 | <meta attribute="extends">pt.estgp.estgweb.domain.OwnedDomainObject</meta> |
||
9 | <meta attribute="scope-class">public abstract</meta> |
||
10 | <id name="id" type="long"> |
||
11 | <generator class="native"/> |
||
12 | </id> |
||
13 | <discriminator column="discrimitator"/> |
||
1547 | jmachado | 14 | <timestamp name="updateDate" unsaved-value="null"/> |
163 | jmachado | 15 | <property name="saveDate" type="timestamp"/> |
16 | <property name="startDate" type="timestamp"/> |
||
17 | <property name="expireDate" type="timestamp"/> |
||
18 | <property name="text" type="text"/> |
||
19 | <many-to-one name="owner" class="pt.estgp.estgweb.domain.GenericUser" lazy="false" outer-join="true"/> |
||
20 | <subclass name="pt.estgp.estgweb.domain.ReminderImpl" discriminator-value="ReminderImpl"/> |
||
21 | </class> |
||
22 | </hibernate-mapping> |