Rev 1863 | 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"> |
||
146 | jmachado | 8 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainSerializableObject</meta> |
1 | fvelez | 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> |
||
146 | jmachado | 12 | <meta attribute="extends"></meta> |
223 | jmachado | 13 | <key-property name="keyId" type="string" column="keyId" length="255"/> |
31 | jmachado | 14 | <key-many-to-one name="userSession" class="pt.estgp.estgweb.domain.UserSession"> |
15 | <column name="cookie"/> |
||
16 | </key-many-to-one> |
||
1 | fvelez | 17 | </composite-id> |
18 | <discriminator column="discrimitator"/> |
||
1992 | grupo5 | 19 | <timestamp name="updateDate" unsaved-value="null"/> |
1 | fvelez | 20 | <property name="saveDate" type="timestamp"/> |
21 | <property name="type" type="string"/> |
||
162 | jmachado | 22 | <property name="object" type="java.io.Serializable"> |
23 | <column name="object" sql-type="LONGBLOB"/> |
||
24 | </property> |
||
1 | fvelez | 25 | <subclass name="pt.estgp.estgweb.domain.SessionObjectImpl" discriminator-value="SessionObjectImpl"/> |
26 | </class> |
||
27 | </hibernate-mapping> |