Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm-small.xml')
-rw-r--r--examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm-small.xml80
1 files changed, 0 insertions, 80 deletions
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm-small.xml b/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm-small.xml
deleted file mode 100644
index 356819f7f..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library.orm/src/META-INF/orm-small.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<entity-mappings version="1.0" xmlns="http://java.sun.com/xml/ns/persistence/orm"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm ../../orm_1_0.xsd ">
-
- <!--=================================-->
- <!-- Persistence unit level metadata -->
- <!--=================================-->
-
- <persistence-unit-metadata>
- <xml-mapping-metadata-complete/>
- <persistence-unit-defaults>
- <access>FIELD</access>
- </persistence-unit-defaults>
- </persistence-unit-metadata>
-
- <!--=============================-->
- <!-- Mapping file level metadata -->
- <!--=============================-->
-
- <package>org.eclipse.emf.teneo.eclipselink.examples.library.impl</package>
-
- <!--=========-->
- <!-- Queries -->
- <!--=========-->
-
-
- <!--=========================-->
- <!-- Abstract class mappings -->
- <!--=========================-->
-
- <!--=================-->
- <!-- Entity mappings -->
- <!--=================-->
-
- <entity name="Publisher" class="PublisherImpl">
- <table name="EMFLIB_PUBLISHER"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="name"/>
- <many-to-many name="writers" target-entity="WriterImpl">
- <join-table name="PUBLISHER_WRITER"></join-table>
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </many-to-many>
- </attributes>
- </entity>
-
- <entity name="Writer" class="WriterImpl">
- <table name="EMFLIB_WRITER"/>
- <attributes>
- <id name="dbID">
- <column name="ID"/>
- <generated-value/>
- </id>
- <basic name="name"/>
- <basic name="eContainerFeatureID">
- <column name="ECONT_FEAT_ID"/>
- </basic>
- <many-to-many name="publishers" target-entity="PublisherImpl" mapped-by="writers">
- <cascade>
- <cascade-persist/>
- <cascade-merge/>
- <cascade-refresh/>
- </cascade>
- </many-to-many>
- <transient name="typewriters"/>
- <transient name="books" />
- <transient name="address" />
- <transient name="eContainer" />
- </attributes>
- </entity>
-
-</entity-mappings> \ No newline at end of file

Back to the top