Rev 129 | Rev 163 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
110 | susana | 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.CourseUnit" table="courseUnit" abstract="true"> |
||
146 | jmachado | 8 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainSerializableObject</meta> |
110 | susana | 9 | <meta attribute="scope-class">public abstract</meta> |
10 | <id name="id" type="long"> |
||
11 | <generator class="native"/> |
||
12 | </id> |
||
13 | <discriminator column="discrimitator"/> |
||
14 | <timestamp name="updateDate" unsaved-value="null"/> |
||
15 | <property name="saveDate" type="timestamp"/> |
||
16 | |||
17 | <property name="name" type="string"/> |
||
18 | <property name="code" type="string"/> |
||
19 | <property name="courseCode" type="string"/> |
||
20 | <property name="courseName" type="string" /> |
||
21 | <property name="courseYear" type="string" /> |
||
22 | <property name="institutionCode" type="string" /> |
||
23 | <property name="status" type="boolean" /> |
||
129 | susana | 24 | <many-to-one name="courseunit" class="pt.estgp.estgweb.domain.CourseUnit" lazy="false" outer-join="true"/> |
110 | susana | 25 | <subclass name="pt.estgp.estgweb.domain.CourseUnitImpl" discriminator-value="CourseUnitImpl"/> |
26 | </class> |
||
27 | </hibernate-mapping> |