root/EpcILoN/src/main/resources/hbm/EventToPublish.hbm.xml @ 8fd1d584
2e0a7cb1 | Sylvain L. Sauvage | <?xml version="1.0" encoding="utf-8"?>
|
|
8fd1d584 | Rémy Ménard | <!DOCTYPE
|
|
2e0a7cb1 | Sylvain L. Sauvage | hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
|
"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
|||
<hibernate-mapping package="fr.unicaen.iota.epcilon.model"
|
|||
default-lazy="false">
|
|||
<class name="EventToPublish"
|
|||
table="EventToPublish">
|
|||
8fd1d584 | Rémy Ménard | <id column="id"
|
|
name="id"
|
|||
2e0a7cb1 | Sylvain L. Sauvage | type="integer">
|
|
<generator class="increment" />
|
|||
</id>
|
|||
<property column="epc"
|
|||
8fd1d584 | Rémy Ménard | name="epc"
|
|
2e0a7cb1 | Sylvain L. Sauvage | not-null="true"
|
|
type="string" />
|
|||
<property column="eventType"
|
|||
length="40"
|
|||
8fd1d584 | Rémy Ménard | name="eventType"
|
|
2e0a7cb1 | Sylvain L. Sauvage | not-null="true"
|
|
type="string" />
|
|||
8fd1d584 | Rémy Ménard | <property column="bizStep"
|
|
name="bizStep"
|
|||
2e0a7cb1 | Sylvain L. Sauvage | not-null="true"
|
|
type="string" />
|
|||
8fd1d584 | Rémy Ménard | <property column="eventTime"
|
|
length="20"
|
|||
name="eventTime"
|
|||
not-null="true"
|
|||
type="java.sql.Timestamp" />
|
|||
2e0a7cb1 | Sylvain L. Sauvage | <property column="lastUpdate"
|
|
8fd1d584 | Rémy Ménard | length="20"
|
|
name="lastUpdate"
|
|||
2e0a7cb1 | Sylvain L. Sauvage | not-null="true"
|
|
type="java.sql.Timestamp" />
|
|||
8fd1d584 | Rémy Ménard | <property column="owner"
|
|
name="owner"
|
|||
not-null="false"
|
|||
type="string" />
|
|||
2e0a7cb1 | Sylvain L. Sauvage | </class>
|
|
</hibernate-mapping>
|