Subversion Repositories bacoAlunos

Rev

Rev 1863 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1863 Rev 1992
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.Teste" table="teste" abstract="true">
7
    <class name="pt.estgp.estgweb.domain.Teste" table="teste" 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
        <id name="id" type="long">
10
        <id name="id" type="long">
11
            <generator class="native"/>
11
            <generator class="native"/>
12
        </id>
12
        </id>
13
        <discriminator column="discrimitator"/>
13
        <discriminator column="discrimitator"/>
14
        <timestamp source="db"   name="updateDate" unsaved-value="null"/>
14
        <timestamp   name="updateDate" unsaved-value="null"/>
15
        <property name="saveDate" type="timestamp"/>
15
        <property name="saveDate" type="timestamp"/>
16
        <property name="name" type="string"/>
16
        <property name="name" type="string"/>
17
        <property name="morada" type="string"/>
17
        <property name="morada" type="string"/>
18
        <subclass name="pt.estgp.estgweb.domain.TesteImpl" discriminator-value="TesteImpl"/>
18
        <subclass name="pt.estgp.estgweb.domain.TesteImpl" discriminator-value="TesteImpl"/>
19
    </class>
19
    </class>
20
</hibernate-mapping>
20
</hibernate-mapping>