Skip to main content
summaryrefslogtreecommitdiffstats
blob: 1beadecdbff585a2a6155e7147e55eeea4d3f739 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0" encoding="ASCII"?>
<orm:entity-mappings xmlns:orm="http://www.eclipse.org/eclipselink/xsds/persistence/orm" version="2.3">
  <orm:persistence-unit-metadata>
    <orm:persistence-unit-defaults>
      <orm:delimited-identifiers/>
    </orm:persistence-unit-defaults>
  </orm:persistence-unit-metadata>
  <orm:access>FIELD</orm:access>
  <orm:entity class="org.eclipse.emf.texo.test.model.samples.travel.Journey" name="Reis">
    <orm:table name="travel_Journey"/>
    <orm:discriminator-column length="255"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestObjectConverter" name="TexoTestObjectConverter"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestQNameConverter" name="TexoTestQNameConverter"/>
    <orm:attributes>
      <orm:basic name="name">
        <orm:column name="name"/>
      </orm:basic>
      <orm:one-to-many name="trips">
        <orm:order-column name="travel_Journey_trips_ind"/>
        <orm:join-column name="travel_Journey_trips"/>
        <orm:cascade>
          <orm:cascade-all/>
        </orm:cascade>
      </orm:one-to-many>
    </orm:attributes>
  </orm:entity>
  <orm:entity class="org.eclipse.emf.texo.test.model.samples.travel.Trip" name="travel_Trip">
    <orm:table name="travel_Trip"/>
    <orm:discriminator-column length="255"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestObjectConverter" name="TexoTestObjectConverter"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestQNameConverter" name="TexoTestQNameConverter"/>
    <orm:attributes>
      <orm:basic name="name2">
        <orm:column name="name2"/>
      </orm:basic>
      <orm:many-to-one name="destination">
        <orm:join-column name="travel_Trip_destination"/>
        <orm:cascade>
          <orm:cascade-persist/>
          <orm:cascade-merge/>
          <orm:cascade-refresh/>
        </orm:cascade>
      </orm:many-to-one>
    </orm:attributes>
  </orm:entity>
  <orm:entity class="org.eclipse.emf.texo.test.model.samples.travel.City" name="travel_City">
    <orm:table name="travel_City"/>
    <orm:discriminator-column length="255"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestObjectConverter" name="TexoTestObjectConverter"/>
    <orm:converter class="org.eclipse.emf.texo.test.TexoTestQNameConverter" name="TexoTestQNameConverter"/>
    <orm:attributes>
      <orm:basic name="name">
        <orm:column name="name"/>
      </orm:basic>
      <orm:basic name="reis">
        <orm:column name="reis"/>
      </orm:basic>
    </orm:attributes>
  </orm:entity>
</orm:entity-mappings>

Back to the top