Rev 1306 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1306 | Rev 1310 | ||
---|---|---|---|
1 | <?xml version="1.0"?> |
1 | <?xml version="1.0"?> |
2 | <!DOCTYPE hibernate-mapping |
2 | <!DOCTYPE hibernate-mapping |
3 | PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
3 | PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
4 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
4 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
5 | 5 | ||
6 | <hibernate-mapping> |
6 | <hibernate-mapping> |
7 | <class name="pt.estgp.estgweb.domain.SessionObject" table="session_object" abstract="true"> |
7 | <class name="pt.estgp.estgweb.domain.SessionObject" table="session_object" abstract="true"> |
8 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainSerializableObject</meta> |
8 | <meta attribute="extends">pt.estgp.estgweb.domain.DomainSerializableObject</meta> |
9 | <meta attribute="scope-class">public abstract</meta> |
9 | <meta attribute="scope-class">public abstract</meta> |
10 | <composite-id name="id" class="pt.estgp.estgweb.domain.SessionObjectId"> |
10 | <composite-id name="id" class="pt.estgp.estgweb.domain.SessionObjectId"> |
11 | <meta attribute="scope-class">public</meta> |
11 | <meta attribute="scope-class">public</meta> |
12 | <meta attribute="extends"></meta> |
12 | <meta attribute="extends"></meta> |
13 | <key-property name="keyId" type="string" column="keyId" length="255"/> |
13 | <key-property name="keyId" type="string" column="keyId" length="255"/> |
14 | <key-many-to-one name="userSession" class="pt.estgp.estgweb.domain.UserSession"> |
14 | <key-many-to-one name="userSession" class="pt.estgp.estgweb.domain.UserSession"> |
15 | <column name="cookie"/> |
15 | <column name="cookie"/> |
16 | </key-many-to-one> |
16 | </key-many-to-one> |
17 | </composite-id> |
17 | </composite-id> |
18 | <discriminator column="discrimitator"/> |
18 | <discriminator column="discrimitator"/> |
19 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
19 | <timestamp source="db" name="updateDate" unsaved-value="null"/> |
20 | <property name="saveDate" type="timestamp"/> |
20 | <property name="saveDate" type="timestamp"/> |
21 | <property name="type" type="string"/> |
21 | <property name="type" type="string"/> |
22 | <property name="object" type="java.io.Serializable"> |
22 | <property name="object" type="java.io.Serializable"> |
23 | <column name="object" sql-type="LONGBLOB"/> |
23 | <column name="object" sql-type="LONGBLOB"/> |
24 | </property> |
24 | </property> |
25 | <subclass name="pt.estgp.estgweb.domain.SessionObjectImpl" discriminator-value="SessionObjectImpl"/> |
25 | <subclass name="pt.estgp.estgweb.domain.SessionObjectImpl" discriminator-value="SessionObjectImpl"/> |
26 | </class> |
26 | </class> |
27 | </hibernate-mapping> |
27 | </hibernate-mapping> |