Rev 1 | Rev 146 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | fvelez | 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.SessionObject" table="session_object" abstract="true"> |
||
8 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainObject</meta> |
||
9 | <meta attribute="scope-class">public abstract</meta> |
||
10 | <composite-id name="id" class="pt.estgp.estgweb.domain.SessionObjectId"> |
||
11 | <meta attribute="scope-class">public</meta> |
||
12 | <key-property name="keyId" type="string" column="keyId" length="150"/> |
||
31 | jmachado | 13 | <key-many-to-one name="userSession" class="pt.estgp.estgweb.domain.UserSession"> |
14 | <column name="cookie"/> |
||
15 | </key-many-to-one> |
||
1 | fvelez | 16 | </composite-id> |
17 | <discriminator column="discrimitator"/> |
||
18 | <timestamp name="updateDate" unsaved-value="null"/> |
||
19 | <property name="saveDate" type="timestamp"/> |
||
20 | <property name="type" type="string"/> |
||
21 | <property name="xmlObject" type="text"/> |
||
22 | <subclass name="pt.estgp.estgweb.domain.SessionObjectImpl" discriminator-value="SessionObjectImpl"/> |
||
23 | </class> |
||
24 | </hibernate-mapping> |