Rev 1310 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping
PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="pt.estgp.estgweb.domain.SessionObject" table="session_object" abstract="true">
<meta attribute="extends">pt.estgp.estgweb.domain.DomainSerializableObject</meta>
<meta attribute="scope-class">public abstract</meta>
<composite-id name="id" class="pt.estgp.estgweb.domain.SessionObjectId">
<meta attribute="scope-class">public</meta>
<meta attribute="extends"></meta>
<key-property name="keyId" type="string" column="keyId" length="255"/>
<key-many-to-one name="userSession" class="pt.estgp.estgweb.domain.UserSession">
<column name="cookie"/>
</key-many-to-one>
</composite-id>
<discriminator column="discrimitator"/>
<timestamp name="updateDate" unsaved-value="null"/>
<property name="saveDate" type="timestamp"/>
<property name="type" type="string"/>
<property name="object" type="java.io.Serializable">
<column name="object" sql-type="LONGBLOB"/>
</property>
<subclass name="pt.estgp.estgweb.domain.SessionObjectImpl" discriminator-value="SessionObjectImpl"/>
</class>
</hibernate-mapping>