Last change
on this file since 105 was
105,
checked in by rboipsl, 13 years ago
|
Import du projet NDACC _ module persistence
|
File size:
922 bytes
|
Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
---|
3 | "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> |
---|
4 | <hibernate-mapping default-cascade="save-update" auto-import="false"> |
---|
5 | |
---|
6 | <class name="com.ether.instrument.Instrument" table="ND_INSTRUMENT"> |
---|
7 | |
---|
8 | <id name="id"> |
---|
9 | <column name="in_id" /> |
---|
10 | <generator class="increment" /> |
---|
11 | |
---|
12 | <!-- <generator class="sequence"> --> |
---|
13 | <!-- <param name="sequence">S_TABLE_TEST</param> --> |
---|
14 | <!-- </generator> --> |
---|
15 | </id> |
---|
16 | |
---|
17 | <property name="name"> |
---|
18 | <column name="in_name"/> |
---|
19 | </property> |
---|
20 | |
---|
21 | <property name="type" type="com.ether.dao.instrument.InstrumentTypeUserType"> |
---|
22 | <column name="in_type"/> |
---|
23 | </property> |
---|
24 | |
---|
25 | <many-to-one name="station" class="com.ether.station.Station" lazy="false"> |
---|
26 | <column name="st_id"/> |
---|
27 | </many-to-one> |
---|
28 | |
---|
29 | </class> |
---|
30 | |
---|
31 | </hibernate-mapping> |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.