Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.eclipselink.examples.library/src/META-INF/generated_orm.xml')
-rwxr-xr-xexamples/org.eclipse.emf.teneo.eclipselink.examples.library/src/META-INF/generated_orm.xml296
1 files changed, 0 insertions, 296 deletions
diff --git a/examples/org.eclipse.emf.teneo.eclipselink.examples.library/src/META-INF/generated_orm.xml b/examples/org.eclipse.emf.teneo.eclipselink.examples.library/src/META-INF/generated_orm.xml
deleted file mode 100755
index 3280b3dc5..000000000
--- a/examples/org.eclipse.emf.teneo.eclipselink.examples.library/src/META-INF/generated_orm.xml
+++ /dev/null
@@ -1,296 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<orm:entity-mappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:orm="http://java.sun.com/xml/ns/persistence/orm"
- xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
- version="1.0">
- <orm:persistence-unit-metadata>
- <orm:xml-mapping-metadata-complete />
- <orm:persistence-unit-defaults>
- <orm:access>FIELD</orm:access>
- </orm:persistence-unit-defaults>
- </orm:persistence-unit-metadata>
- <orm:mapped-superclass class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.IdentifiableImpl">
- <orm:attributes>
- <orm:id name="id">
- <orm:generated-value strategy="AUTO" />
- </orm:id>
- <orm:basic name="eContainerFeatureID">
- <orm:column name="ECONT_FEAT_ID" />
- </orm:basic>
- <orm:version name="version" />
- </orm:attributes>
- </orm:mapped-superclass>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.BookImpl" name="Book">
- <orm:table name="EMFLIB_BOOK" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>Book</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attributes>
- <orm:basic fetch="EAGER" name="title" optional="true" />
- <orm:basic fetch="EAGER" name="pages" optional="true" />
- <orm:basic fetch="EAGER" name="category" optional="true">
- <orm:enumerated>STRING</orm:enumerated>
- </orm:basic>
- <orm:many-to-one fetch="EAGER" name="author" optional="true"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.WriterImpl">
- <orm:cascade>
- <orm:cascade-persist />
- <orm:cascade-merge />
- <orm:cascade-refresh />
- </orm:cascade>
- </orm:many-to-one>
- <orm:many-to-one fetch="EAGER" name="translator" optional="true"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.TranslatorImpl">
- <orm:join-column insertable="true" name="TRANSLATOR_TRANSLATOR_ID" nullable="true" unique="false"
- updatable="true" />
- <orm:cascade>
- <orm:cascade-persist />
- <orm:cascade-merge />
- <orm:cascade-refresh />
- </orm:cascade>
- </orm:many-to-one>
- <orm:one-to-many fetch="LAZY" mapped-by="eContainer" name="styles"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.BookStylesMapEntryImpl">
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:one-to-many>
- <orm:one-to-one fetch="EAGER" name="cover" optional="true"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.CoverImpl">
- <orm:join-column insertable="true" name="COVER_COVER_ID" nullable="true" unique="false" updatable="true" />
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:one-to-one>
- <orm:one-to-one mapped-by="value" name="eContainer"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.StringToBookMapEntryImpl">
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:one-to-one>
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.LibraryImpl" name="Library">
- <orm:table name="EMFLIB_LIBRARY" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>Library</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attributes>
- <orm:basic fetch="EAGER" name="name" optional="true" />
- <orm:one-to-many fetch="LAZY" mapped-by="eContainer" name="writers"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.WriterImpl">
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:one-to-many>
- <orm:one-to-many fetch="LAZY" mapped-by="eContainer" name="books"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.StringToBookMapEntryImpl">
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:one-to-many>
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.WriterImpl" name="Writer">
- <orm:table name="EMFLIB_WRITER" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>Writer</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attributes>
- <orm:basic fetch="EAGER" name="name" optional="true" />
- <orm:many-to-one name="eContainer" target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.LibraryImpl">
- <orm:join-column name="LIBRARY_WRITERS_ID" />
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:many-to-one>
- <orm:one-to-many fetch="LAZY" name="books" target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.BookImpl">
- <orm:join-table name="EMFLIB_WRITER_BOOKS">
- <orm:join-column insertable="true" name="WRITER_ID" nullable="false" unique="false" updatable="true" />
- <orm:inverse-join-column insertable="true" name="BOOK_ID" nullable="false" unique="false"
- updatable="true" />
- </orm:join-table>
- <orm:cascade>
- <orm:cascade-persist />
- <orm:cascade-merge />
- <orm:cascade-refresh />
- </orm:cascade>
- </orm:one-to-many>
- <orm:one-to-many fetch="LAZY" name="typewriters"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.TypeWriterImpl">
- <orm:join-table name="EMFLIB_WRITER_TYPEWRITERS">
- <orm:join-column insertable="true" name="WRITER_ID" nullable="false" unique="false" updatable="true" />
- <orm:inverse-join-column insertable="true" name="TYPEWRITER_ID" nullable="false" unique="false"
- updatable="true" />
- </orm:join-table>
- <orm:cascade>
- <orm:cascade-persist />
- <orm:cascade-merge />
- <orm:cascade-refresh />
- </orm:cascade>
- </orm:one-to-many>
- <orm:one-to-one fetch="EAGER" name="address" optional="true"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.AddressImpl">
- <orm:join-column insertable="true" name="ADDRESS_ADDRESS_ID" nullable="true" unique="false"
- updatable="true" />
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:one-to-one>
- <orm:many-to-many fetch="LAZY" name="publishers"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.PublisherImpl">
- <orm:join-table name="EMFLIB_WRITER_PUBLISHERS">
- <orm:join-column insertable="true" name="WRITER_ID" nullable="false" unique="false" updatable="true" />
- <orm:inverse-join-column insertable="true" name="PUBLISHER_ID" nullable="false" unique="false"
- updatable="true" />
- </orm:join-table>
- <orm:cascade>
- <orm:cascade-persist />
- <orm:cascade-merge />
- <orm:cascade-refresh />
- </orm:cascade>
- </orm:many-to-many>
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.StringToBookMapEntryImpl" name="StringToBookMapEntry">
- <orm:table name="EMFLIB_LIBRARY_BOOK_MAP" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>StringToBookMapEntry</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attribute-override name="id">
- <orm:column insertable="false" name="LIBRARY_BOOKS_ID" updatable="false" />
- </orm:attribute-override>
- <orm:attributes>
- <orm:id name="key">
- <orm:column name="e_key" />
- </orm:id>
- <orm:many-to-one name="eContainer" target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.LibraryImpl">
- <orm:join-column name="LIBRARY_BOOKS_ID" />
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:many-to-one>
- <orm:one-to-one fetch="EAGER" name="value" optional="true"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.BookImpl">
- <orm:join-column insertable="true" name="BOOK_VALUE_ID" nullable="true" unique="false" updatable="true" />
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:one-to-one>
- <orm:transient name="hash" />
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.AddressImpl" name="Address">
- <orm:table name="EMFLIB_ADDRESS" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>Address</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attributes>
- <orm:basic fetch="EAGER" name="town" optional="true" />
- <orm:one-to-one mapped-by="address" name="eContainer"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.WriterImpl">
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:one-to-one>
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.PublisherImpl" name="Publisher">
- <orm:table name="EMFLIB_PUBLISHER" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>Publisher</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attributes>
- <orm:basic fetch="EAGER" name="name" optional="true" />
- <orm:many-to-many fetch="LAZY" mapped-by="publishers" name="writers"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.WriterImpl">
- <orm:join-table name="EMFLIB_PUBLISHER_WRITERS">
- <orm:join-column insertable="true" name="PUBLISHER_ID" nullable="false" unique="false" updatable="true" />
- <orm:inverse-join-column insertable="true" name="WRITER_ID" nullable="false" unique="false"
- updatable="true" />
- </orm:join-table>
- <orm:cascade>
- <orm:cascade-persist />
- <orm:cascade-merge />
- <orm:cascade-refresh />
- </orm:cascade>
- </orm:many-to-many>
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.StyleImpl" name="Style">
- <orm:table name="EMFLIB_STYLE" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>Style</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attributes>
- <orm:basic fetch="EAGER" name="name" optional="true" />
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.BookStylesMapEntryImpl" name="BookStylesMapEntry">
- <orm:table name="EMFLIB_BOOK_STYLE_MAP" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>BookStylesMapEntry</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attribute-override name="id">
- <orm:column insertable="false" name="BOOK_STYLES_ID" updatable="false" />
- </orm:attribute-override>
- <orm:attributes>
- <orm:id name="key">
- <orm:column name="e_key" />
- </orm:id>
- <orm:many-to-one fetch="EAGER" name="value" optional="true"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.StyleImpl">
- <orm:join-column insertable="true" name="STYLE_VALUE_ID" nullable="true" unique="false" updatable="true" />
- <orm:cascade>
- <orm:cascade-persist />
- <orm:cascade-merge />
- <orm:cascade-refresh />
- </orm:cascade>
- </orm:many-to-one>
- <orm:many-to-one name="eContainer" target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.BookImpl">
- <orm:join-column name="BOOK_STYLES_ID" />
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:many-to-one>
- <orm:transient name="hash" />
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.TranslatorImpl" name="Translator">
- <orm:table name="EMFLIB_TRANSLATOR" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>Translator</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attributes>
- <orm:basic fetch="EAGER" name="name" optional="true" />
- <orm:basic fetch="EAGER" name="location" optional="true" />
- <orm:transient name="address" />
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.TypeWriterImpl" name="TypeWriter">
- <orm:table name="EMFLIB_TYPEWRITER" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>TypeWriter</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attributes>
- <orm:basic fetch="EAGER" name="maker" optional="true" />
- <orm:basic fetch="EAGER" name="type" optional="true">
- <orm:enumerated>STRING</orm:enumerated>
- </orm:basic>
- </orm:attributes>
- </orm:entity>
- <orm:entity class="org.eclipse.emf.teneo.eclipselink.examples.library.impl.CoverImpl" name="Cover">
- <orm:table name="EMFLIB_COVER" />
- <orm:inheritance strategy="SINGLE_TABLE" />
- <orm:discriminator-value>Cover</orm:discriminator-value>
- <orm:discriminator-column discriminator-type="STRING" length="31" name="DTYPE" />
- <orm:attributes>
- <orm:basic fetch="EAGER" name="colored" optional="true" />
- <orm:one-to-one mapped-by="cover" name="eContainer"
- target-entity="org.eclipse.emf.teneo.eclipselink.examples.library.impl.BookImpl">
- <orm:cascade>
- <orm:cascade-all />
- </orm:cascade>
- </orm:one-to-one>
- </orm:attributes>
- </orm:entity>
-</orm:entity-mappings> \ No newline at end of file

Back to the top