Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-11-01 14:12:35 -0400
committerMartin Taal2011-11-01 14:12:35 -0400
commit97842a213a338601aa158b3d9f995f464bb25681 (patch)
tree5b9a657ccdce9960b252f3bc8dcc09a2626bd711 /eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests
parent709ec105b89258b5e6b27e57cb3deb177529c54c (diff)
downloadorg.eclipse.emf.teneo-97842a213a338601aa158b3d9f995f464bb25681.tar.gz
org.eclipse.emf.teneo-97842a213a338601aa158b3d9f995f464bb25681.tar.xz
org.eclipse.emf.teneo-97842a213a338601aa158b3d9f995f464bb25681.zip
New structure
Diffstat (limited to 'eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests')
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.classpath7
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.cvsignore1
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.project28
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.core.resources.prefs3
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.jdt.core.prefs332
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.jdt.ui.prefs58
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/AllTests.launch17
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/META-INF/MANIFEST.MF26
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.html24
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.ini17
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.properties46
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/build.properties19
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/config.ini5
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/copyright.txt8
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/createDDL.jdbc28
-rw-r--r--eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/derby.log6
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/dropDDL.jdbc27
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/epl-v10.html320
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/license.html319
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/modeling32.pngbin0 -> 2414 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/plugin.properties15
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/AdHocTest.java95
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/AllTests.java51
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BasicTest.java34
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookCoverTest.java61
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookStylesTest.java74
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookTranslatorTest.java51
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/ContainerTest.java70
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EContainerReferenceTest.java65
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EListEMapTest.java65
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EListTest.java178
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EMapTest.java171
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EObjectTest.java107
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/GenerateORMTest.java34
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/JPATest.java121
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibBookEContainerTest.java79
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibWriterEContainerTest.java77
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEContainerLibraryTest.java72
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEContainerTest.java72
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEnvironmentTest.java85
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryJPATest.java236
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryXMIPersistenceTest.java113
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/ManagedTest.java48
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/OneToOneTest.java38
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/PublisherWriterTest.java170
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/TestSuppressedJPATest.java65
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/TypeWriterTypeTest.java66
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterAddressTest.java62
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterPublisherTest.java71
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterTypewriterTest.java78
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/AbstractEclipseLinkTest.java59
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/AllTests.java28
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/CreateSampleLibrariesWithEclipseLinkResourceTest.java111
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/EclipseLinkAndXMIResourceTest.java250
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/EclipseLinkResourceTest.java140
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/TestModelFactory.java91
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/db.lckbin0 -> 38 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/dbex.lckbin0 -> 4 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log.ctrlbin0 -> 48 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log3.datbin0 -> 1049290 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log4.datbin0 -> 1048576 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/logmirror.ctrlbin0 -> 48 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c10.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c101.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c111.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c121.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c130.datbin0 -> 20480 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c141.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c150.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c161.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c171.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c180.datbin0 -> 24576 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c191.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1a1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1b1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1c0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1d1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1e0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1f1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c20.datbin0 -> 69632 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c200.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c211.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c221.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c230.datbin0 -> 86016 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c241.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c251.datbin0 -> 12288 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c260.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c271.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c281.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c290.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2a1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2b1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2c1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d60.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d71.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d80.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d91.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2da0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2db1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2dc0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2dd1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2de0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2df1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e00.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e11.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e20.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e31.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e40.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e51.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e60.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e71.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e80.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e91.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ea0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2eb1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ec0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ed1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ee0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ef1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f01.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f11.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f21.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f31.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f41.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f51.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f61.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f71.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f81.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f91.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fa1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fb1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fc1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c31.datbin0 -> 16384 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c41.datbin0 -> 20480 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c51.datbin0 -> 16384 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c570.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c581.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c60.datbin0 -> 16384 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c71.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c81.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c90.datbin0 -> 32768 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/ca1.datbin0 -> 36864 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cb1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cc0.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cd1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/ce1.datbin0 -> 8192 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cf0.datbin0 -> 20480 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d25f0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2601.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2610.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2621.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2630.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2641.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2650.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2661.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2670.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2681.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2690.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26a1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26b0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26c1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26d0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26e1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26f0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2701.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2710.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2721.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2730.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2741.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2750.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2761.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2770.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2781.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2791.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27a1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27b1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27c1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27d1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27e1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27f1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2801.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2811.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2821.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2831.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2841.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2851.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2860.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2871.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2880.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2891.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28a0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28b1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28c0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28d1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28e0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28f1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2900.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2911.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2920.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2931.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2940.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2951.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2960.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2971.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2980.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2991.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29a0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29b1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29c0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29d1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29e0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29f1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a01.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a11.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a21.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a31.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a41.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a51.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a61.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a71.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a81.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a91.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2aa1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ab1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ac1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ad0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ae0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2af1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b00.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b11.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b20.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b31.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b40.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b51.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b60.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b71.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b80.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b91.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ba0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bb1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bc0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bd1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2be0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bf1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c00.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c11.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c20.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c31.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c40.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c51.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c60.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c71.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c81.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c91.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ca1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cb1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cc1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cd1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ce1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cf1.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d01.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d11.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d21.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d31.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d41.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d50.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2fd0.datbin0 -> 4096 bytes
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/service.properties22
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/test.xml47
272 files changed, 4563 insertions, 0 deletions
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.classpath b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.classpath
new file mode 100755
index 000000000..a28f6ce8e
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry excluding="org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/CRUDTest.java" kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.cvsignore b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.cvsignore
new file mode 100755
index 000000000..ba077a403
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.cvsignore
@@ -0,0 +1 @@
+bin
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.project b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.project
new file mode 100755
index 000000000..a536853b4
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.core.resources.prefs b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.core.resources.prefs
new file mode 100755
index 000000000..03710d336
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+#Tue Oct 12 14:12:28 CEST 2004
+eclipse.preferences.version=1
+
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.jdt.core.prefs b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.jdt.core.prefs
new file mode 100755
index 000000000..7e5d32bbf
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,332 @@
+#Tue Jun 16 11:13:56 EDT 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
+org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=0
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=120
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.join_lines_in_comments=true
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=120
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=tab
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.jdt.ui.prefs b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.jdt.ui.prefs
new file mode 100755
index 000000000..5b2edb475
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,58 @@
+#Wed Jan 21 22:44:02 CET 2009
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+formatter_profile=_Teneo
+formatter_settings_version=11
+internal.default.compliance=default
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.convert_to_enhanced_for_loop=true
+sp_cleanup.correct_indentation=true
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.make_local_variable_final=false
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.organize_imports=true
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=true
+sp_cleanup.remove_unused_imports=true
+sp_cleanup.remove_unused_local_variables=true
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_blocks=true
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_this_for_non_static_field_access=false
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=false
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/AllTests.launch b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/AllTests.launch
new file mode 100755
index 000000000..f86167973
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/AllTests.launch
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.jdt.junit.launchconfig">
+<stringAttribute key="bad_container_name" value="/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/AllTests."/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/AllTests.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.AllTests"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx512m"/>
+</launchConfiguration>
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/META-INF/MANIFEST.MF b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/META-INF/MANIFEST.MF
new file mode 100755
index 000000000..d4397228a
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,26 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests; singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.core.resources,
+ org.eclipse.emf.ecore,
+ org.eclipse.emf.ecore.xmi;bundle-version="[2.5.0,3.0.0)",
+ org.junit;bundle-version="[3.8.0,5.0.0)",
+ javax.persistence;bundle-version="[2.0.0,3.0.0)",
+ org.eclipse.emf.teneo.eclipselink.examples.library;bundle-version="[1.0.0,2.0.0)",
+ org.eclipse.emf.teneo.eclipselink;bundle-version="[1.0.0,2.0.0)",
+ org.apache.derby;bundle-version="[10.1.2,11.0.0)",
+ org.eclipse.persistence.jpa;bundle-version="[2.0.0,3.0.0)",
+ org.eclipse.persistence.asm;bundle-version="[2.0.0,3.0.0)",
+ org.eclipse.persistence.antlr;bundle-version="[2.0.0,3.0.0)",
+ org.eclipse.emf.teneo.eclipselink.elistfactory;bundle-version="[1.0.0,2.0.0)",
+ org.eclipse.emf.teneo.orm;bundle-version="1.0.0"
+Bundle-ActivationPolicy: lazy
+Bundle-Vendor: %providerName
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Import-Package: org.eclipse.core.runtime;version="[3.4.0,4.0.0)",
+ org.eclipse.core.runtime.jobs,
+ org.hsqldb;version="1.8.1"
+
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.html b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.html
new file mode 100755
index 000000000..5a279453c
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+
+
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>About</title></head><body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>June 5, 2007, 2008</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, "Program" will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party ("Redistributor") and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body></html> \ No newline at end of file
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.ini b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.ini
new file mode 100755
index 000000000..1d17e5539
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.ini
@@ -0,0 +1,17 @@
+# about.ini
+# contains information about a feature
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# "%key" are externalized strings defined in about.properties
+# This file does not need to be translated.
+
+# Property "aboutText" contains blurb for "About" dialog (translated)
+aboutText=%featureText
+
+# Property "featureImage" contains path to feature image (32x32)
+featureImage=modeling32.png
+
+# Property "appName" contains name of the application (translated)
+appName=%featureName
+
+# Property "welcomePage" contains path to welcome page (special XML-based format)
+#welcomePage=$nl$/welcome.xml
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.properties b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.properties
new file mode 100755
index 000000000..a0aa92ef8
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/about.properties
@@ -0,0 +1,46 @@
+#/**
+# * <copyright>
+# *
+# * Copyright (c) 2008-2009 Oracle and Geensys.
+# * All rights reserved. This program and the accompanying materials
+# * are made available under the terms of the Eclipse Public License v1.0
+# * which accompanies this distribution, and is available at
+# * http://www.eclipse.org/legal/epl-v10.html
+# *
+# * Contributors:
+# * Oracle and Geensys - initial API and implementation
+# *
+# * </copyright>
+# *
+# * $Id: about.properties,v 1.1 2009/01/23 21:51:33 mtaal Exp $
+# */
+
+# NLS_MESSAGEFORMAT_VAR
+
+# ==============================================================================
+# Do not change the properties between this line and the last line containing:
+# %%% END OF TRANSLATED PROPERTIES %%%
+# Instead, either redefine an existing property, or create a new property,
+# append it to the end of the file, and change the code to use the new name.
+# ==============================================================================
+
+# about.properties
+# contains externalized strings for about.ini
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# fill-ins are supplied by about.mappings
+# This file should be translated.
+
+featureName=EMF Teneo EclipseLink Library O/R Mapping Tests
+
+featureText=EMF Teneo EclipseLink Library O/R Mapping Tests \n\
+Version: {featureVersion}\n\
+Build id: {0}\n\
+\n\
+(c) Copyright (c) 2008-2009 Oracle and Geensys. All rights reserved.\n\
+\n\
+Visit http://www.eclipse.org/emf
+
+# ==============================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# The above properties have been shipped for translation.
+# ==============================================================================
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/build.properties b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/build.properties
new file mode 100755
index 000000000..a7c09486d
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/build.properties
@@ -0,0 +1,19 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ epl-v10.html,\
+ modeling32.png,\
+ about.ini,\
+ about.properties,\
+ copyright.txt,\
+ about.html,\
+ plugin.properties,\
+ test.xml
+src.includes = about.html,\
+ about.ini,\
+ about.properties,\
+ copyright.txt,\
+ epl-v10.html,\
+ license.html,\
+ modeling32.png
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/config.ini b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/config.ini
new file mode 100755
index 000000000..e5cc96108
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/config.ini
@@ -0,0 +1,5 @@
+osgi.bundles=javax.persistence@1:start,org.eclipse.persistence.jpa@2:start,org.eclipse.equinox.common@2:start,
+org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start
+
+# End of file marker - must be here
+eof=eof \ No newline at end of file
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/copyright.txt b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/copyright.txt
new file mode 100755
index 000000000..a37ef444a
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/copyright.txt
@@ -0,0 +1,8 @@
+Copyright (c) 2008-2009 Oracle and Geensys.
+All rights reserved. This program and the accompanying materials
+are made available under the terms of the Eclipse Public License v1.0
+which accompanies this distribution, and is available at
+http://www.eclipse.org/legal/epl-v10.html
+
+Contributors:
+ Oracle and Geensys - initial API and implementation
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/createDDL.jdbc b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/createDDL.jdbc
new file mode 100755
index 000000000..028bc1eec
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/createDDL.jdbc
@@ -0,0 +1,28 @@
+CREATE TABLE EMFLIB_STYLE (ID BIGINT NOT NULL, NAME VARCHAR(255), PRIMARY KEY (ID))
+CREATE TABLE EMFLIB_PUBLISHER (ID BIGINT NOT NULL, NAME VARCHAR(255), PRIMARY KEY (ID))
+CREATE TABLE EMFLIB_PUBLISHER_WRITER (publishers_ID BIGINT NOT NULL, writers_ID BIGINT NOT NULL, PRIMARY KEY (publishers_ID, writers_ID))
+CREATE TABLE EMFLIB_COVER (ID BIGINT NOT NULL, COLORED SMALLINT DEFAULT 0, ECONT_FEAT_ID INTEGER, ECONTAINER_ID BIGINT, PRIMARY KEY (ID))
+CREATE TABLE EMFLIB_LIBRARY (ID BIGINT NOT NULL, NAME VARCHAR(255), PRIMARY KEY (ID))
+CREATE TABLE EMFLIB_TRANSLATOR (ID BIGINT NOT NULL, LOCATION VARCHAR(255), NAME VARCHAR(255), PRIMARY KEY (ID))
+CREATE TABLE EMFLIB_LIBRARY_BOOK_MAP (MAPKEY VARCHAR(255) NOT NULL, ECONT_FEAT_ID INTEGER, LIBRARY_ID BIGINT NOT NULL, BOOK_ID BIGINT, PRIMARY KEY (MAPKEY, LIBRARY_ID))
+CREATE TABLE EMFLIB_BOOK_STYLE_MAP (MAPKEY VARCHAR(255) NOT NULL, ECONT_FEAT_ID INTEGER, BOOK_ID BIGINT NOT NULL, STYLE_ID BIGINT, PRIMARY KEY (MAPKEY, BOOK_ID))
+CREATE TABLE EMFLIB_ADDRESS (ID BIGINT NOT NULL, TOWN VARCHAR(255), ECONT_FEAT_ID INTEGER, PRIMARY KEY (ID))
+CREATE TABLE EMFLIB_TYPEWRITER (ID BIGINT NOT NULL, MAKER VARCHAR(255), TYPE VARCHAR(255), PRIMARY KEY (ID))
+CREATE TABLE EMFLIB_WRITER (ID BIGINT NOT NULL, NAME VARCHAR(255), ECONT_FEAT_ID INTEGER, ECONTAINER_ID BIGINT, ADDRESS_ID BIGINT, PRIMARY KEY (ID))
+CREATE TABLE EMFLIB_BOOK (ID BIGINT NOT NULL, TITLE VARCHAR(255), PAGES INTEGER, ECONT_FEAT_ID INTEGER, AUTHOR_ID BIGINT, TRANSLATOR_ID BIGINT, PRIMARY KEY (ID))
+CREATE TABLE EMFLIB_WRITER_TYPEWRITER (Writer_ID BIGINT NOT NULL, typewriters_ID BIGINT NOT NULL, PRIMARY KEY (Writer_ID, typewriters_ID))
+ALTER TABLE EMFLIB_PUBLISHER_WRITER ADD CONSTRAINT MFLBPBLSHRWRwrtrsD FOREIGN KEY (writers_ID) REFERENCES EMFLIB_WRITER (ID)
+ALTER TABLE EMFLIB_PUBLISHER_WRITER ADD CONSTRAINT MFLBPBLSHRpblshrsD FOREIGN KEY (publishers_ID) REFERENCES EMFLIB_PUBLISHER (ID)
+ALTER TABLE EMFLIB_COVER ADD CONSTRAINT MFLBCOVERCNTINERID FOREIGN KEY (ECONTAINER_ID) REFERENCES EMFLIB_BOOK (ID)
+ALTER TABLE EMFLIB_LIBRARY_BOOK_MAP ADD CONSTRAINT MFLBLBRRYBKMLBRRYD FOREIGN KEY (LIBRARY_ID) REFERENCES EMFLIB_LIBRARY (ID)
+ALTER TABLE EMFLIB_LIBRARY_BOOK_MAP ADD CONSTRAINT MFLBLBRRYBOKMAPBKD FOREIGN KEY (BOOK_ID) REFERENCES EMFLIB_BOOK (ID)
+ALTER TABLE EMFLIB_BOOK_STYLE_MAP ADD CONSTRAINT MFLBBOKSTYLEMAPBKD FOREIGN KEY (BOOK_ID) REFERENCES EMFLIB_BOOK (ID)
+ALTER TABLE EMFLIB_BOOK_STYLE_MAP ADD CONSTRAINT MFLBBKSTYLMAPSTYLD FOREIGN KEY (STYLE_ID) REFERENCES EMFLIB_STYLE (ID)
+ALTER TABLE EMFLIB_WRITER ADD CONSTRAINT MFLBWRITERCNTNERID FOREIGN KEY (ECONTAINER_ID) REFERENCES EMFLIB_LIBRARY (ID)
+ALTER TABLE EMFLIB_WRITER ADD CONSTRAINT MFLBWRITERDDRESSID FOREIGN KEY (ADDRESS_ID) REFERENCES EMFLIB_ADDRESS (ID)
+ALTER TABLE EMFLIB_BOOK ADD CONSTRAINT EMFLIBBOOKAUTHORID FOREIGN KEY (AUTHOR_ID) REFERENCES EMFLIB_WRITER (ID)
+ALTER TABLE EMFLIB_BOOK ADD CONSTRAINT MFLBBOOKTRNSLTORID FOREIGN KEY (TRANSLATOR_ID) REFERENCES EMFLIB_TRANSLATOR (ID)
+ALTER TABLE EMFLIB_WRITER_TYPEWRITER ADD CONSTRAINT MFLBWRTRTtypwrtrsD FOREIGN KEY (typewriters_ID) REFERENCES EMFLIB_TYPEWRITER (ID)
+ALTER TABLE EMFLIB_WRITER_TYPEWRITER ADD CONSTRAINT MFLBWRTRTYPWRWrtrD FOREIGN KEY (Writer_ID) REFERENCES EMFLIB_WRITER (ID)
+CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL, PRIMARY KEY (SEQ_NAME))
+INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_GEN', 0)
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/derby.log b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/derby.log
new file mode 100644
index 000000000..e26b0286a
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/derby.log
@@ -0,0 +1,6 @@
+----------------------------------------------------------------
+2010-02-07 10:45:44.490 GMT:
+ Booting Derby version The Apache Software Foundation - Apache Derby - 10.1.2.1 - (330608): instance c013800d-0126-a808-f566-000005e62790
+on database directory /home/mtaal/mydata/dev/workspaces/teneo1_2/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo
+
+Database Class Loader started - derby.database.classpath=''
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/dropDDL.jdbc b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/dropDDL.jdbc
new file mode 100755
index 000000000..1fda3296d
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/dropDDL.jdbc
@@ -0,0 +1,27 @@
+ALTER TABLE EMFLIB_PUBLISHER_WRITER DROP CONSTRAINT MFLBPBLSHRWRwrtrsD
+ALTER TABLE EMFLIB_PUBLISHER_WRITER DROP CONSTRAINT MFLBPBLSHRpblshrsD
+ALTER TABLE EMFLIB_COVER DROP CONSTRAINT MFLBCOVERCNTINERID
+ALTER TABLE EMFLIB_LIBRARY_BOOK_MAP DROP CONSTRAINT MFLBLBRRYBKMLBRRYD
+ALTER TABLE EMFLIB_LIBRARY_BOOK_MAP DROP CONSTRAINT MFLBLBRRYBOKMAPBKD
+ALTER TABLE EMFLIB_BOOK_STYLE_MAP DROP CONSTRAINT MFLBBOKSTYLEMAPBKD
+ALTER TABLE EMFLIB_BOOK_STYLE_MAP DROP CONSTRAINT MFLBBKSTYLMAPSTYLD
+ALTER TABLE EMFLIB_WRITER DROP CONSTRAINT MFLBWRITERCNTNERID
+ALTER TABLE EMFLIB_WRITER DROP CONSTRAINT MFLBWRITERDDRESSID
+ALTER TABLE EMFLIB_BOOK DROP CONSTRAINT EMFLIBBOOKAUTHORID
+ALTER TABLE EMFLIB_BOOK DROP CONSTRAINT MFLBBOOKTRNSLTORID
+ALTER TABLE EMFLIB_WRITER_TYPEWRITER DROP CONSTRAINT MFLBWRTRTtypwrtrsD
+ALTER TABLE EMFLIB_WRITER_TYPEWRITER DROP CONSTRAINT MFLBWRTRTYPWRWrtrD
+DROP TABLE EMFLIB_STYLE
+DROP TABLE EMFLIB_PUBLISHER
+DROP TABLE EMFLIB_PUBLISHER_WRITER
+DROP TABLE EMFLIB_COVER
+DROP TABLE EMFLIB_LIBRARY
+DROP TABLE EMFLIB_TRANSLATOR
+DROP TABLE EMFLIB_LIBRARY_BOOK_MAP
+DROP TABLE EMFLIB_BOOK_STYLE_MAP
+DROP TABLE EMFLIB_ADDRESS
+DROP TABLE EMFLIB_TYPEWRITER
+DROP TABLE EMFLIB_WRITER
+DROP TABLE EMFLIB_BOOK
+DROP TABLE EMFLIB_WRITER_TYPEWRITER
+DELETE FROM SEQUENCE WHERE SEQ_NAME = 'SEQ_GEN'
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/epl-v10.html b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/epl-v10.html
new file mode 100755
index 000000000..62b1f6f04
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/epl-v10.html
@@ -0,0 +1,320 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office"
+xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combinations which include the Contribution. No hardware per se is
+licensed hereunder. </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
+Recipient understands that although each Contributor grants the licenses to its
+Contributions set forth herein, no assurances are provided by any Contributor
+that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility
+to secure any other intellectual property rights needed, if any. For example,
+if a third party patent license is required to allow Recipient to distribute
+the Program, it is Recipient's responsibility to acquire that license before
+distributing the Program.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
+Each Contributor represents that to its knowledge it has sufficient copyright
+rights in its Contribution, if any, to grant the copyright license set forth in
+this Agreement. </span></p>
+
+<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
+
+<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
+Program in object code form under its own license agreement, provided that:</span>
+</p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it complies with the terms and conditions of this Agreement; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+its license agreement:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+effectively excludes on behalf of all Contributors all liability for damages,
+including direct, indirect, special, incidental and consequential damages, such
+as lost profits; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
+states that any provisions which differ from this Agreement are offered by that
+Contributor alone and not by any other party; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
+states that source code for the Program is available from such Contributor, and
+informs licensees how to obtain it in a reasonable manner on or through a
+medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
+
+<p><span style="font-size: 10pt;">When the Program is made available in source
+code form:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it must be made available under this Agreement; and </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
+copy of this Agreement must be included with each copy of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Contributors may not remove or alter any
+copyright notices contained within the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
+originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution. </span></p>
+
+<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
+
+<p><span style="font-size: 10pt;">Commercial distributors of software may
+accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use
+of the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the
+Program in a commercial product offering, such Contributor ("Commercial
+Contributor") hereby agrees to defend and indemnify every other
+Contributor ("Indemnified Contributor") against any losses, damages and
+costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to
+the extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may participate
+in any such claim at its own expense.</span> </p>
+
+<p><span style="font-size: 10pt;">For example, a Contributor might include the
+Program in a commercial product offering, Product X. That Contributor is then a
+Commercial Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance claims and
+warranties are such Commercial Contributor's responsibility alone. Under this
+section, the Commercial Contributor would have to defend claims against the
+other Contributors related to those performance claims and warranties, and if a
+court requires any other Contributor to pay any damages as a result, the
+Commercial Contributor must pay those damages.</span> </p>
+
+<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
+WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and distributing the
+Program and assumes all risks associated with its exercise of rights under this
+Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations. </span></p>
+
+<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
+THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
+
+<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
+
+<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
+or unenforceable under applicable law, it shall not affect the validity or
+enforceability of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.</span> </p>
+
+<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
+against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with
+other software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the date
+such litigation is filed. </span></p>
+
+<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
+shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive. </span></p>
+
+<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
+copies of this Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement Steward has
+the right to modify this Agreement. The Eclipse Foundation is the initial
+Agreement Steward. The Eclipse Foundation may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.</span> </p>
+
+<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
+State of New York and the intellectual property laws of the United States of
+America. No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each party waives
+its rights to a jury trial in any resulting litigation.</span> </p>
+
+<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
+
+</div>
+
+</body></html> \ No newline at end of file
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/license.html b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/license.html
new file mode 100755
index 000000000..d7b88e941
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/license.html
@@ -0,0 +1,319 @@
+<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"><head>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<meta name="ProgId" content="Word.Document">
+<meta name="Generator" content="Microsoft Word 9">
+<meta name="Originator" content="Microsoft Word 9">
+<link rel="File-List" href="http://www.eclipse.org/org/documents/Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml"><title>Eclipse Public License - Version 1.0</title><!--[if gte mso 9]><xml>
+ <o:DocumentProperties>
+ <o:Revision>2</o:Revision>
+ <o:TotalTime>3</o:TotalTime>
+ <o:Created>2004-03-05T23:03:00Z</o:Created>
+ <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
+ <o:Pages>4</o:Pages>
+ <o:Words>1626</o:Words>
+ <o:Characters>9270</o:Characters>
+ <o:Lines>77</o:Lines>
+ <o:Paragraphs>18</o:Paragraphs>
+ <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
+ <o:Version>9.4402</o:Version>
+ </o:DocumentProperties>
+</xml><![endif]--><!--[if gte mso 9]><xml>
+ <w:WordDocument>
+ <w:TrackRevisions/>
+ </w:WordDocument>
+</xml><![endif]-->
+
+
+<style>
+<!--
+ /* Font Definitions */
+@font-face
+ {font-family:Tahoma;
+ panose-1:2 11 6 4 3 5 4 4 2 4;
+ mso-font-charset:0;
+ mso-generic-font-family:swiss;
+ mso-font-pitch:variable;
+ mso-font-signature:553679495 -2147483648 8 0 66047 0;}
+ /* Style Definitions */
+p.MsoNormal, li.MsoNormal, div.MsoNormal
+ {mso-style-parent:"";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p
+ {margin-right:0in;
+ mso-margin-top-alt:auto;
+ mso-margin-bottom-alt:auto;
+ margin-left:0in;
+ mso-pagination:widow-orphan;
+ font-size:12.0pt;
+ font-family:"Times New Roman";
+ mso-fareast-font-family:"Times New Roman";}
+p.BalloonText, li.BalloonText, div.BalloonText
+ {mso-style-name:"Balloon Text";
+ margin:0in;
+ margin-bottom:.0001pt;
+ mso-pagination:widow-orphan;
+ font-size:8.0pt;
+ font-family:Tahoma;
+ mso-fareast-font-family:"Times New Roman";}
+@page Section1
+ {size:8.5in 11.0in;
+ margin:1.0in 1.25in 1.0in 1.25in;
+ mso-header-margin:.5in;
+ mso-footer-margin:.5in;
+ mso-paper-source:0;}
+div.Section1
+ {page:Section1;}
+-->
+</style></head>
+
+<body style="" lang="EN-US">
+
+<div class="Section1">
+
+<p style="text-align: center;" align="center"><b>Eclipse Public License - v 1.0</b>
+</p>
+
+<p><span style="font-size: 10pt;">THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
+THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE,
+REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.</span> </p>
+
+<p><b><span style="font-size: 10pt;">1. DEFINITIONS</span></b> </p>
+
+<p><span style="font-size: 10pt;">"Contribution" means:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+in the case of the initial Contributor, the initial code and documentation
+distributed under this Agreement, and<br clear="left">
+b) in the case of each subsequent Contributor:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+changes to the Program, and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+additions to the Program;</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">where
+such changes and/or additions to the Program originate from and are distributed
+by that particular Contributor. A Contribution 'originates' from a Contributor
+if it was added to the Program by such Contributor itself or anyone acting on
+such Contributor's behalf. Contributions do not include additions to the
+Program which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii) are not derivative
+works of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Contributor" means any person or
+entity that distributes the Program.</span> </p>
+
+<p><span style="font-size: 10pt;">"Licensed Patents " mean patent
+claims licensable by a Contributor which are necessarily infringed by the use
+or sale of its Contribution alone or when combined with the Program. </span></p>
+
+<p><span style="font-size: 10pt;">"Program" means the Contributions
+distributed in accordance with this Agreement.</span> </p>
+
+<p><span style="font-size: 10pt;">"Recipient" means anyone who
+receives the Program under this Agreement, including all Contributors.</span> </p>
+
+<p><b><span style="font-size: 10pt;">2. GRANT OF RIGHTS</span></b> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+Subject to the terms of this Agreement, each Contributor hereby grants Recipient
+a non-exclusive, worldwide, royalty-free copyright license to<span style="color: red;"> </span>reproduce, prepare derivative works of, publicly
+display, publicly perform, distribute and sublicense the Contribution of such
+Contributor, if any, and such derivative works, in source code and object code
+form.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+Subject to the terms of this Agreement, each Contributor hereby grants
+Recipient a non-exclusive, worldwide,<span style="color: green;"> </span>royalty-free
+patent license under Licensed Patents to make, use, sell, offer to sell, import
+and otherwise transfer the Contribution of such Contributor, if any, in source
+code and object code form. This patent license shall apply to the combination
+of the Contribution and the Program if, at the time the Contribution is added
+by the Contributor, such addition of the Contribution causes such combination
+to be covered by the Licensed Patents. The patent license shall not apply to
+any other combinations which include the Contribution. No hardware per se is
+licensed hereunder. </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">c)
+Recipient understands that although each Contributor grants the licenses to its
+Contributions set forth herein, no assurances are provided by any Contributor
+that the Program does not infringe the patent or other intellectual property
+rights of any other entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement of intellectual
+property rights or otherwise. As a condition to exercising the rights and
+licenses granted hereunder, each Recipient hereby assumes sole responsibility
+to secure any other intellectual property rights needed, if any. For example,
+if a third party patent license is required to allow Recipient to distribute
+the Program, it is Recipient's responsibility to acquire that license before
+distributing the Program.</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">d)
+Each Contributor represents that to its knowledge it has sufficient copyright
+rights in its Contribution, if any, to grant the copyright license set forth in
+this Agreement. </span></p>
+
+<p><b><span style="font-size: 10pt;">3. REQUIREMENTS</span></b> </p>
+
+<p><span style="font-size: 10pt;">A Contributor may choose to distribute the
+Program in object code form under its own license agreement, provided that:</span>
+</p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it complies with the terms and conditions of this Agreement; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b)
+its license agreement:</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">i)
+effectively disclaims on behalf of all Contributors all warranties and
+conditions, express and implied, including warranties or conditions of title
+and non-infringement, and implied warranties or conditions of merchantability
+and fitness for a particular purpose; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">ii)
+effectively excludes on behalf of all Contributors all liability for damages,
+including direct, indirect, special, incidental and consequential damages, such
+as lost profits; </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iii)
+states that any provisions which differ from this Agreement are offered by that
+Contributor alone and not by any other party; and</span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">iv)
+states that source code for the Program is available from such Contributor, and
+informs licensees how to obtain it in a reasonable manner on or through a
+medium customarily used for software exchange.<span style="color: blue;"> </span></span></p>
+
+<p><span style="font-size: 10pt;">When the Program is made available in source
+code form:</span> </p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">a)
+it must be made available under this Agreement; and </span></p>
+
+<p class="MsoNormal" style="margin-left: 0.5in;"><span style="font-size: 10pt;">b) a
+copy of this Agreement must be included with each copy of the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Contributors may not remove or alter any
+copyright notices contained within the Program. </span></p>
+
+<p><span style="font-size: 10pt;">Each Contributor must identify itself as the
+originator of its Contribution, if any, in a manner that reasonably allows
+subsequent Recipients to identify the originator of the Contribution. </span></p>
+
+<p><b><span style="font-size: 10pt;">4. COMMERCIAL DISTRIBUTION</span></b> </p>
+
+<p><span style="font-size: 10pt;">Commercial distributors of software may
+accept certain responsibilities with respect to end users, business partners
+and the like. While this license is intended to facilitate the commercial use
+of the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create potential
+liability for other Contributors. Therefore, if a Contributor includes the
+Program in a commercial product offering, such Contributor ("Commercial
+Contributor") hereby agrees to defend and indemnify every other
+Contributor ("Indemnified Contributor") against any losses, damages and
+costs (collectively "Losses") arising from claims, lawsuits and other
+legal actions brought by a third party against the Indemnified Contributor to
+the extent caused by the acts or omissions of such Commercial Contributor in
+connection with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any claims or Losses
+relating to any actual or alleged intellectual property infringement. In order
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
+Contributor in writing of such claim, and b) allow the Commercial Contributor
+to control, and cooperate with the Commercial Contributor in, the defense and
+any related settlement negotiations. The Indemnified Contributor may participate
+in any such claim at its own expense.</span> </p>
+
+<p><span style="font-size: 10pt;">For example, a Contributor might include the
+Program in a commercial product offering, Product X. That Contributor is then a
+Commercial Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance claims and
+warranties are such Commercial Contributor's responsibility alone. Under this
+section, the Commercial Contributor would have to defend claims against the
+other Contributors related to those performance claims and warranties, and if a
+court requires any other Contributor to pay any damages as a result, the
+Commercial Contributor must pay those damages.</span> </p>
+
+<p><b><span style="font-size: 10pt;">5. NO WARRANTY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT
+WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
+WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and distributing the
+Program and assumes all risks associated with its exercise of rights under this
+Agreement , including but not limited to the risks and costs of program errors,
+compliance with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations. </span></p>
+
+<p><b><span style="font-size: 10pt;">6. DISCLAIMER OF LIABILITY</span></b> </p>
+
+<p><span style="font-size: 10pt;">EXCEPT AS EXPRESSLY SET FORTH IN THIS
+AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
+THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
+
+<p><b><span style="font-size: 10pt;">7. GENERAL</span></b> </p>
+
+<p><span style="font-size: 10pt;">If any provision of this Agreement is invalid
+or unenforceable under applicable law, it shall not affect the validity or
+enforceability of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be reformed to the
+minimum extent necessary to make such provision valid and enforceable.</span> </p>
+
+<p><span style="font-size: 10pt;">If Recipient institutes patent litigation
+against any entity (including a cross-claim or counterclaim in a lawsuit)
+alleging that the Program itself (excluding combinations of the Program with
+other software or hardware) infringes such Recipient's patent(s), then such
+Recipient's rights granted under Section 2(b) shall terminate as of the date
+such litigation is filed. </span></p>
+
+<p><span style="font-size: 10pt;">All Recipient's rights under this Agreement
+shall terminate if it fails to comply with any of the material terms or
+conditions of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If all Recipient's
+rights under this Agreement terminate, Recipient agrees to cease use and
+distribution of the Program as soon as reasonably practicable. However,
+Recipient's obligations under this Agreement and any licenses granted by
+Recipient relating to the Program shall continue and survive. </span></p>
+
+<p><span style="font-size: 10pt;">Everyone is permitted to copy and distribute
+copies of this Agreement, but in order to avoid inconsistency the Agreement is
+copyrighted and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including revisions) of
+this Agreement from time to time. No one other than the Agreement Steward has
+the right to modify this Agreement. The Eclipse Foundation is the initial
+Agreement Steward. The Eclipse Foundation may assign the responsibility to
+serve as the Agreement Steward to a suitable separate entity. Each new version
+of the Agreement will be given a distinguishing version number. The Program
+(including Contributions) may always be distributed subject to the version of
+the Agreement under which it was received. In addition, after a new version of
+the Agreement is published, Contributor may elect to distribute the Program
+(including its Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
+the intellectual property of any Contributor under this Agreement, whether
+expressly, by implication, estoppel or otherwise. All rights in the Program not
+expressly granted under this Agreement are reserved.</span> </p>
+
+<p><span style="font-size: 10pt;">This Agreement is governed by the laws of the
+State of New York and the intellectual property laws of the United States of
+America. No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose. Each party waives
+its rights to a jury trial in any resulting litigation.</span> </p>
+
+<p class="MsoNormal"><!--[if !supportEmptyParas]-->&nbsp;<!--[endif]--><o:p></o:p></p>
+
+</div>
+
+</body></html> \ No newline at end of file
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/modeling32.png b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/modeling32.png
new file mode 100755
index 000000000..6b08de2ad
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/modeling32.png
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/plugin.properties b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/plugin.properties
new file mode 100755
index 000000000..ce968c6ea
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/plugin.properties
@@ -0,0 +1,15 @@
+# ====================================================================
+# To code developer:
+# Do NOT change the properties between this line and the
+# "%%% END OF TRANSLATED PROPERTIES %%%" line.
+# Make a new property name, append to the end of the file and change
+# the code to use the new property.
+# ====================================================================
+
+# ====================================================================
+# %%% END OF TRANSLATED PROPERTIES %%%
+# ====================================================================
+
+pluginName = EMF Teneo EclipseLink Library O/R Mapping Tests
+providerName = Eclipse Modeling Project
+
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/AdHocTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/AdHocTest.java
new file mode 100755
index 000000000..4cd05f64e
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/AdHocTest.java
@@ -0,0 +1,95 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Publisher;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+/**
+ * @author ebk2fe
+ * @version 1.0 (April 28th, 2006)
+ * <p>
+ * This test case creates a publisher object and assignes two writers to the publisher. The objects are
+ * committed to the data base. The publisher is fetched back from the data base.
+ */
+public class AdHocTest extends LibraryJPATest {
+
+ private Writer writer1;
+ private String writer1Name;
+ private Writer writer2;
+ private String writer2Name;
+ private Publisher publisher;
+ private String publisherName;
+
+ public AdHocTest(String name) {
+ super(name);
+ }
+
+ public void testRemovePublisherWriterWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyRemovePublisherWriter(checkCache);
+ }
+
+ // public void testRemovePublisherWriterNoCache() throws Exception {
+ // boolean checkCache = false;
+ // verifyRemovePublisherWriter(checkCache);
+ // }
+
+ private void verifyRemovePublisherWriter(boolean checkCache) {
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ // dissassociate a writer from a publisher
+ beginTransaction();
+ Publisher dbPublisher = findPublisherWithName(em, publisherName);
+ Writer dbWriter1 = findWriterWithName(em, writer1Name);
+
+ dbPublisher.getWriters().remove(dbWriter1);
+ dbWriter1.getPublishers().remove(dbPublisher);
+ commitTransaction();
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ // verify dissassociation
+ dbPublisher = findPublisherWithName(em, publisherName);
+ dbWriter1 = findWriterWithName(em, writer1Name);
+ Writer dbWriter2 = findWriterWithName(em, writer2Name);
+
+ assertNotNull("publisher not found", dbPublisher);
+ assertNotNull("writer1 not found", dbWriter1);
+ assertNotNull("writer2 not found", dbWriter2);
+ assertTrue("writer's publishers", dbWriter1.getPublishers().isEmpty());
+ assertEquals("num publisher's writers", 1, dbPublisher.getWriters().size());
+ assertEquals("publisher's writer", dbWriter2, dbPublisher.getWriters().get(0));
+ }
+
+ /**
+ * The test fixture consists of a single publisher with two writers.
+ */
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ beginTransaction();
+ publisher = createAnonymousPublisher(em);
+ publisherName = publisher.getName();
+ writer1 = createAnonymousWriter(em);
+ writer1Name = writer1.getName();
+ writer2 = createAnonymousWriter(em);
+ writer2Name = writer2.getName();
+ //
+ publisher.getWriters().add(writer1);
+ publisher.getWriters().add(writer2);
+ commitTransaction();
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/AllTests.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/AllTests.java
new file mode 100755
index 000000000..e61933449
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/AllTests.java
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllTests {
+
+ public static Test suite() {
+ TestSuite suite = new TestSuite("ListTest for org.eclipse.emf.teneo.eclipselink.examples.library");
+ // $JUnit-BEGIN$
+ suite.addTestSuite(GenerateORMTest.class);
+ suite.addTestSuite(EObjectTest.class);
+ suite.addTestSuite(TypeWriterTypeTest.class);
+ suite.addTestSuite(LibWriterEContainerTest.class);
+ suite.addTestSuite(OneToOneTest.class);
+ suite.addTestSuite(LibBookEContainerTest.class);
+ suite.addTestSuite(WriterTypewriterTest.class);
+ suite.addTestSuite(LibraryEnvironmentTest.class);
+ suite.addTestSuite(ContainerTest.class);
+ suite.addTestSuite(BookCoverTest.class);
+ suite.addTestSuite(LibraryEContainerLibraryTest.class);
+ // suite.addTestSuite(EMapTest.class);
+ suite.addTestSuite(EListEMapTest.class);
+ suite.addTestSuite(BasicTest.class);
+ suite.addTestSuite(LibraryEContainerTest.class);
+ suite.addTestSuite(BookTranslatorTest.class);
+ suite.addTestSuite(LibraryXMIPersistenceTest.class);
+ suite.addTestSuite(WriterAddressTest.class);
+ suite.addTestSuite(EListTest.class);
+ suite.addTestSuite(WriterPublisherTest.class);
+ suite.addTestSuite(PublisherWriterTest.class);
+ suite.addTestSuite(EContainerReferenceTest.class);
+ suite.addTestSuite(BookStylesTest.class);
+
+ suite.addTest(org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.resource.AllTests.suite());
+
+ // $JUnit-END$
+ return suite;
+ }
+
+} \ No newline at end of file
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BasicTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BasicTest.java
new file mode 100755
index 000000000..3c597aa15
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BasicTest.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.LibraryFactory;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Style;
+
+public class BasicTest extends LibraryJPATest {
+
+ public BasicTest(String name) {
+ super(name);
+ }
+
+ public void testBasicMapping() throws Exception {
+ Style style = LibraryFactory.eINSTANCE.createStyle();
+ String expectedStyle = getAnonymousString();
+ style.setName(expectedStyle);
+ em.getTransaction().begin();
+ em.persist(style);
+ em.getTransaction().commit();
+
+ Style actualStyle = (Style) em.createQuery("select s from Style s where s.name = :name").setParameter("name",
+ expectedStyle).getSingleResult();
+ assertEquals("name", expectedStyle, actualStyle.getName());
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookCoverTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookCoverTest.java
new file mode 100755
index 000000000..cd669b952
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookCoverTest.java
@@ -0,0 +1,61 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Cover;
+
+public class BookCoverTest extends LibraryJPATest {
+
+ public BookCoverTest(String name) {
+ super(name);
+ }
+
+ public void testInsertWriterAndCoverWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterAddress(checkCache);
+ }
+
+ public void testInsertWriterAndCoverNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertWriterAddress(checkCache);
+ }
+
+ private void verifyInsertWriterAddress(boolean checkCache) {
+
+ beginTransaction();
+
+ Book book = createAnonymousBookWithCover(em);
+ String bookTitle = book.getTitle();
+ Cover cover = book.getCover();
+
+ // put the data to the data base
+ commitTransaction();
+
+ // verify
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ // Check whether the Book as been allocated at the data base.
+
+ Book dbBook = findBookWithTitle(em, bookTitle);
+ assertNotNull("Book not found", dbBook);
+ Cover dbCover = dbBook.getCover();
+
+ assertNotNull("dbCover not found", dbCover);
+ assertNotNull("eContainer not set", dbCover.eContainer());
+ int containerFeatureID = ((InternalEObject) cover).eContainerFeatureID();
+ int dbContainerFeatureID = ((InternalEObject) dbCover).eContainerFeatureID();
+ assertEquals("Containment Feature Id DB Cover", containerFeatureID, dbContainerFeatureID);
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookStylesTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookStylesTest.java
new file mode 100755
index 000000000..21c8e034c
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookStylesTest.java
@@ -0,0 +1,74 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Style;
+import org.eclipse.emf.teneo.eclipselink.examples.library.impl.BookStylesMapEntryImpl;
+
+public class BookStylesTest extends LibraryJPATest {
+
+ public BookStylesTest(String name) {
+ super(name);
+ }
+
+ public void testInsertBookWithStylesWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertBookStyles(checkCache);
+ }
+
+ public void testInsertBookWithStylesNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertBookStyles(checkCache);
+ }
+
+ private void verifyInsertBookStyles(boolean checkCache) {
+
+ beginTransaction();
+
+ Book book = createAnonymousBook(em);
+ String bookTitle = book.getTitle();
+ Style style1 = createAnonymousStyle(em);
+ String style1Name = style1.getName();
+ Style style2 = createAnonymousStyle(em);
+ String style2Name = style2.getName();
+ book.getStyles().put(style1Name, style1);
+ book.getStyles().put(style2Name, style2);
+ int eContFeatId = ((BookStylesMapEntryImpl) book.getStyles().get(0)).eContainerFeatureID();
+
+ commitTransaction();
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ Book dbBook = findBookWithTitle(em, bookTitle);
+ assertNotNull("dbBook not found", dbBook);
+ assertEquals("dbBook nbr of styles", book.getStyles().size(), dbBook.getStyles().size());
+
+ // check the containment setting for the BookStyleMapEntry
+
+ BookStylesMapEntryImpl bookStyleMapEntry = (BookStylesMapEntryImpl) dbBook.getStyles().get(0);
+ assertEquals("eContainer of the BookStylesMapEntryImpl", dbBook, bookStyleMapEntry.eContainer());
+ assertEquals("eContainerFeatureId of the BookStylesMapEntryImpl", eContFeatId, ((BookStylesMapEntryImpl) dbBook
+ .getStyles().get(0)).eContainerFeatureID());
+
+ Style dbStyle1 = dbBook.getStyles().get(style1Name);
+ Style dbStyle2 = dbBook.getStyles().get(style2Name);
+
+ assertNotNull("First Style", dbStyle1);
+ assertNotNull("Second Style", dbStyle2);
+
+ // There is no containment relationshsip given for the Style objects
+ assertNull("no containment of the style object", dbStyle1.eContainer());
+ assertNull("no containment of the style object", dbStyle2.eContainer());
+ }
+} \ No newline at end of file
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookTranslatorTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookTranslatorTest.java
new file mode 100755
index 000000000..5a45bcadc
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/BookTranslatorTest.java
@@ -0,0 +1,51 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Translator;
+
+public class BookTranslatorTest extends LibraryJPATest {
+
+ public BookTranslatorTest(String name) {
+ super(name);
+ }
+
+ public void testInsertBookWithTranslatorWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertBookTranslator(checkCache);
+ }
+
+ public void testInsertBookWithTranslatorNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertBookTranslator(checkCache);
+ }
+
+ private void verifyInsertBookTranslator(boolean checkCache) {
+
+ beginTransaction();
+ Book book = createAnonymousBookWithTranslator(em);
+ String bookTitle = book.getTitle();
+ Translator translator = book.getTranslator();
+ commitTransaction();
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ Book dbBook = findBookWithTitle(em, bookTitle);
+ assertNotNull("dbBook not found", dbBook);
+ Translator dbTranslator = dbBook.getTranslator();
+ assertNotNull("dbTranslator not found", dbTranslator);
+ assertEquals("dbTranslator.location", translator.getLocation(), dbTranslator.getLocation());
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/ContainerTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/ContainerTest.java
new file mode 100755
index 000000000..1d8aeb1e7
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/ContainerTest.java
@@ -0,0 +1,70 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+import org.eclipse.emf.teneo.eclipselink.examples.library.impl.LibraryImpl;
+import org.eclipse.emf.teneo.eclipselink.examples.library.impl.WriterImpl;
+
+public class ContainerTest extends LibraryJPATest {
+
+ public ContainerTest(String name) {
+ super(name);
+ }
+
+ public void testMoveBetweenContainersWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyMoveBetweenContainers(checkCache);
+ }
+
+ public void testMoveBetweenContainersNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyMoveBetweenContainers(checkCache);
+ }
+
+ private void verifyMoveBetweenContainers(boolean checkCache) {
+ beginTransaction();
+ WriterImpl writer = (WriterImpl) createAnonymousWriter(em);
+ String writerName = writer.getName();
+ LibraryImpl libraryOne = (LibraryImpl) createAnonymousLibrary(em);
+ String libraryOneName = libraryOne.getName();
+ libraryOne.getWriters().add(writer);
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ beginTransaction();
+ writer = (WriterImpl) findWriterWithName(em, writerName);
+ LibraryImpl libraryTwo = (LibraryImpl) createAnonymousLibrary(em);
+ String libraryTwoName = libraryTwo.getName();
+ libraryTwo.getWriters().add(writer);
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ Library dbLibraryOne = findLibraryWithName(em, libraryOneName);
+ Library dbLibraryTwo = findLibraryWithName(em, libraryTwoName);
+ Writer dbWriter = findWriterWithName(em, writerName);
+ EList<Writer> dbLibOneWriters = dbLibraryOne.getWriters();
+ EList<Writer> dbLibTwoWriters = dbLibraryTwo.getWriters();
+ assertEquals("writer container", dbLibraryTwo, dbWriter.eContainer());
+ assertEquals("new library number of books", 1, dbLibTwoWriters.size());
+ assertTrue("original library has no books", dbLibOneWriters.isEmpty());
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EContainerReferenceTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EContainerReferenceTest.java
new file mode 100755
index 000000000..654b5fb21
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EContainerReferenceTest.java
@@ -0,0 +1,65 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class EContainerReferenceTest extends LibraryJPATest {
+
+ public EContainerReferenceTest(String name) {
+ super(name);
+ }
+
+ public void testLibraryWriterRelationshipWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyLibaryWriterRelationship(checkCache);
+ }
+
+ public void testLibraryWriterRelationshipNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyLibaryWriterRelationship(checkCache);
+ }
+
+ /**
+ * This test creates a Library with a contained Writer and determines whether the inverse eContainer relationship is
+ * established from Writer to Library.
+ *
+ * @param checkCache
+ * @throws Exception
+ */
+ private void verifyLibaryWriterRelationship(boolean checkCache) throws Exception {
+ beginTransaction();
+ Writer writer = createAnonymousWriter(em);
+ String writerName = writer.getName();
+ Library library = createAnonymousLibrary(em);
+ String libraryName = library.getName();
+ library.getWriters().add(writer);
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ beginTransaction();
+ Writer actualWriter = findWriterWithName(em, writerName);
+ assertNotNull("writer", actualWriter);
+
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ Writer actualLibraryWriter = actualLibrary.getWriters().get(0);
+ assertEquals("writer/library writer", actualWriter, actualLibraryWriter);
+ EObject actualWriterEContainer = actualWriter.eContainer();
+ assertEquals("writer eContainer", actualLibrary, actualWriterEContainer);
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EListEMapTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EListEMapTest.java
new file mode 100755
index 000000000..2262a60d8
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EListEMapTest.java
@@ -0,0 +1,65 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class EListEMapTest extends LibraryJPATest {
+
+ public EListEMapTest(String name) {
+ super(name);
+ }
+
+ public void testInsertWriterAndBooksAndLibraryWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterBookLibrary(checkCache);
+ }
+
+ public void testInsertWriterAndBooksAndLibraryNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertWriterBookLibrary(checkCache);
+ }
+
+ private void verifyInsertWriterBookLibrary(boolean checkCache) {
+ beginTransaction();
+ Writer writer = createAnonymousWriterWithOneBook(em);
+ String writerName = writer.getName();
+ Book book = writer.getBooks().get(0);
+ String bookTitle = book.getTitle();
+ Library library = createAnonymousLibrary(em);
+ String libraryName = library.getName();
+ library.getBooks().put(book.getTitle(), book);
+ library.getWriters().add(writer);
+ commitTransaction();
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ Writer actualWriter = findWriterWithName(em, writerName);
+ assertNotNull("writer", actualWriter);
+ assertEquals("writer name", writerName, actualWriter.getName());
+ Book actualBook = findBookWithTitle(em, bookTitle);
+ assertNotNull("book", actualBook);
+ assertEquals("number of writer books", 1, actualWriter.getBooks().size());
+ Book actualWriterBook = actualWriter.getBooks().get(0);
+ assertEquals("book/writer book", actualBook, actualWriterBook);
+ assertEquals("writer book", actualWriter.getBooks().get(0), actualBook);
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ Book actualLibraryBook = actualLibrary.getBooks().get(bookTitle);
+ assertEquals("book/library book", actualBook, actualLibraryBook);
+ Writer actualLibraryWriter = actualLibrary.getWriters().get(0);
+ assertEquals("writer/library writer", actualWriter, actualLibraryWriter);
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EListTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EListTest.java
new file mode 100755
index 000000000..89573c11b
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EListTest.java
@@ -0,0 +1,178 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+
+
+import java.util.List;
+
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+
+public class EListTest extends LibraryJPATest {
+
+
+ public EListTest(String name) {
+ super(name);
+ }
+
+
+ public void testInsertWriterAndBooksWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterBook(checkCache);
+ }
+
+ public void testInsertWriterAndBooksNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertWriterBook(checkCache);
+ }
+
+ private void verifyInsertWriterBook(boolean checkCache) {
+ beginTransaction();
+ Writer writer = createAnonymousWriterWithOneBook(em);
+ String writerName = writer.getName();
+ Book book = writer.getBooks().get(0);
+ String bookTitle = book.getTitle();
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ Writer actualWriter = findWriterWithName(em, writerName);
+ assertNotNull("writer", actualWriter);
+ EList<Book> actualBooks = actualWriter.getBooks();
+ assertEquals("number writer's books", 1, actualBooks.size());
+ Book actualBook = findBookWithTitle(em, bookTitle);
+ assertNotNull("book", actualBook);
+ assertEquals("writer book", actualBooks.get(0), actualBook);
+ assertEquals("book author", actualWriter, actualBook.getAuthor());
+ }
+
+
+ public void testAddBookToWriterWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyAddBookToWriter(checkCache);
+ }
+
+ public void testAddBookToWriterNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyAddBookToWriter(checkCache);
+ }
+
+ private void verifyAddBookToWriter(boolean checkCache) {
+ // setup fixture
+ beginTransaction();
+ Writer writer = createAnonymousWriter(em);
+ Book firstBook = createAnonymousBookForWriter(em, writer);
+ String writerName = writer.getName();
+ commitTransaction();
+
+ // exercise SUT
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ beginTransaction();
+ writer = findWriterWithName(em, writerName);
+ Book secondBook = createAnonymousBookForWriter(em, writer);
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ Writer actualWriter = findWriterWithName(em, writerName);
+ List<Book> actualBooks = actualWriter.getBooks();
+ assertEquals("number of books",2, actualBooks.size());
+ assertBookListContains(actualBooks, firstBook);
+ assertBookListContains(actualBooks, secondBook);
+ }
+
+ public void testRemoveBookFromWriterWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyRemoveBookFromWriter(checkCache);
+ }
+
+ public void testRemoveBookFromWriterNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyRemoveBookFromWriter(checkCache);
+ }
+
+ private void verifyRemoveBookFromWriter(boolean checkCache) {
+ beginTransaction();
+ // fixture
+ Writer writer = createAnonymousWriterWithOneBook(em);
+ String writerName = writer.getName();
+ commitTransaction();
+ // exercise SUT
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ beginTransaction();
+ writer = findWriterWithName(em, writerName);
+ Book book = writer.getBooks().get(0);
+ writer.getBooks().remove(book);
+ em.remove(book);
+ commitTransaction();
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ Writer actualWriter = findWriterWithName(em, writerName);
+ List<Book> actualBooks = actualWriter.getBooks();
+ assertEquals("number of books", 0, actualBooks.size());
+ }
+
+
+ public void testInsertLibraryWriterWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertLibraryWriter(checkCache);
+ }
+
+ public void testInsertLibraryWriterNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertLibraryWriter(checkCache);
+ }
+
+ private void verifyInsertLibraryWriter(boolean checkCache) {
+ beginTransaction();
+ Library library = createAnonymousLibrary(em);
+ Writer writer = createAnonymousWriter(em);
+ String libraryName = library.getName();
+ String writerName = writer.getName();
+ library.getWriters().add(writer);
+ commitTransaction();
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ Writer actualWriter = findWriterWithName(em, writerName);
+ assertNotNull("writer", actualWriter);
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ assertNotNull("library", actualLibrary);
+ EList<Writer> actualLibraryWriters = actualLibrary.getWriters();
+ assertEquals("library writers", 1, actualLibraryWriters.size());
+ Writer actualLibraryWriter = actualLibraryWriters.get(0);
+ assertEquals("writer/library writer", actualWriter, actualLibraryWriter);
+
+ EObject actualWriterEContainer = actualWriter.eContainer();
+ assertEquals("library", actualLibrary, actualWriterEContainer);
+ }
+
+
+
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EMapTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EMapTest.java
new file mode 100755
index 000000000..978a045d8
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EMapTest.java
@@ -0,0 +1,171 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import java.util.Map.Entry;
+
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class EMapTest extends LibraryJPATest {
+
+ public EMapTest(String name) {
+ super(name);
+ }
+
+ public void testInsertLibraryAndBooksWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertLibraryAndBooks(checkCache);
+ }
+
+ public void testInsertLibaryAndBooksNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertLibraryAndBooks(checkCache);
+ }
+
+ private void verifyInsertLibraryAndBooks(boolean checkCache) {
+ beginTransaction();
+ Library library = createAnonymousLibrary(em);
+ String libraryName = library.getName();
+ Book book = createAnonymousBook(em);
+ String bookTitle = book.getTitle();
+ library.getBooks().put(bookTitle, book);
+ commitTransaction();
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ assertNotNull("library", actualLibrary);
+ Book actualBook = findBookWithTitle(em, bookTitle);
+ assertNotNull("book", actualBook);
+ EMap<String, Book> actualBooks = actualLibrary.getBooks();
+ int numberActualBooks = actualBooks.size();
+ assertEquals("number of book", 1, numberActualBooks);
+ EObject actualLibraryBook = actualBooks.get(bookTitle);
+ assertEquals("library book", actualBook, actualLibraryBook);
+
+ EObject bookContainer = actualBook.eContainer();
+ EObject libraryBookContainer = actualLibraryBook.eContainer();
+ assertEquals("book container", bookContainer, libraryBookContainer);
+
+ EObject bookEntryContainer = bookContainer.eContainer();
+ EObject libraryBookEntryContainer = libraryBookContainer.eContainer();
+ assertEquals("entry container", bookEntryContainer, libraryBookEntryContainer);
+ assertEquals("entry container", actualLibrary, bookEntryContainer);
+ assertEquals("entry container", actualLibrary, libraryBookEntryContainer);
+ }
+
+ public void testAddBookToLibraryWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyAddBookToLibrary(checkCache);
+ }
+
+ public void testAddBookToLibraryNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyAddBookToLibrary(checkCache);
+ }
+
+ private void verifyAddBookToLibrary(boolean checkCache) {
+ beginTransaction();
+ // setup fixture
+ Library library = createAnonymousLibrary(em);
+ Writer writer = createAnonymousWriter(em);
+ Book bookOne = createAnonymousBookForWriter(em, writer);
+ String bookOneTitle = bookOne.getTitle();
+ library.getBooks().put(bookOneTitle, bookOne);
+ library.getWriters().add(writer);
+ String libraryName = library.getName();
+ String writerName = writer.getName();
+ commitTransaction();
+ // exercise SUT
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ beginTransaction();
+ library = findLibraryWithName(em, libraryName);
+ writer = findWriterWithName(em, writerName);
+ Book bookTwo = createAnonymousBookForWriter(em, writer);
+ String bookTwoTitle = bookTwo.getTitle();
+ library.getBooks().put(bookTwoTitle, bookTwo);
+ commitTransaction();
+
+ // verify - cache
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ Book actualBookOne = findBookWithTitle(em, bookOneTitle);
+ Book actualBookTwo = findBookWithTitle(em, bookTwoTitle);
+ EMap<String, Book> libraryBooks = actualLibrary.getBooks();
+ assertEquals("number of books", 2, libraryBooks.size());
+ assertEquals("first library book", actualBookOne, libraryBooks.get(bookOneTitle));
+ assertEquals("second library book", actualBookTwo, libraryBooks.get(bookTwoTitle));
+ }
+
+ public void testRemoveBookFromLibraryWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyRemoveBookFromLibrary(checkCache);
+ }
+
+ public void testRemoveBookFromLibraryNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyRemoveBookFromLibrary(checkCache);
+ }
+
+ private void verifyRemoveBookFromLibrary(boolean checkCache) {
+ beginTransaction();
+ // fixture
+ Writer writer = createAnonymousWriter(em);
+ Book bookOne = createAnonymousBookForWriter(em, writer);
+ Book bookTwo = createAnonymousBookForWriter(em, writer);
+ Library library = createAnonymousLibrary(em);
+ library.getBooks().put(bookOne.getTitle(), bookOne);
+ library.getBooks().put(bookTwo.getTitle(), bookTwo);
+ String libraryName = library.getName();
+ String bookOneTitle = bookOne.getTitle();
+ String bookTwoTitle = bookTwo.getTitle();
+ commitTransaction();
+ // exercise SUT
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ beginTransaction();
+ library = findLibraryWithName(em, libraryName);
+ bookTwo = findBookWithTitle(em, bookTwoTitle);
+ Book bookTwoFromLibrary = library.getBooks().removeKey(bookTwoTitle);
+ assertEquals(bookTwo, bookTwoFromLibrary);
+ // TODO: ResourceImpl will get callback to delete MapEntry
+ EObject bookTwoEContainer = bookTwo.eContainer();
+ if ((bookTwoEContainer != null) && (bookTwoEContainer instanceof Entry<?, ?>)) {
+ em.remove(bookTwoEContainer);
+ }
+ em.remove(bookTwo);
+ commitTransaction();
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ Book actualBookOne = findBookWithTitle(em, bookOneTitle);
+ EMap<String, Book> actualBooks = actualLibrary.getBooks();
+ assertEquals("number of books", 1, actualBooks.size());
+ Book actualLibraryBook = actualBooks.get(bookOneTitle);
+ assertEquals("book in library", actualBookOne, actualLibraryBook);
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EObjectTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EObjectTest.java
new file mode 100755
index 000000000..16e2cc421
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/EObjectTest.java
@@ -0,0 +1,107 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.BookCategory;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class EObjectTest extends LibraryJPATest {
+
+ public EObjectTest(String name) {
+ super(name);
+ }
+
+ public void testInsertWriterWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriter(checkCache);
+ }
+
+ public void testInsertWriterNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertWriter(checkCache);
+ }
+
+ private void verifyInsertWriter(boolean checkCache) {
+ beginTransaction();
+ Writer writer = createAnonymousWriter(em);
+ String writerName = writer.getName();
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ beginTransaction();
+ Writer actualWriter = findWriterWithName(em, writerName);
+ assertNotNull("writer", actualWriter);
+ rollbackTransaction();
+ }
+
+ public void testInsertBookWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertBook(checkCache);
+ }
+
+ public void testInsertBookNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertBook(checkCache);
+ }
+
+ private void verifyInsertBook(boolean checkCache) {
+ beginTransaction();
+ Book book = createAnonymousBook(em);
+ String title = book.getTitle();
+ BookCategory category = book.getCategory();
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ beginTransaction();
+ Book actualBook = findBookWithTitle(em, title);
+ assertNotNull("book", actualBook);
+ assertEquals("category", category, actualBook.getCategory());
+ rollbackTransaction();
+ }
+
+ public void testInsertLibraryWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertLibrary(checkCache);
+ }
+
+ public void testInsertLibraryNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertLibrary(checkCache);
+ }
+
+ private void verifyInsertLibrary(boolean checkCache) {
+ beginTransaction();
+ Library library = createAnonymousLibrary(em);
+ String name = library.getName();
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ beginTransaction();
+ Library actualLibrary = findLibraryWithName(em, name);
+ assertNotNull("library", actualLibrary);
+ rollbackTransaction();
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/GenerateORMTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/GenerateORMTest.java
new file mode 100755
index 000000000..06707c32f
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/GenerateORMTest.java
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Springsite (The Netherlands).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Martin Taal - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import junit.framework.TestCase;
+
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.teneo.eclipselink.examples.library.LibraryPackage;
+import org.eclipse.emf.teneo.eclipselink.examples.suppressinterfaces.SuppressinterfacesPackage;
+import org.eclipse.emf.teneo.jpa.convert.ORMGenerator;
+
+/**
+ * @author mtaal
+ */
+public class GenerateORMTest extends TestCase {
+
+ public void testGenerateORMLibrary() {
+ final ORMGenerator ormGenerator = new ORMGenerator();
+ System.err.println(ormGenerator.generateORM(new EPackage[] { LibraryPackage.eINSTANCE }));
+ }
+
+ public void testGenerateORMSuppressedInterfaces() {
+ final ORMGenerator ormGenerator = new ORMGenerator();
+ System.err.println(ormGenerator.generateORM(new EPackage[] { SuppressinterfacesPackage.eINSTANCE }));
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/JPATest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/JPATest.java
new file mode 100755
index 000000000..e7e9e5b61
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/JPATest.java
@@ -0,0 +1,121 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import java.util.Calendar;
+import java.util.HashMap;
+
+import javax.persistence.EntityManager;
+import javax.persistence.EntityManagerFactory;
+
+import org.eclipse.persistence.config.PersistenceUnitProperties;
+import org.eclipse.persistence.jpa.osgi.PersistenceProvider;
+import org.eclipse.persistence.sessions.Session;
+import org.eclipse.persistence.sessions.factories.SessionManager;
+
+public abstract class JPATest extends ManagedTest {
+ private static EntityManagerFactory factory;
+
+ protected EntityManager em;
+
+ public JPATest(String name) {
+ super(name);
+ }
+
+ public EntityManagerFactory getEntityManagerFactory() {
+ if (factory == null) {
+ HashMap<String, Object> properties = new HashMap<String, Object>();
+ ClassLoader classLoader = this.getClass().getClassLoader();
+ properties.put(PersistenceUnitProperties.CLASSLOADER, classLoader);
+ factory = new PersistenceProvider().createEntityManagerFactory(getPersistenceUnitName(), properties);
+ }
+ return factory;
+ }
+
+ protected String getPersistenceUnitName() {
+ return "default";
+ }
+
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ em = getEntityManagerFactory().createEntityManager();
+ cleanDatabase();
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+ if (em != null) {
+ try {
+ em.close();
+ } catch (RuntimeException e) {
+ System.out.println("Exception closing EntityManager: " + e.getMessage());
+ e.printStackTrace();
+ // not supposed to fail in tearDown
+ } finally {
+ }
+ }
+ super.tearDown();
+ }
+
+ protected static long nextTitleInt = Calendar.getInstance().getTimeInMillis();
+
+ /**
+ * Subclasses should define to return all objects that should be deleted before a test is run.
+ *
+ * @param uow
+ */
+ protected abstract void cleanDatabase(EntityManager em);
+
+ /**
+ * Utility method used to generate Strings for "don't care" attribute values of test objects: DON'T HARD WIRE VALUES
+ * IN TESTS
+ *
+ * @return String
+ */
+ protected String getAnonymousString() {
+ return String.valueOf(nextTitleInt++);
+ }
+
+ /**
+ * Called when all the tests in the current suite are have been run.
+ */
+ @Override
+ protected void allTestsComplete() {
+ factory.close();
+ }
+
+ protected void cleanDatabase() {
+ em.getTransaction().begin();
+ cleanDatabase(em);
+ em.getTransaction().commit();
+ }
+
+ protected void beginTransaction() {
+ em.getTransaction().begin();
+ }
+
+ protected void commitTransaction() {
+ em.getTransaction().commit();
+ }
+
+ protected void rollbackTransaction() {
+ em.getTransaction().rollback();
+ }
+
+ protected void reinitializeCachesAndEntityManager() {
+ Session session = SessionManager.getManager().getSession(getPersistenceUnitName());
+ session.getIdentityMapAccessor().initializeAllIdentityMaps();
+ em.close();
+ em = getEntityManagerFactory().createEntityManager();
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibBookEContainerTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibBookEContainerTest.java
new file mode 100755
index 000000000..eb991a27c
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibBookEContainerTest.java
@@ -0,0 +1,79 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+
+public class LibBookEContainerTest extends LibraryJPATest {
+
+ public LibBookEContainerTest(String name) {
+ super(name);
+ }
+
+ public void testInsertBookAndLibraryWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertBookLibrary(checkCache);
+ }
+
+ public void testInsertBookAndLibraryNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertBookLibrary(checkCache);
+ }
+
+ /**
+ * Create the library and a book within the library.<br>
+ * Store the library to the data base.<br>
+ * Fetch back the library from the data base.<br>
+ * Identify the book object assigned to libray.<br>
+ * Check whether the attribute eContainer is set at the book object.
+ *
+ * @param checkCache
+ */
+ private void verifyInsertBookLibrary(boolean checkCache) {
+
+ beginTransaction();
+ Book book = createAnonymousBook(em);
+ String bookTitle = book.getTitle();
+ Library library = createAnonymousLibrary(em);
+ String libraryName = library.getName();
+ library.getBooks().put(book.getTitle(), book);
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ // Check whether the book as been allocated at the data base.
+ Book actualBook = findBookWithTitle(em, bookTitle);
+ assertNotNull("book", actualBook);
+ assertNotNull("Field Actual/Book.eContainer not set", actualBook.eContainer());
+ int containerFeatureID = ((InternalEObject) book).eContainerFeatureID();
+ int actualContainerFeatureID = ((InternalEObject) actualBook).eContainerFeatureID();
+ assertEquals("Containment Feature Id DB Book", containerFeatureID, actualContainerFeatureID);
+
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ assertNotNull("library missing", actualLibrary);
+
+ Book actualLibraryBook = actualLibrary.getBooks().get(bookTitle);
+ assertNotNull("book missing", actualLibraryBook);
+ assertEquals("book title", bookTitle, actualLibraryBook.getTitle());
+ assertEquals("Book Check", actualBook, actualLibraryBook);
+
+ // verify whether the field eContainer is set
+ assertNotNull("Field Library/Book.eContainer not set", actualLibraryBook.eContainer());
+ assertEquals("Containment Relationship", actualLibrary, actualLibraryBook.eContainer().eContainer());
+
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibWriterEContainerTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibWriterEContainerTest.java
new file mode 100755
index 000000000..f41d17810
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibWriterEContainerTest.java
@@ -0,0 +1,77 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class LibWriterEContainerTest extends LibraryJPATest {
+
+ public LibWriterEContainerTest(String name) {
+ super(name);
+ }
+
+ public void testInsertWriterAndLibraryWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterLibrary(checkCache);
+ }
+
+ public void testInsertWriterAndLibraryNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertWriterLibrary(checkCache);
+ }
+
+ /**
+ * Create the library and a writer within the library.<br>
+ * Store the library to the data base.<br>
+ * Fetch back the library from the data base.<br>
+ * Identify the writer object assigned to libray.<br>
+ * Check whether the attribute eContainer is set at the writer object.
+ *
+ * @param checkCache
+ */
+ private void verifyInsertWriterLibrary(boolean checkCache) {
+
+ beginTransaction();
+
+ Writer writer = createAnonymousWriter(em);
+ String writerName = writer.getName();
+ Library library = createAnonymousLibrary(em);
+ String libraryName = library.getName();
+ library.getWriters().add(writer);
+ commitTransaction();
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ Writer actualWriter = findWriterWithName(em, writerName);
+ assertNotNull("writer", actualWriter);
+ assertEquals("writer name", writerName, actualWriter.getName());
+ assertNotNull("Field Actual/Writer.eContainer not set", actualWriter.eContainer());
+ int containerFeatureID = ((InternalEObject) writer).eContainerFeatureID();
+ int actualContainerFeatureID = ((InternalEObject) actualWriter).eContainerFeatureID();
+ assertEquals("Containment Feature Id DB Writer", containerFeatureID, actualContainerFeatureID);
+
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ assertNotNull("library missing", actualLibrary);
+
+ Writer actualLibraryWriter = actualLibrary.getWriters().get(0);
+ assertNotNull("writer missing", actualLibraryWriter);
+ assertEquals("writer name", writerName, actualLibraryWriter.getName());
+ assertEquals("Writer Check", actualWriter, actualLibraryWriter);
+
+ // verify whether the field eContainer is set
+ assertNotNull("Field Library/Writer.eContainer not set", actualLibraryWriter.eContainer());
+ assertEquals("Containment Relationship", actualLibrary, actualLibraryWriter.eContainer());
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEContainerLibraryTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEContainerLibraryTest.java
new file mode 100755
index 000000000..8820b6fb3
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEContainerLibraryTest.java
@@ -0,0 +1,72 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class LibraryEContainerLibraryTest extends LibraryJPATest {
+
+ public LibraryEContainerLibraryTest(String name) {
+ super(name);
+ }
+
+ public void testInsertWriterAndBooksAndLibraryWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterBookLibrary(checkCache);
+ }
+
+ public void testInsertWriterAndBooksAndLibraryNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertWriterBookLibrary(checkCache);
+ }
+
+ /**
+ * Create a library object model holding a library, writer and book object. Fetches back the library object from the
+ * data base. Check whether the containment relationship is correctly set up at the field eContainer of the book and
+ * writer objects.
+ *
+ * @param checkCache
+ */
+ private void verifyInsertWriterBookLibrary(boolean checkCache) {
+
+ beginTransaction();
+ Writer writer = createAnonymousWriterWithOneBook(em);
+ String writerName = writer.getName();
+ Book book = writer.getBooks().get(0);
+ String bookTitle = book.getTitle();
+ Library library = createAnonymousLibrary(em);
+ String libraryName = library.getName();
+ library.getBooks().put(book.getTitle(), book);
+ library.getWriters().add(writer);
+
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ Book actualLibraryBook = actualLibrary.getBooks().get(bookTitle);
+ assertNotNull("book missing", actualLibraryBook);
+
+ Writer actualLibraryWriter = actualLibrary.getWriters().get(0);
+ assertNotNull("writer missing", actualLibraryWriter);
+ assertEquals("writer name", writerName, actualLibraryWriter.getName());
+
+ // verify whether the field eContainer is set
+ assertNotNull("Field Library/Book.eContainer not set", actualLibraryBook.eContainer());
+ assertNotNull("Field Library/Writer.eContainer not set", actualLibraryWriter.eContainer());
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEContainerTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEContainerTest.java
new file mode 100755
index 000000000..0ed327955
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEContainerTest.java
@@ -0,0 +1,72 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class LibraryEContainerTest extends LibraryJPATest {
+
+ public LibraryEContainerTest(String name) {
+ super(name);
+ }
+
+ public void testInsertWriterAndBooksAndLibraryWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterBookLibrary(checkCache);
+ }
+
+ public void testInsertWriterAndBooksAndLibraryNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertWriterBookLibrary(checkCache);
+ }
+
+ /**
+ * The test case creates a library object model holding a library, writer and book object. The writer and book
+ * objects are directly fetched back from the data base. Check whether the containment relationship is correctly set
+ * up at the field eContainer of the book and writer objects.
+ *
+ * @param checkCache
+ */
+ private void verifyInsertWriterBookLibrary(boolean checkCache) {
+
+ beginTransaction();
+ Writer writer = createAnonymousWriterWithOneBook(em);
+ String writerName = writer.getName();
+ Book book = writer.getBooks().get(0);
+ String bookTitle = book.getTitle();
+ Library library = createAnonymousLibrary(em);
+ library.getBooks().put(book.getTitle(), book);
+ library.getWriters().add(writer);
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ Writer actualWriter = findWriterWithName(em, writerName);
+ assertNotNull("writer", actualWriter);
+ assertEquals("writer name", writerName, actualWriter.getName());
+
+ Book actualBook = findBookWithTitle(em, bookTitle);
+ assertNotNull("book", actualBook);
+ assertEquals("number of writer books", 1, actualWriter.getBooks().size());
+ Book actualWriterBook = actualWriter.getBooks().get(0);
+ assertEquals("book/writer book", actualBook, actualWriterBook);
+ assertEquals("writer book", actualWriter.getBooks().get(0), actualBook);
+
+ // verify whether the field eContainer is set
+ assertNotNull("Field Actual/Writer.eContainer not set", actualWriter.eContainer());
+ assertNotNull("Field Actual/Book.eContainer not set", actualBook.eContainer());
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEnvironmentTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEnvironmentTest.java
new file mode 100755
index 000000000..a2cfc84b5
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryEnvironmentTest.java
@@ -0,0 +1,85 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Address;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Publisher;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Style;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Translator;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class LibraryEnvironmentTest extends LibraryJPATest {
+
+ public LibraryEnvironmentTest(String name) {
+
+ super(name);
+ }
+
+ public void testLibraryEnvironmentWithCache() throws Exception {
+
+ boolean checkCache = true;
+ verifyLibraryEnvironment(checkCache);
+ }
+
+ public void testLibraryEnvironmentNoCache() throws Exception {
+
+ boolean checkCache = false;
+ verifyLibraryEnvironment(checkCache);
+ }
+
+ private void verifyLibraryEnvironment(boolean checkCache) {
+
+ beginTransaction();
+
+ // Create the Test Environment
+
+ Library library = setupLibraryEnvironment(em);
+
+ String libraryName = library.getName();
+
+ // put the data to the data base
+
+ commitTransaction();
+
+ // set the cache usage
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ // fetch back the library
+
+ Library dbLibrary = findLibraryWithName(em, libraryName);
+
+ // verify
+
+ assertNotNull("dbLibray not found", dbLibrary);
+ assertEquals("dbLibrary.name", libraryName, dbLibrary.getName());
+
+ Book dbBook = (Book) dbLibrary.getBooks().values().toArray()[0];
+ Writer dbWriter = dbLibrary.getWriters().get(0);
+
+ assertNotNull("dbBook not found", dbBook);
+ assertNotNull("dbWriter not found", dbWriter);
+
+ Translator dbTranslator = dbBook.getTranslator();
+ Address dbAddress = dbWriter.getAddress();
+ Publisher dbPublisher = dbWriter.getPublishers().get(0);
+ Style dbStyle = (Style) dbBook.getStyles().values().toArray()[0];
+
+ assertNotNull("dbTranslator not found", dbTranslator);
+ assertNotNull("dbAddress not found", dbAddress);
+ assertNotNull("dbPublisher not found", dbPublisher);
+ assertNotNull("dbStyle not found", dbStyle);
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryJPATest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryJPATest.java
new file mode 100755
index 000000000..249472d4e
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryJPATest.java
@@ -0,0 +1,236 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import java.util.List;
+
+import javax.persistence.EntityManager;
+
+import junit.framework.AssertionFailedError;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Address;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.BookCategory;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Cover;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.LibraryFactory;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Publisher;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Style;
+import org.eclipse.emf.teneo.eclipselink.examples.library.TWriterType;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Translator;
+import org.eclipse.emf.teneo.eclipselink.examples.library.TypeWriter;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+import org.eclipse.emf.teneo.eclipselink.examples.library.impl.LibraryFactoryImpl;
+
+public abstract class LibraryJPATest extends JPATest {
+
+ public LibraryJPATest(String name) {
+ super(name);
+ }
+
+ @Override
+ protected String getPersistenceUnitName() {
+ return "library";
+ }
+
+ @Override
+ protected void cleanDatabase(EntityManager em) {
+ // delete does not cascade so order is important
+ em.createQuery("delete from Publisher o").executeUpdate();
+ em.createQuery("delete from StringToBookMapEntry o").executeUpdate();
+ em.createQuery("delete from BookStylesMapEntry o").executeUpdate();
+ em.createQuery("delete from Cover o").executeUpdate();
+ em.createQuery("delete from Book o").executeUpdate();
+ em.createQuery("delete from Translator o").executeUpdate();
+ em.createQuery("delete from Writer o").executeUpdate();
+ em.createQuery("delete from TypeWriter o").executeUpdate();
+ em.createQuery("delete from Address o").executeUpdate();
+ em.createQuery("delete from Library o").executeUpdate();
+ em.createQuery("delete from Style o").executeUpdate();
+ }
+
+ protected static final LibraryFactory factory = LibraryFactoryImpl.eINSTANCE;
+
+ protected static void assertBookListContains(List<Book> books, Book firstBook) {
+ for (Book each : books) {
+ try {
+ assertBooksEqual(each, firstBook);
+ return; // found
+ } catch (AssertionFailedError e) {
+ }
+ }
+ }
+
+ protected static void assertBooksEqual(Book expectedBook, Book actualBook) {
+ assertEquals("author", expectedBook.getAuthor(), actualBook.getAuthor());
+ assertEquals("title", expectedBook.getTitle(), actualBook.getTitle());
+ assertEquals("category", expectedBook.getCategory(), actualBook.getCategory());
+ assertEquals("pages", expectedBook.getPages(), actualBook.getPages());
+ }
+
+ protected Book createAnonymousBookForWriter(EntityManager em, Writer writer) {
+ Book book = createAnonymousBook(em);
+ book.setAuthor(writer);
+ writer.getBooks().add(book);
+ return book;
+ }
+
+ protected Book createAnonymousBook(EntityManager em) {
+ Book book = factory.createBook();
+ em.persist(book);
+ book.setCategory(BookCategory.BIOGRAPHY);
+ book.setPages(100);
+ book.setTitle(getAnonymousString());
+ return book;
+ }
+
+ protected Book createAnonymousBookWithCover(EntityManager em) {
+ Book book = createAnonymousBook(em);
+ Cover cover = factory.createCover();
+ cover.setColored(true);
+ book.setCover(cover);
+ return book;
+ }
+
+ protected Writer createAnonymousWriter(EntityManager em) {
+ Writer writer = factory.createWriter();
+
+ em.persist(writer);
+ writer.setName(getAnonymousString());
+ return writer;
+ }
+
+ protected Library createAnonymousLibrary(EntityManager em) {
+ Library library = factory.createLibrary();
+ em.persist(library);
+ library.setName(getAnonymousString());
+ return library;
+ }
+
+ protected Writer createAnonymousWriterWithOneBook(EntityManager em) {
+ Writer writer = createAnonymousWriter(em);
+ createAnonymousBookForWriter(em, writer);
+ return writer;
+ }
+
+ protected Writer createAnonymousWriterWithAddress(EntityManager em) {
+ Writer writer = createAnonymousWriter(em);
+ createAnonymousAddressForWriter(em, writer);
+ return writer;
+ }
+
+ protected Address createAnonymousAddressForWriter(EntityManager em, Writer writer) {
+ Address address = factory.createAddress();
+ address.setTown(getAnonymousString());
+ em.persist(address);
+ writer.setAddress(address);
+ return address;
+ }
+
+ protected Publisher createAnonymousPublisher(EntityManager em) {
+ Publisher publisher = factory.createPublisher();
+ publisher.setName(getAnonymousString());
+ em.persist(publisher);
+ return publisher;
+ }
+
+ protected Book createAnonymousBookWithTranslator(EntityManager em) {
+ Book book = createAnonymousBook(em);
+ book.setTranslator(createAnonymousTranslator(em));
+ return book;
+ }
+
+ protected Translator createAnonymousTranslator(EntityManager em) {
+ Translator translator = factory.createTranslator();
+ translator.setName(getAnonymousString());
+ translator.setLocation("Stuttgart");
+ em.persist(translator);
+ return translator;
+ }
+
+ protected Book createAnonymousBookWithStyles(EntityManager em) {
+ Book book = createAnonymousBook(em);
+ Style style1 = createAnonymousStyle(em);
+ Style style2 = createAnonymousStyle(em);
+ book.getStyles().put(style1.getName(), style1);
+ book.getStyles().put(style2.getName(), style2);
+ return book;
+ }
+
+ protected Style createAnonymousStyle(EntityManager em) {
+ Style style = factory.createStyle();
+ style.setName(getAnonymousString());
+ em.persist(style);
+ return style;
+ }
+
+ protected TypeWriter createAnonymousTypewriter(EntityManager em) {
+ TypeWriter twriter = factory.createTypeWriter();
+ twriter.setMaker(getAnonymousString());
+ twriter.setType(TWriterType.COMPUTER);
+ em.persist(twriter);
+ return twriter;
+ }
+
+ protected Writer createAnonymousWriterWithTypeWriter(EntityManager em) {
+ Writer writer = createAnonymousWriter(em);
+ TypeWriter twriter = createAnonymousTypewriter(em);
+ writer.getTypewriters().add(twriter);
+ return writer;
+ }
+
+ protected Library setupLibraryEnvironment(EntityManager em) {
+
+ Library library = createAnonymousLibrary(em);
+
+ Book book = createAnonymousBookWithStyles(em);
+ library.getBooks().put(book.getTitle(), book);
+
+ Translator translator = createAnonymousTranslator(em);
+ book.setTranslator(translator);
+
+ Writer writer = createAnonymousWriterWithAddress(em);
+ library.getWriters().add(writer);
+
+ Publisher publisher = createAnonymousPublisher(em);
+ writer.getPublishers().add(publisher);
+ publisher.getWriters().add(writer);
+
+ return library;
+ }
+
+ protected Writer findWriterWithName(EntityManager em, String name) {
+ return (Writer) em.createQuery("select o from Writer o where o.name = :name").setParameter("name", name)
+ .getSingleResult();
+ }
+
+ protected Book findBookWithTitle(EntityManager em, String title) {
+ return (Book) em.createQuery("select o from Book o where o.title = :title").setParameter("title", title)
+ .getSingleResult();
+ }
+
+ protected Library findLibraryWithName(EntityManager em, String name) {
+ return (Library) em.createQuery("select o from Library o where o.name = :name").setParameter("name", name)
+ .getSingleResult();
+ }
+
+ protected Publisher findPublisherWithName(EntityManager em, String name) {
+ return (Publisher) em.createQuery("select o from Publisher o where o.name = :name").setParameter("name", name)
+ .getSingleResult();
+ }
+
+ protected TypeWriter findTypeWriterWithMaker(EntityManager em, String maker) {
+
+ return (TypeWriter) em.createQuery("select o from TypeWriter o where o.maker = :maker").setParameter("maker",
+ maker).getSingleResult();
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryXMIPersistenceTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryXMIPersistenceTest.java
new file mode 100755
index 000000000..9b50dae40
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/LibraryXMIPersistenceTest.java
@@ -0,0 +1,113 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.util.Collections;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.ecore.xmi.XMIResource;
+import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class LibraryXMIPersistenceTest extends LibraryJPATest {
+
+ public LibraryXMIPersistenceTest(String name) {
+ super(name);
+ }
+
+ public void testInsertWriterAndBooksAndLibraryWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterBookLibrary(checkCache);
+ }
+
+ public void testInsertWriterAndBooksAndLibraryNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertWriterBookLibrary(checkCache);
+ }
+
+ /**
+ * The test case creates a library object model holding a library, writer and book object. It generates a XMI file
+ * using the build in persistency API of EMF. The first XMI file is generated directly after creation of the library
+ * object model. A second XMI file is created based on the library object model which is read back from the data
+ * base. Both files shall be identical.
+ *
+ * @param checkCache
+ */
+ private void verifyInsertWriterBookLibrary(boolean checkCache) throws Exception {
+ beginTransaction();
+ Writer writer = createAnonymousWriterWithOneBook(em);
+ String writerName = writer.getName();
+ Book book = writer.getBooks().get(0);
+ String bookTitle = book.getTitle();
+ Library library = createAnonymousLibrary(em);
+ String libraryName = library.getName();
+ library.getBooks().put(book.getTitle(), book);
+ library.getWriters().add(writer);
+
+ File tempFile = File.createTempFile("temp", "library.xmi");
+ saveToXMIFile(library, tempFile);
+
+ commitTransaction();
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ Writer actualWriter = findWriterWithName(em, writerName);
+ assertNotNull("writer", actualWriter);
+ assertEquals("writer name", writerName, actualWriter.getName());
+
+ Book actualBook = findBookWithTitle(em, bookTitle);
+ assertNotNull("book", actualBook);
+ assertEquals("number of writer books", 1, actualWriter.getBooks().size());
+ Book actualWriterBook = actualWriter.getBooks().get(0);
+ assertEquals("book/writer book", actualBook, actualWriterBook);
+ assertEquals("writer book", actualWriter.getBooks().get(0), actualBook);
+
+ Library actualLibrary = findLibraryWithName(em, libraryName);
+ Book actualLibraryBook = actualLibrary.getBooks().get(bookTitle);
+ assertEquals("book/library book", actualBook, actualLibraryBook);
+ Writer actualLibraryWriter = actualLibrary.getWriters().get(0);
+ assertEquals("writer/library writer", actualWriter, actualLibraryWriter);
+
+ // Start the writing to XMI
+
+ saveToXMIFile(actualLibrary, tempFile);
+
+ }
+
+ /**
+ * The private method saveToXMIFile allocates a resource set and stores the contents of the library object model to
+ * a XMI file.
+ *
+ * @param library
+ * The root object of the library object model
+ * @param fileURI
+ * The name of the file "file://C:/<file name>"
+ * @throws IOException
+ */
+ private void saveToXMIFile(Library library, File aFile) throws IOException {
+ new ResourceSetImpl();
+ URI resURI = URI.createFileURI(aFile.getAbsolutePath());
+ XMIResource xmiResource = new XMIResourceImpl(resURI);
+
+ xmiResource.getContents().add(library);
+
+ FileWriter fw = new FileWriter(aFile);
+ xmiResource.save(fw, Collections.EMPTY_MAP);
+ fw.close();
+ }
+} \ No newline at end of file
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/ManagedTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/ManagedTest.java
new file mode 100755
index 000000000..37e0d0d8f
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/ManagedTest.java
@@ -0,0 +1,48 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import junit.framework.TestCase;
+
+public abstract class ManagedTest extends TestCase {
+ private static List<ManagedTest> runningTests = new ArrayList<ManagedTest>();
+
+ public ManagedTest(String sTestName) {
+ super(sTestName);
+ registerTest();
+ }
+
+ private void registerTest() {
+ runningTests.add(this);
+ }
+
+ private void unregisterTest() {
+ runningTests.remove(this);
+ if (runningTests.isEmpty()) {
+ allTestsComplete();
+ }
+ }
+
+ /**
+ * Called when all the tests in the current suite are have been run.
+ */
+ protected abstract void allTestsComplete();
+
+ @Override
+ protected void tearDown() throws Exception {
+ unregisterTest();
+ super.tearDown();
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/OneToOneTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/OneToOneTest.java
new file mode 100755
index 000000000..461fc1d01
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/OneToOneTest.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Address;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class OneToOneTest extends LibraryJPATest {
+
+ public OneToOneTest(String name) {
+ super(name);
+ }
+
+ public void testWriteRead() throws Exception {
+ em.getTransaction().begin();
+ Writer writer = createAnonymousWriter(em);
+ String writerName = writer.getName();
+ Address address = createAnonymousAddressForWriter(em, writer);
+ String addressTown = address.getTown();
+ writer.setAddress(address);
+ em.getTransaction().commit();
+
+ Writer actualWriter = (Writer) em.createQuery("select o from Writer o where o.name = :name").setParameter(
+ "name", writerName).getSingleResult();
+ Address actualAddress = (Address) em.createQuery("select o from Address o where o.town = :town").setParameter(
+ "town", addressTown).getSingleResult();
+
+ assertEquals("writer address", actualWriter.getAddress(), actualAddress);
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/PublisherWriterTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/PublisherWriterTest.java
new file mode 100755
index 000000000..474817284
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/PublisherWriterTest.java
@@ -0,0 +1,170 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Publisher;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+/**
+ * @author ebk2fe
+ * @version 1.0 (April 28th, 2006)
+ * <p>
+ * This test case creates a publisher object and assignes two writers to the publisher. The objects are
+ * committed to the data base. The publisher is fetched back from the data base.
+ */
+public class PublisherWriterTest extends LibraryJPATest {
+
+ private Writer writer1;
+ private String writer1Name;
+ private Writer writer2;
+ private String writer2Name;
+ private Publisher publisher;
+ private String publisherName;
+
+ public PublisherWriterTest(String name) {
+ super(name);
+ }
+
+ public void testInsertPublisherWriterWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertPublisherWriter(checkCache);
+ }
+
+ public void testInsertPublisherWriterNoCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertPublisherWriter(checkCache);
+ }
+
+ public void testRemovePublisherWriterWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyRemovePublisherWriter(checkCache);
+ }
+
+ public void testRemovePublisherWriterNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyRemovePublisherWriter(checkCache);
+ }
+
+ public void testMovePublisherWriterWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyMovePublisherWriter(checkCache);
+ }
+
+ public void testMovePublisherWriterNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyMovePublisherWriter(checkCache);
+ }
+
+ private void verifyMovePublisherWriter(boolean checkCache) {
+
+ // move a writer to a new publisher
+ beginTransaction();
+ Publisher publisher2 = createAnonymousPublisher(em);
+ String publisher2Name = publisher2.getName();
+
+ Publisher dbPublisher1 = findPublisherWithName(em, publisherName);
+ Writer dbWriter2 = findWriterWithName(em, writer2Name);
+
+ dbPublisher1.getWriters().remove(dbWriter2);
+ dbWriter2.getPublishers().remove(dbPublisher1);
+ dbWriter2.getPublishers().add(publisher2);
+ publisher2.getWriters().add(dbWriter2);
+ commitTransaction();
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ // verify dissassociation
+ dbPublisher1 = findPublisherWithName(em, publisherName);
+ Publisher dbPublisher2 = findPublisherWithName(em, publisher2Name);
+ Writer dbWriter1 = findWriterWithName(em, writer1Name);
+ dbWriter2 = findWriterWithName(em, writer2Name);
+
+ assertNotNull("publisher1", dbPublisher1);
+ assertNotNull("publisher2", dbPublisher2);
+ assertNotNull("writer1", dbWriter1);
+ assertNotNull("writer2", dbWriter2);
+ assertEquals("writer1's publishers", 1, dbWriter1.getPublishers().size());
+ assertEquals("writer2's publishers", 1, dbWriter2.getPublishers().size());
+ assertEquals("publisher1's writers", 1, dbPublisher1.getWriters().size());
+ assertEquals("publisher2's writers", 1, dbPublisher2.getWriters().size());
+ assertEquals("publisher1's writer", dbWriter1, dbPublisher1.getWriters().get(0));
+ assertEquals("publisher2's writer", dbWriter2, dbPublisher2.getWriters().get(0));
+ assertEquals("writer1's publisher", dbPublisher1, dbWriter1.getPublishers().get(0));
+ assertEquals("writer2's publisher", dbPublisher2, dbWriter2.getPublishers().get(0));
+ }
+
+ private void verifyRemovePublisherWriter(boolean checkCache) {
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ // dissassociate a writer from a publisher
+ beginTransaction();
+ Publisher dbPublisher = findPublisherWithName(em, publisherName);
+ Writer dbWriter1 = findWriterWithName(em, writer1Name);
+
+ dbPublisher.getWriters().remove(dbWriter1);
+ dbWriter1.getPublishers().remove(dbPublisher);
+ commitTransaction();
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ // verify dissassociation
+ dbPublisher = findPublisherWithName(em, publisherName);
+ dbWriter1 = findWriterWithName(em, writer1Name);
+ Writer dbWriter2 = findWriterWithName(em, writer2Name);
+
+ assertNotNull("publisher not found", dbPublisher);
+ assertNotNull("writer1 not found", dbWriter1);
+ assertNotNull("writer2 not found", dbWriter2);
+ assertTrue("writer's publishers", dbWriter1.getPublishers().isEmpty());
+ assertEquals("num publisher's writers", 1, dbPublisher.getWriters().size());
+ assertEquals("publisher's writer", dbWriter2, dbPublisher.getWriters().get(0));
+ }
+
+ private void verifyInsertPublisherWriter(boolean checkCache) {
+ // the fixture setUp does the insert, now verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ Publisher dbPublisher = findPublisherWithName(em, publisherName);
+
+ assertNotNull("publisher not found", dbPublisher);
+ assertEquals("publisher's writers", 2, dbPublisher.getWriters().size());
+
+ Writer dbWriter = dbPublisher.getWriters().get(0);
+ assertNotNull("writer not found", dbWriter);
+ assertEquals("writer's publisher", dbPublisher, dbWriter.getPublishers().get(0));
+ }
+
+ /**
+ * The test fixture consists of a single publisher with two writers.
+ */
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+ beginTransaction();
+ publisher = createAnonymousPublisher(em);
+ publisherName = publisher.getName();
+ writer1 = createAnonymousWriter(em);
+ writer1Name = writer1.getName();
+ writer2 = createAnonymousWriter(em);
+ writer2Name = writer2.getName();
+ //
+ publisher.getWriters().add(writer1);
+ publisher.getWriters().add(writer2);
+ commitTransaction();
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/TestSuppressedJPATest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/TestSuppressedJPATest.java
new file mode 100755
index 000000000..dd897d7bb
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/TestSuppressedJPATest.java
@@ -0,0 +1,65 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import java.util.List;
+
+import javax.persistence.EntityManager;
+
+import org.eclipse.emf.teneo.eclipselink.examples.suppressinterfaces.SuppressinterfacesFactory;
+import org.eclipse.emf.teneo.eclipselink.examples.suppressinterfaces.Test;
+import org.eclipse.emf.teneo.eclipselink.examples.suppressinterfaces.TestEmbedded;
+
+public class TestSuppressedJPATest extends JPATest {
+
+ public TestSuppressedJPATest() {
+ super("Suppressed Interface Test");
+ }
+
+ @Override
+ protected String getPersistenceUnitName() {
+ return "library";
+ }
+
+ @Override
+ protected void cleanDatabase(EntityManager em) {
+ // delete does not cascade so order is important
+ // em.createQuery("delete from Identifiable o").executeUpdate();
+ }
+
+ protected static final SuppressinterfacesFactory factory = SuppressinterfacesFactory.eINSTANCE;
+
+ public void testPersistence() throws Exception {
+
+ beginTransaction();
+ createTest();
+ commitTransaction();
+
+ beginTransaction();
+ final List<?> list = em.createQuery("select e from Identifiable e").getResultList();
+ assertEquals(1, list.size());
+ final Test test = (Test) list.get(0);
+
+ assertTrue(test.getTestEmbedded() != null);
+ assertEquals("name", test.getTestEmbedded().getNameEmbedded());
+ commitTransaction();
+ }
+
+ protected Test createTest() {
+ Test test = factory.createTest();
+ test.setName("test");
+ TestEmbedded testEmbedded = factory.createTestEmbedded();
+ testEmbedded.setNameEmbedded("name");
+ test.setTestEmbedded(testEmbedded);
+ em.persist(test);
+ return test;
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/TypeWriterTypeTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/TypeWriterTypeTest.java
new file mode 100755
index 000000000..af9d2b4b7
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/TypeWriterTypeTest.java
@@ -0,0 +1,66 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.TWriterType;
+import org.eclipse.emf.teneo.eclipselink.examples.library.TypeWriter;
+
+/**
+ * @author ebk2fe
+ * @version 1.0 (April 28th, 2006)
+ * <p>
+ * This test case create a typewriter object which holds at the attribute type an EMF enumeration type. To
+ * store the attribute EMF enumeration value at the data base the transformation mapping is used. Two java
+ * classes have been implemented: <code>TypewriterTypeAttributeTransformer</code> and
+ * <code>TypewriterTypeFieldTransformer</code>.<br>
+ * The correct EMF value for the attribute has to be fetched back from the data base.
+ */
+public class TypeWriterTypeTest extends LibraryJPATest {
+
+ public TypeWriterTypeTest(String name) {
+ super(name);
+ }
+
+ public void testInsertTypeWriterWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertTypeWriter(checkCache);
+ }
+
+ public void testInsertTypeWriterNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertTypeWriter(checkCache);
+ }
+
+ private void verifyInsertTypeWriter(boolean checkCache) {
+
+ beginTransaction();
+
+ TypeWriter twriter = createAnonymousTypewriter(em);
+ String twriterMaker = twriter.getMaker();
+ TWriterType twriterType = twriter.getType();
+
+ // put the data to the data base
+ commitTransaction();
+
+ // verify
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ // Check whether the writer as been allocated at the data base.
+
+ TypeWriter dbTWriter = findTypeWriterWithMaker(em, twriterMaker);
+
+ assertNotNull("dbTWriter not found", dbTWriter);
+ assertEquals("dbTWriter.maker", twriterMaker, dbTWriter.getMaker());
+ assertEquals("dbTWriter.type", twriterType, dbTWriter.getType());
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterAddressTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterAddressTest.java
new file mode 100755
index 000000000..2663008a0
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterAddressTest.java
@@ -0,0 +1,62 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Address;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+public class WriterAddressTest extends LibraryJPATest {
+
+ public WriterAddressTest(String name) {
+ super(name);
+ }
+
+ public void testInsertWriterAndAddressWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterAddress(checkCache);
+ }
+
+ public void testInsertWriterAndAddressNoCache() throws Exception {
+ boolean checkCache = false;
+ verifyInsertWriterAddress(checkCache);
+ }
+
+ private void verifyInsertWriterAddress(boolean checkCache) {
+
+ beginTransaction();
+
+ Writer writer = createAnonymousWriterWithAddress(em);
+ String writerName = writer.getName();
+ Address address = writer.getAddress();
+
+ // put the data to the data base
+ commitTransaction();
+
+ // verify
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+
+ // Check whether the writer as been allocated at the data base.
+
+ Writer dbWriter = findWriterWithName(em, writerName);
+ assertNotNull("dbWriter not found", dbWriter);
+ Address dbAddress = dbWriter.getAddress();
+
+ assertNotNull("dbAddress not found", dbAddress);
+ assertNotNull("eContainer not set", dbAddress.eContainer());
+ int containerFeatureID = ((InternalEObject) address).eContainerFeatureID();
+ int dbContainerFeatureID = ((InternalEObject) dbAddress).eContainerFeatureID();
+ assertEquals("Containment Feature Id DB Address", containerFeatureID, dbContainerFeatureID);
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterPublisherTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterPublisherTest.java
new file mode 100755
index 000000000..959381bc8
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterPublisherTest.java
@@ -0,0 +1,71 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Publisher;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+/**
+ * @author ebk2fe
+ * @version 1.0 (April 28th, 2006)
+ * <p>
+ * This test case creates a writer object and assignes two publishers to the writer. The objects are committed
+ * to the data base. The writer is fetched back from the data base.
+ */
+public class WriterPublisherTest extends LibraryJPATest {
+
+ public WriterPublisherTest(String name) {
+ super(name);
+ }
+
+ public void testInsertWriterPublisherWithCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterPublisher(checkCache);
+ }
+
+ public void testInsertWriterPublisherNoCache() throws Exception {
+ boolean checkCache = true;
+ verifyInsertWriterPublisher(checkCache);
+ }
+
+ private void verifyInsertWriterPublisher(boolean checkCache) {
+
+ beginTransaction();
+ Writer writer = createAnonymousWriter(em);
+ String writerName = writer.getName();
+ Publisher publisher1 = createAnonymousPublisher(em);
+ Publisher publisher2 = createAnonymousPublisher(em);
+
+ publisher1.getWriters().add(writer);
+ publisher2.getWriters().add(writer);
+
+ writer.getPublishers().add(publisher1);
+ writer.getPublishers().add(publisher2);
+
+ int nbrElements = writer.getPublishers().size();
+
+ commitTransaction();
+
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ Writer dbWriter = findWriterWithName(em, writerName);
+
+ assertNotNull("dbWriter not found", dbWriter);
+ assertEquals("nbr list elements", nbrElements, dbWriter.getPublishers().size());
+
+ Publisher dbPublisher = dbWriter.getPublishers().get(0);
+
+ assertNotNull("dbPublisher not found", dbPublisher);
+ assertEquals("reference to the writer", dbWriter, dbPublisher.getWriters().get(0));
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterTypewriterTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterTypewriterTest.java
new file mode 100755
index 000000000..9fbeafda5
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/WriterTypewriterTest.java
@@ -0,0 +1,78 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.TWriterType;
+import org.eclipse.emf.teneo.eclipselink.examples.library.TypeWriter;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+
+/**
+ * @author ebk2fe
+ * @version 1.0.1 June 9th, 2006
+ * <p>
+ * This test case creates a writer object and assigns a typewriter to the writer. The object model uses a 1:n
+ * association based on EList to store the reference from writer to the typewriter(s). The data base model
+ * provides an associative table to cover the list of references. The or-mapping uses the many-to-many mapping
+ * to implement the 1:n relationship. The benefit would be that no explicite backward reference is required at
+ * the object model.
+ */
+public class WriterTypewriterTest extends LibraryJPATest {
+
+ public WriterTypewriterTest(String name) {
+
+ super(name);
+ }
+
+ public void testInsertWriterWithTypeWriterWithCache() throws Exception {
+
+ boolean checkCache = true;
+ verifyInsertWriterWithTypeWriter(checkCache);
+ }
+
+ public void testInsertWriterWithTypeWriterNoCache() throws Exception {
+
+ boolean checkCache = false;
+ verifyInsertWriterWithTypeWriter(checkCache);
+ }
+
+ private void verifyInsertWriterWithTypeWriter(boolean checkCache) {
+
+ beginTransaction();
+
+ Writer writer = createAnonymousWriterWithTypeWriter(em);
+ TypeWriter twriter = writer.getTypewriters().get(0);
+ String twriterMaker = twriter.getMaker();
+ TWriterType twriterType = twriter.getType();
+ String writerName = writer.getName();
+
+ // put the data to the data base
+ commitTransaction();
+
+ // verify
+ if (!checkCache) {
+ reinitializeCachesAndEntityManager();
+ }
+ // Check whether the writer as been allocated at the data base.
+
+ Writer dbWriter = findWriterWithName(em, writerName);
+
+ assertNotNull("dbWriter not found", dbWriter);
+ assertEquals("dbWriter.name", writerName, dbWriter.getName());
+
+ TypeWriter dbTWriter = dbWriter.getTypewriters().get(0);
+
+ assertNotNull("dbTWriter not found", dbTWriter);
+ assertEquals("dbTWriter.maker", twriterMaker, dbTWriter.getMaker());
+ assertEquals("dbTWriter.type", twriterType, dbTWriter.getType());
+
+ }
+
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/AbstractEclipseLinkTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/AbstractEclipseLinkTest.java
new file mode 100755
index 000000000..ff87acf50
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/AbstractEclipseLinkTest.java
@@ -0,0 +1,59 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.resource;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.persistence.EntityManager;
+import javax.persistence.EntityManagerFactory;
+
+import junit.framework.TestCase;
+
+import org.eclipse.persistence.config.PersistenceUnitProperties;
+import org.eclipse.persistence.jpa.osgi.PersistenceProvider;
+
+public abstract class AbstractEclipseLinkTest extends TestCase {
+
+ public static final String TEST_PERSISTENCE_UNIT_NAME = "library";
+
+ public static Map<String, Object> getTestPersistenceUnitProperties(ClassLoader classloader) {
+
+ HashMap<String, Object> options = new HashMap<String, Object>();
+ options.put(PersistenceUnitProperties.CLASSLOADER, classloader);
+ return options;
+ }
+
+ protected TestModelFactory testLibraryFactory = new TestModelFactory();
+
+ @Override
+ protected void tearDown() throws Exception {
+
+ super.tearDown();
+
+ // create entity manager factory for given persistence unit name
+ Map<String, Object> properties = getTestPersistenceUnitProperties(this.getClass().getClassLoader());
+ EntityManagerFactory entityManagerFactory = new PersistenceProvider().createEntityManagerFactory(
+ TEST_PERSISTENCE_UNIT_NAME, properties);
+
+ // create entity manager
+ EntityManager entityManager = entityManagerFactory.createEntityManager();
+
+ // destroy library model in database and memory
+ testLibraryFactory.destroyLibraryModel(entityManager);
+
+ // close entity manager
+ entityManager.close();
+
+ // close entity manager factory for given persistence unit name
+ entityManagerFactory.close();
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/AllTests.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/AllTests.java
new file mode 100755
index 000000000..d667248bf
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/AllTests.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.resource;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+public class AllTests {
+
+ public static Test suite() {
+
+ TestSuite suite = new TestSuite("TestSuite for EclipseLinkResourceImpl");
+ // $JUnit-BEGIN$
+ suite.addTestSuite(EclipseLinkResourceTest.class);
+ // disabled following tests as it requires an open workspace
+ // suite.addTestSuite(EclipseLinkAndXMIResourceTest.class);
+ // $JUnit-END$
+ return suite;
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/CreateSampleLibrariesWithEclipseLinkResourceTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/CreateSampleLibrariesWithEclipseLinkResourceTest.java
new file mode 100755
index 000000000..d39d74b6c
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/CreateSampleLibrariesWithEclipseLinkResourceTest.java
@@ -0,0 +1,111 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.resource;
+
+import java.io.IOException;
+import java.util.Collections;
+import java.util.List;
+
+import junit.framework.TestCase;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Address;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.LibraryFactory;
+import org.eclipse.emf.teneo.eclipselink.examples.library.LibraryPackage;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Translator;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+import org.eclipse.emf.teneo.eclipselink.resource.EclipseLinkResourceImpl;
+import org.eclipse.emf.teneo.eclipselink.resource.EclipseLinkURIUtil;
+
+public class CreateSampleLibrariesWithEclipseLinkResourceTest extends TestCase {
+
+ private URI uri;
+ private Resource resource;
+ private Library libraryEclipseCon, libraryIBM, libraryOracle;
+
+ @Override
+ protected void setUp() throws Exception {
+ super.setUp();
+
+ // create and populate first library model instance
+ libraryEclipseCon = LibraryFactory.eINSTANCE.createLibrary();
+ libraryEclipseCon.setName("EclipseCon Library");
+
+ Writer writer1 = LibraryFactory.eINSTANCE.createWriter();
+ writer1.setName("The True Eclipse Expert");
+ libraryEclipseCon.getWriters().add(writer1);
+
+ Address address1 = LibraryFactory.eINSTANCE.createAddress();
+ address1.setTown("Sin City");
+ writer1.setAddress(address1);
+
+ Book book1 = LibraryFactory.eINSTANCE.createBook();
+ book1.setTitle("Eclipse Tips & Tricks");
+ libraryEclipseCon.getBooks().put(book1.getTitle(), book1);
+
+ Translator translator1 = LibraryFactory.eINSTANCE.createTranslator();
+ translator1.setName("Mr. Babelfish");
+ book1.setTranslator(translator1);
+
+ Address address2 = LibraryFactory.eINSTANCE.createAddress();
+ address2.setTown("Foo City");
+ // TODO add this relationship to mapping
+ translator1.setAddress(address2);
+
+ // create and populate second library model instance
+ libraryIBM = LibraryFactory.eINSTANCE.createLibrary();
+ libraryIBM.setName("IBM Library");
+
+ // create and populate third library model instance
+ libraryOracle = LibraryFactory.eINSTANCE.createLibrary();
+ libraryOracle.setName("ORACLE Library");
+
+ // create EclipseLink URI for saving/loading all library models in/from
+ // database
+ String query = EclipseLinkURIUtil.createContentsInstancesOfQuery(LibraryPackage.eINSTANCE.getLibrary());
+ uri = EclipseLinkURIUtil.createEclipseLinkURI(AbstractEclipseLinkTest.TEST_PERSISTENCE_UNIT_NAME, query);
+
+ // save all library model instances in database
+ ResourceSet resourceSet = new ResourceSetImpl();
+ resourceSet.getLoadOptions().putAll(
+ AbstractEclipseLinkTest.getTestPersistenceUnitProperties(this.getClass().getClassLoader()));
+ resource = resourceSet.createResource(uri);
+ resource.getContents().add(libraryEclipseCon);
+ resource.getContents().add(libraryIBM);
+ resource.getContents().add(libraryOracle);
+ resource.save(Collections.EMPTY_MAP);
+
+ // unload resource of library model instances
+ resource.unload();
+ }
+
+ public void testEclipseLinkResourceContentPresent() throws IOException {
+ // load second library model instance from database
+ ResourceSet resourceSet2 = new ResourceSetImpl();
+ resourceSet2.getLoadOptions().putAll(
+ AbstractEclipseLinkTest.getTestPersistenceUnitProperties(this.getClass().getClassLoader()));
+ Resource resource2 = resourceSet2.getResource(uri, true);
+
+ assertTrue(resource2 instanceof EclipseLinkResourceImpl);
+ assertTrue(resource2.isLoaded());
+
+ // analyse second library model instance
+ List<EObject> contents2 = resource2.getContents();
+ assertNotNull(contents2);
+ assertEquals(3, contents2.size());
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/EclipseLinkAndXMIResourceTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/EclipseLinkAndXMIResourceTest.java
new file mode 100755
index 000000000..ef0ec2bcd
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/EclipseLinkAndXMIResourceTest.java
@@ -0,0 +1,250 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.resource;
+
+import java.io.IOException;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.IWorkspace;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.LibraryPackage;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+import org.eclipse.emf.teneo.eclipselink.examples.library.forum.Forum;
+import org.eclipse.emf.teneo.eclipselink.examples.library.impl.StringToBookMapEntryImpl;
+import org.eclipse.emf.teneo.eclipselink.resource.EclipseLinkResourceImpl;
+import org.eclipse.emf.teneo.eclipselink.resource.EclipseLinkURIUtil;
+
+public class EclipseLinkAndXMIResourceTest extends AbstractEclipseLinkTest {
+
+ private IProject testProject;
+ private URI libraryURI, forumURI;
+ private Library library1;
+ private Forum forum1;
+ private Resource libraryResource1, libraryResource2, libraryResource3;
+ private Resource forumResource1, forumResource2, forumResource3;
+
+ @Override
+ protected void setUp() throws Exception {
+
+ super.setUp();
+
+ // create test project in runtime workspace
+ IWorkspace workspace = ResourcesPlugin.getWorkspace();
+ testProject = workspace.getRoot().getProject("Test");
+ IProjectDescription description = workspace.newProjectDescription("Test");
+ testProject.create(description, null);
+ testProject.open(null);
+ }
+
+ @Override
+ protected void tearDown() throws Exception {
+
+ // delete test project including its contents from runtime workspace
+ try {
+ testProject.delete(true, true, null);
+ } catch (CoreException cex) {
+ cex.printStackTrace();
+ }
+
+ super.tearDown();
+ }
+
+ public void testEclipseLinkAndXMIResource() throws IOException {
+
+ // create library model instance
+ library1 = testLibraryFactory.createLibraryModel();
+
+ // create forum model instance
+ forum1 = testLibraryFactory.createForumModel();
+
+ saveLibraryModel1AndForumModel1();
+ loadLibraryModel2FromForumModel2ViaIDBasedCrossDocumentReference();
+ loadLibraryModel3FromForumModel3ViaIndexBasedCrossDocumentReference();
+ deleteLibraryModel1();
+ unloadAllLibraryAndForumModels();
+ }
+
+ private void saveLibraryModel1AndForumModel1() throws IOException {
+
+ // create EclipseLink URI for saving/loading library model in/from database
+ String query = EclipseLinkURIUtil.createContentsEqualQuery(LibraryPackage.eINSTANCE.getLibrary(),
+ LibraryPackage.eINSTANCE.getLibrary_Name(), library1.getName());
+ libraryURI = EclipseLinkURIUtil.createEclipseLinkURI(TEST_PERSISTENCE_UNIT_NAME, query);
+
+ // save library model instance in database
+ ResourceSet resourceSet1 = new ResourceSetImpl();
+ resourceSet1.getLoadOptions().putAll(getTestPersistenceUnitProperties(this.getClass().getClassLoader()));
+ libraryResource1 = resourceSet1.createResource(libraryURI);
+
+ assertTrue(libraryResource1 instanceof EclipseLinkResourceImpl);
+
+ libraryResource1.getContents().add(library1);
+ libraryResource1.save(Collections.EMPTY_MAP);
+
+ // create platform resource URI for saving/loading forum model in/from
+ // XMI file
+ String forumPathName = createForumModelPathName(testProject, forum1);
+ forumURI = URI.createPlatformResourceURI(forumPathName, false);
+
+ // save forum model instance in XMI resource
+ forumResource1 = resourceSet1.createResource(forumURI);
+
+ assertTrue(forumResource1 instanceof XMIResourceImpl);
+
+ forumResource1.getContents().add(forum1);
+ forumResource1.save(Collections.EMPTY_MAP);
+ }
+
+ private void loadLibraryModel2FromForumModel2ViaIDBasedCrossDocumentReference() {
+
+ // load second forum model instance from XMI resource
+ ResourceSet resourceSet2 = new ResourceSetImpl();
+ resourceSet2.getLoadOptions().putAll(getTestPersistenceUnitProperties(this.getClass().getClassLoader()));
+ forumResource2 = resourceSet2.getResource(forumURI, true);
+
+ assertTrue(forumResource2 instanceof XMIResourceImpl);
+
+ // analyse second forum model instance
+ List<EObject> forumContents2 = forumResource2.getContents();
+ assertNotNull(forumContents2);
+ assertEquals(1, forumContents2.size());
+ EObject forum2 = forumContents2.get(0);
+
+ EPackage forumPack = forum2.eClass().getEPackage();
+ EClass forumCls = (EClass) forumPack.getEClassifier("Forum");
+ EStructuralFeature nameFeat = forumCls.getEStructuralFeature("name");
+ EStructuralFeature ratedAuthorsFeat = forumCls.getEStructuralFeature("ratedAuthors");
+
+ assertNotNull(forum2.eGet(nameFeat));
+ assertEquals(forum1.eGet(nameFeat), forum2.eGet(nameFeat));
+ assertNotNull(forum2.eGet(ratedAuthorsFeat));
+ assertEquals(((EList<?>) forum1.eGet(ratedAuthorsFeat)).size(), ((EList<?>) forum2.eGet(ratedAuthorsFeat))
+ .size());
+
+ // navigate from second forum to referenced rated author and thereby
+ // lazily load second library model instance from database resource
+ Writer writer2 = (Writer) ((EList<?>) forum2.eGet(ratedAuthorsFeat)).get(0);
+
+ assertNotNull(writer2);
+
+ libraryResource2 = writer2.eResource();
+
+ assertTrue(libraryResource2 instanceof EclipseLinkResourceImpl);
+ assertEquals(libraryResource2.getURI(), libraryURI);
+
+ // analyse second library model instance
+ assertTrue(writer2.eContainer() instanceof Library);
+ Library library2 = (Library) writer2.eContainer();
+
+ assertNotNull(library2.getName());
+ assertEquals(library1.getName(), library2.getName());
+ assertNotNull(library2.getWriters());
+ assertEquals(library1.getWriters().size(), library2.getWriters().size());
+ assertNotNull(library2.getBooks());
+ assertEquals(library1.getBooks().size(), library2.getBooks().size());
+ }
+
+ private void loadLibraryModel3FromForumModel3ViaIndexBasedCrossDocumentReference() {
+
+ // load third forum model instance from XMI resource
+ ResourceSet resourceSet3 = new ResourceSetImpl();
+ resourceSet3.getLoadOptions().putAll(getTestPersistenceUnitProperties(this.getClass().getClassLoader()));
+ forumResource3 = resourceSet3.getResource(forumURI, true);
+
+ assertTrue(forumResource3 instanceof XMIResourceImpl);
+
+ // analyse third forum model instance
+ List<EObject> forumContents3 = forumResource3.getContents();
+ assertNotNull(forumContents3);
+ assertEquals(1, forumContents3.size());
+ EObject forum3 = forumContents3.get(0);
+
+ EPackage forumPack = forum3.eClass().getEPackage();
+ EClass forumCls = (EClass) forumPack.getEClassifier("Forum");
+ EStructuralFeature nameFeat = forumCls.getEStructuralFeature("name");
+ EStructuralFeature featuredBooksFeat = forumCls.getEStructuralFeature("featuredBooks");
+
+ assertNotNull(forum3.eGet(nameFeat));
+ assertEquals(forum1.eGet(nameFeat), forum3.eGet(nameFeat));
+ assertNotNull(forum3.eGet(featuredBooksFeat));
+ assertEquals(((EList<?>) forum1.eGet(featuredBooksFeat)).size(), ((EList<?>) forum3.eGet(featuredBooksFeat))
+ .size());
+
+ // navigate from third forum to referenced featured book and thereby
+ // lazily load third library model instance from database resource
+ Book book3 = (Book) ((EList<?>) forum3.eGet(featuredBooksFeat)).get(0);
+
+ assertNotNull(book3);
+
+ libraryResource3 = book3.eResource();
+
+ assertTrue(libraryResource3 instanceof EclipseLinkResourceImpl);
+ assertEquals(libraryResource3.getURI(), libraryURI);
+
+ // analyse third library model instance
+ assertTrue(book3.eContainer() instanceof StringToBookMapEntryImpl);
+ StringToBookMapEntryImpl bookEntry3 = (StringToBookMapEntryImpl) book3.eContainer();
+ assertTrue(bookEntry3.eContainer() instanceof Library);
+ Library library3 = (Library) bookEntry3.eContainer();
+
+ assertNotNull(library3.getName());
+ assertEquals(library1.getName(), library3.getName());
+ assertNotNull(library3.getWriters());
+ assertEquals(library1.getWriters().size(), library3.getWriters().size());
+ assertNotNull(library3.getBooks());
+ assertEquals(library1.getBooks().size(), library3.getBooks().size());
+ }
+
+ private void deleteLibraryModel1() throws IOException {
+
+ // delete first library model instance in database
+ libraryResource1.getContents().remove(library1);
+ libraryResource1.save(Collections.EMPTY_MAP);
+ }
+
+ private void unloadAllLibraryAndForumModels() {
+
+ // unload resources of first library and forum model instance
+ libraryResource1.unload();
+ forumResource1.unload();
+
+ // unload resources of second library and forum model instance
+ libraryResource2.unload();
+ forumResource2.unload();
+
+ // unload resources of third library and forum model instance
+ libraryResource3.unload();
+ forumResource3.unload();
+ }
+
+ private String createForumModelPathName(IProject project, Forum forum) {
+
+ IPath result = project.getFullPath().append(forum.getName() + "." + forum.eClass().getEPackage().getName());
+ return result.toString();
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/EclipseLinkResourceTest.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/EclipseLinkResourceTest.java
new file mode 100755
index 000000000..86740bd38
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/EclipseLinkResourceTest.java
@@ -0,0 +1,140 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.resource;
+
+import java.io.IOException;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.LibraryPackage;
+import org.eclipse.emf.teneo.eclipselink.examples.library.impl.LibraryImpl;
+import org.eclipse.emf.teneo.eclipselink.resource.EclipseLinkResourceFactoryImpl;
+import org.eclipse.emf.teneo.eclipselink.resource.EclipseLinkResourceImpl;
+import org.eclipse.emf.teneo.eclipselink.resource.EclipseLinkURIUtil;
+
+public class EclipseLinkResourceTest extends AbstractEclipseLinkTest {
+
+ private URI uri;
+ private Resource resource1, resource2;
+ private Library library1;
+
+ public void testEclipseLinkResource() throws IOException {
+
+ // create library model instance
+ library1 = testLibraryFactory.createLibraryModel();
+
+ saveLibraryModel1();
+ loadLibraryModel2();
+ deleteLibraryModel1();
+ reloadLibraryModel2();
+ unloadAllLibraryModels();
+ }
+
+ private void saveLibraryModel1() throws IOException {
+
+ // create EclipseLink URI for saving/loading library model in/from database
+ String query = EclipseLinkURIUtil.createContentsEqualQuery(LibraryPackage.eINSTANCE.getLibrary(),
+ LibraryPackage.eINSTANCE.getLibrary_Name(), library1.getName());
+ uri = EclipseLinkURIUtil.createEclipseLinkURI(TEST_PERSISTENCE_UNIT_NAME, query);
+
+ // save library model instance in database
+ ResourceSet resourceSet1 = new ResourceSetImpl();
+ resourceSet1.getLoadOptions().putAll(getTestPersistenceUnitProperties(this.getClass().getClassLoader()));
+
+ resourceSet1.getResourceFactoryRegistry().getProtocolToFactoryMap().put("eclipselink",
+ new EclipseLinkResourceFactoryImpl());
+
+ resource1 = resourceSet1.createResource(uri);
+
+ assertTrue(resource1 instanceof EclipseLinkResourceImpl);
+ assertFalse(resource1.isLoaded());
+
+ resource1.getContents().add(library1);
+
+ assertTrue(resource1.isLoaded());
+
+ resource1.save(Collections.EMPTY_MAP);
+ }
+
+ private void loadLibraryModel2() {
+
+ // load second library model instance from database
+ ResourceSet resourceSet2 = new ResourceSetImpl();
+
+ resourceSet2.getResourceFactoryRegistry().getProtocolToFactoryMap().put("eclipselink",
+ new EclipseLinkResourceFactoryImpl());
+ resourceSet2.getLoadOptions().putAll(getTestPersistenceUnitProperties(this.getClass().getClassLoader()));
+
+ resource2 = resourceSet2.getResource(uri, true);
+
+ assertTrue(resource2 instanceof EclipseLinkResourceImpl);
+ assertTrue(resource2.isLoaded());
+
+ // analyse second library model instance
+ List<EObject> contents2 = resource2.getContents();
+ assertNotNull(contents2);
+ assertEquals(1, contents2.size());
+ assertTrue(contents2.get(0) instanceof LibraryImpl);
+ Library library2 = (Library) contents2.get(0);
+
+ assertNotNull(library2.getName());
+ assertEquals(library1.getName(), library2.getName());
+ assertNotNull(library2.getWriters());
+ assertEquals(library1.getWriters().size(), library2.getWriters().size());
+ assertEquals(resource2, (library2.getWriters().get(0)).eResource());
+ assertNotNull(library2.getBooks());
+ assertEquals(library1.getBooks().size(), library2.getBooks().size());
+ assertEquals(resource2, (library2.getBooks().get("myBook")).eResource());
+ }
+
+ private void deleteLibraryModel1() throws IOException {
+
+ // delete first library model instance in database
+ resource1.getContents().remove(library1);
+ resource1.save(Collections.EMPTY_MAP);
+ }
+
+ private void reloadLibraryModel2() throws IOException {
+
+ // reload second library model instance from database
+ resource2.unload();
+
+ assertFalse(resource2.isLoaded());
+
+ resource2.load(Collections.EMPTY_MAP);
+
+ assertTrue(resource2.isLoaded());
+
+ // analyse second library model instance
+ List<EObject> contents2 = resource2.getContents();
+ assertNotNull(contents2);
+ assertEquals(0, contents2.size());
+ }
+
+ private void unloadAllLibraryModels() {
+
+ // unload resource of first library model instance
+ resource1.unload();
+
+ assertFalse(resource1.isLoaded());
+
+ // unload resource of second library model instance
+ resource2.unload();
+
+ assertFalse(resource2.isLoaded());
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/TestModelFactory.java b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/TestModelFactory.java
new file mode 100755
index 000000000..b9d9c96c2
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/src/org/eclipse/emf/teneo/eclipselink/examples/library/orm/tests/resource/TestModelFactory.java
@@ -0,0 +1,91 @@
+/*******************************************************************************
+ * Copyright (c) 2008 Oracle and Geensys.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Oracle and Geensys - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.resource;
+
+import javax.persistence.EntityManager;
+
+import org.eclipse.emf.teneo.eclipselink.examples.library.Book;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Library;
+import org.eclipse.emf.teneo.eclipselink.examples.library.LibraryFactory;
+import org.eclipse.emf.teneo.eclipselink.examples.library.Writer;
+import org.eclipse.emf.teneo.eclipselink.examples.library.forum.Forum;
+import org.eclipse.emf.teneo.eclipselink.examples.library.forum.ForumFactory;
+
+public class TestModelFactory {
+
+ private Library library;
+
+ private Writer writer;
+
+ private Book book;
+
+ public Library createLibraryModel() {
+
+ if (library == null) {
+ // create and populate library model instance
+ library = LibraryFactory.eINSTANCE.createLibrary();
+ library.setName("myLibrary");
+ writer = LibraryFactory.eINSTANCE.createWriter();
+ writer.setName("myWriter");
+ library.getWriters().add(writer);
+ book = LibraryFactory.eINSTANCE.createBook();
+ book.setTitle("myBook");
+ library.getBooks().put(book.getTitle(), book);
+ }
+
+ return library;
+ }
+
+ public Forum createForumModel() {
+
+ // create and populate forum model instance
+ Forum forum = ForumFactory.eINSTANCE.createForum();
+ forum.setName("myForum");
+ if (writer != null) {
+ forum.getRatedAuthors().add(writer);
+ }
+ if (book != null) {
+ forum.getFeaturedBooks().add(book);
+ }
+
+ return forum;
+ }
+
+ public void destroyLibraryModel(EntityManager entityManager) {
+
+ if (library != null) {
+ // begin transaction
+ entityManager.getTransaction().begin();
+
+ // delete library model from database; delete does not cascade so order is
+ // important
+ entityManager.createQuery("delete from Publisher o").executeUpdate();
+ entityManager.createQuery("delete from StringToBookMapEntry o").executeUpdate();
+ entityManager.createQuery("delete from BookStylesMapEntry o").executeUpdate();
+ entityManager.createQuery("delete from Cover o").executeUpdate();
+ entityManager.createQuery("delete from Book o").executeUpdate();
+ entityManager.createQuery("delete from Translator o").executeUpdate();
+ entityManager.createQuery("delete from Writer o").executeUpdate();
+ entityManager.createQuery("delete from TypeWriter o").executeUpdate();
+ entityManager.createQuery("delete from Address o").executeUpdate();
+ entityManager.createQuery("delete from Library o").executeUpdate();
+ entityManager.createQuery("delete from Style o").executeUpdate();
+
+ // commit and end transaction
+ entityManager.getTransaction().commit();
+
+ // dispose library model
+ library = null;
+ writer = null;
+ book = null;
+ }
+ }
+}
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/db.lck b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/db.lck
new file mode 100755
index 000000000..ef9f7ae63
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/db.lck
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/dbex.lck b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/dbex.lck
new file mode 100755
index 000000000..720d64f4b
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/dbex.lck
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log.ctrl b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log.ctrl
new file mode 100755
index 000000000..8ebf6252f
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log.ctrl
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log3.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log3.dat
new file mode 100755
index 000000000..08660ae12
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log3.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log4.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log4.dat
new file mode 100755
index 000000000..d8ea2fa34
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/log4.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/logmirror.ctrl b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/logmirror.ctrl
new file mode 100755
index 000000000..8ebf6252f
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/log/logmirror.ctrl
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c10.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c10.dat
new file mode 100755
index 000000000..7bc2f49a1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c10.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c101.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c101.dat
new file mode 100755
index 000000000..ca555c9c1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c101.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c111.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c111.dat
new file mode 100755
index 000000000..2bf3e999d
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c111.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c121.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c121.dat
new file mode 100755
index 000000000..89919608f
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c121.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c130.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c130.dat
new file mode 100755
index 000000000..fc18fdca6
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c130.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c141.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c141.dat
new file mode 100755
index 000000000..85bb3740e
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c141.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c150.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c150.dat
new file mode 100755
index 000000000..6ee8a075e
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c150.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c161.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c161.dat
new file mode 100755
index 000000000..413603fad
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c161.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c171.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c171.dat
new file mode 100755
index 000000000..eda0d26d2
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c171.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c180.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c180.dat
new file mode 100755
index 000000000..5167d8b49
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c180.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c191.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c191.dat
new file mode 100755
index 000000000..b2d149a0f
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c191.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1a1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1a1.dat
new file mode 100755
index 000000000..61eab2c12
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1a1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1b1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1b1.dat
new file mode 100755
index 000000000..c1e344a8e
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1b1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1c0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1c0.dat
new file mode 100755
index 000000000..359525a31
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1c0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1d1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1d1.dat
new file mode 100755
index 000000000..9f257df93
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1d1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1e0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1e0.dat
new file mode 100755
index 000000000..e43e52fb7
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1e0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1f1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1f1.dat
new file mode 100755
index 000000000..7e6ee3b1e
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c1f1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c20.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c20.dat
new file mode 100755
index 000000000..6a9d693f8
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c20.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c200.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c200.dat
new file mode 100755
index 000000000..360c4fd6b
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c200.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c211.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c211.dat
new file mode 100755
index 000000000..740fd17d9
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c211.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c221.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c221.dat
new file mode 100755
index 000000000..62984a59d
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c221.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c230.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c230.dat
new file mode 100755
index 000000000..569b91a21
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c230.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c241.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c241.dat
new file mode 100755
index 000000000..b616e3110
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c241.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c251.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c251.dat
new file mode 100755
index 000000000..d3d6adf4f
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c251.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c260.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c260.dat
new file mode 100755
index 000000000..8d7333df7
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c260.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c271.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c271.dat
new file mode 100755
index 000000000..af722f7d7
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c271.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c281.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c281.dat
new file mode 100755
index 000000000..3972983c2
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c281.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c290.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c290.dat
new file mode 100755
index 000000000..31577b812
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c290.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2a1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2a1.dat
new file mode 100755
index 000000000..0f700d13a
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2a1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2b1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2b1.dat
new file mode 100755
index 000000000..1d6382fb3
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2b1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2c1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2c1.dat
new file mode 100755
index 000000000..3bc60d886
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2c1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d0.dat
new file mode 100755
index 000000000..c542d3c91
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d60.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d60.dat
new file mode 100755
index 000000000..6b1f5d865
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d60.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d71.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d71.dat
new file mode 100755
index 000000000..b13bc3761
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d71.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d80.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d80.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d80.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d91.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d91.dat
new file mode 100755
index 000000000..8ade117fc
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2d91.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2da0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2da0.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2da0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2db1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2db1.dat
new file mode 100755
index 000000000..c14fb3dd5
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2db1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2dc0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2dc0.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2dc0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2dd1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2dd1.dat
new file mode 100755
index 000000000..ac0887bc6
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2dd1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2de0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2de0.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2de0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2df1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2df1.dat
new file mode 100755
index 000000000..8aab9941d
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2df1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e00.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e00.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e00.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e1.dat
new file mode 100755
index 000000000..16abd20b5
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e11.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e11.dat
new file mode 100755
index 000000000..fc09f6b0f
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e11.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e20.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e20.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e20.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e31.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e31.dat
new file mode 100755
index 000000000..a6de44e1e
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e31.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e40.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e40.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e40.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e51.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e51.dat
new file mode 100755
index 000000000..008aadc72
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e51.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e60.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e60.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e60.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e71.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e71.dat
new file mode 100755
index 000000000..7f2e39565
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e71.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e80.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e80.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e80.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e91.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e91.dat
new file mode 100755
index 000000000..ecc24eaee
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2e91.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ea0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ea0.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ea0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2eb1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2eb1.dat
new file mode 100755
index 000000000..c41098530
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2eb1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ec0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ec0.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ec0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ed1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ed1.dat
new file mode 100755
index 000000000..d57efc7fe
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ed1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ee0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ee0.dat
new file mode 100755
index 000000000..de30561b1
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ee0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ef1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ef1.dat
new file mode 100755
index 000000000..d91564346
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2ef1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f0.dat
new file mode 100755
index 000000000..eb26be593
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f01.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f01.dat
new file mode 100755
index 000000000..f2716adac
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f01.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f11.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f11.dat
new file mode 100755
index 000000000..eb2b0d027
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f11.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f21.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f21.dat
new file mode 100755
index 000000000..2ee1e8b83
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f21.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f31.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f31.dat
new file mode 100755
index 000000000..dee1e9e91
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f31.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f41.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f41.dat
new file mode 100755
index 000000000..de1a5e7da
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f41.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f51.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f51.dat
new file mode 100755
index 000000000..a1064f0b3
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f51.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f61.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f61.dat
new file mode 100755
index 000000000..66b41c680
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f61.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f71.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f71.dat
new file mode 100755
index 000000000..852e7b7da
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f71.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f81.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f81.dat
new file mode 100755
index 000000000..dc10d5c22
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f81.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f91.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f91.dat
new file mode 100755
index 000000000..5071da882
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2f91.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fa1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fa1.dat
new file mode 100755
index 000000000..7782c1058
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fa1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fb1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fb1.dat
new file mode 100755
index 000000000..53da22a1a
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fb1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fc1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fc1.dat
new file mode 100755
index 000000000..08e83a1de
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c2fc1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c31.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c31.dat
new file mode 100755
index 000000000..344b44dc9
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c31.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c41.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c41.dat
new file mode 100755
index 000000000..5d18dabab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c41.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c51.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c51.dat
new file mode 100755
index 000000000..c5b9e65b0
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c51.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c570.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c570.dat
new file mode 100755
index 000000000..1c3aa5694
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c570.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c581.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c581.dat
new file mode 100755
index 000000000..659f02807
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c581.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c60.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c60.dat
new file mode 100755
index 000000000..398c33b4e
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c60.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c71.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c71.dat
new file mode 100755
index 000000000..14b170c32
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c71.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c81.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c81.dat
new file mode 100755
index 000000000..c4cffea27
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c81.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c90.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c90.dat
new file mode 100755
index 000000000..788aa5f13
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/c90.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/ca1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/ca1.dat
new file mode 100755
index 000000000..29b7774b4
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/ca1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cb1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cb1.dat
new file mode 100755
index 000000000..471251d6d
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cb1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cc0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cc0.dat
new file mode 100755
index 000000000..5126021a8
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cc0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cd1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cd1.dat
new file mode 100755
index 000000000..2e135b64a
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cd1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/ce1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/ce1.dat
new file mode 100755
index 000000000..076423c10
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/ce1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cf0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cf0.dat
new file mode 100755
index 000000000..5e36a1f4d
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/cf0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d25f0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d25f0.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d25f0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2601.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2601.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2601.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2610.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2610.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2610.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2621.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2621.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2621.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2630.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2630.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2630.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2641.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2641.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2641.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2650.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2650.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2650.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2661.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2661.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2661.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2670.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2670.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2670.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2681.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2681.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2681.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2690.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2690.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2690.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26a1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26a1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26a1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26b0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26b0.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26b0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26c1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26c1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26c1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26d0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26d0.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26d0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26e1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26e1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26e1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26f0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26f0.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d26f0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2701.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2701.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2701.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2710.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2710.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2710.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2721.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2721.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2721.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2730.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2730.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2730.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2741.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2741.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2741.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2750.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2750.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2750.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2761.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2761.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2761.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2770.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2770.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2770.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2781.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2781.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2781.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2791.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2791.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2791.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27a1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27a1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27a1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27b1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27b1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27b1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27c1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27c1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27c1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27d1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27d1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27d1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27e1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27e1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27e1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27f1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27f1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d27f1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2801.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2801.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2801.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2811.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2811.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2811.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2821.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2821.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2821.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2831.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2831.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2831.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2841.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2841.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2841.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2851.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2851.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2851.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2860.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2860.dat
new file mode 100755
index 000000000..bcd2bd90d
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2860.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2871.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2871.dat
new file mode 100755
index 000000000..48501facc
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2871.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2880.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2880.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2880.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2891.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2891.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2891.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28a0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28a0.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28a0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28b1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28b1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28b1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28c0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28c0.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28c0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28d1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28d1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28d1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28e0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28e0.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28e0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28f1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28f1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d28f1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2900.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2900.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2900.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2911.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2911.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2911.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2920.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2920.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2920.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2931.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2931.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2931.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2940.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2940.dat
new file mode 100755
index 000000000..bcd2bd90d
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2940.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2951.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2951.dat
new file mode 100755
index 000000000..48501facc
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2951.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2960.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2960.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2960.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2971.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2971.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2971.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2980.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2980.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2980.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2991.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2991.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2991.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29a0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29a0.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29a0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29b1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29b1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29b1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29c0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29c0.dat
new file mode 100755
index 000000000..fd69350ab
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29c0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29d1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29d1.dat
new file mode 100755
index 000000000..e2a673b1c
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29d1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29e0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29e0.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29e0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29f1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29f1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d29f1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a01.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a01.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a01.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a11.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a11.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a11.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a21.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a21.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a21.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a31.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a31.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a31.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a41.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a41.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a41.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a51.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a51.dat
new file mode 100755
index 000000000..48501facc
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a51.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a61.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a61.dat
new file mode 100755
index 000000000..48501facc
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a61.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a71.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a71.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a71.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a81.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a81.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a81.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a91.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a91.dat
new file mode 100755
index 000000000..e2a673b1c
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2a91.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2aa1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2aa1.dat
new file mode 100755
index 000000000..e2a673b1c
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2aa1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ab1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ab1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ab1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ac1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ac1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ac1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ad0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ad0.dat
new file mode 100755
index 000000000..4ee4fdee4
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ad0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ae0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ae0.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ae0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2af1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2af1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2af1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b00.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b00.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b00.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b11.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b11.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b11.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b20.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b20.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b20.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b31.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b31.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b31.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b40.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b40.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b40.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b51.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b51.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b51.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b60.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b60.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b60.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b71.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b71.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b71.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b80.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b80.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b80.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b91.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b91.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2b91.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ba0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ba0.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ba0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bb1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bb1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bb1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bc0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bc0.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bc0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bd1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bd1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bd1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2be0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2be0.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2be0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bf1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bf1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2bf1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c00.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c00.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c00.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c11.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c11.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c11.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c20.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c20.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c20.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c31.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c31.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c31.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c40.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c40.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c40.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c51.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c51.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c51.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c60.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c60.dat
new file mode 100755
index 000000000..9ae5d8765
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c60.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c71.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c71.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c71.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c81.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c81.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c81.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c91.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c91.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2c91.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ca1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ca1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ca1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cb1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cb1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cb1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cc1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cc1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cc1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cd1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cd1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cd1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ce1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ce1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2ce1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cf1.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cf1.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2cf1.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d01.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d01.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d01.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d11.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d11.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d11.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d21.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d21.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d21.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d31.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d31.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d31.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d41.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d41.dat
new file mode 100755
index 000000000..762cc2a68
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d41.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d50.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d50.dat
new file mode 100755
index 000000000..4ee4fdee4
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2d50.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2fd0.dat b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2fd0.dat
new file mode 100755
index 000000000..4ee4fdee4
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/seg0/d2fd0.dat
Binary files differ
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/service.properties b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/service.properties
new file mode 100755
index 000000000..451629ffb
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo/service.properties
@@ -0,0 +1,22 @@
+#/home/mtaal/mydata/dev/workspaces/teneo1_1/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/teneo
+# ********************************************************************
+# *** Please do NOT edit this file. ***
+# *** CHANGING THE CONTENT OF THIS FILE MAY CAUSE DATA CORRUPTION. ***
+# ********************************************************************
+#Tue Jun 16 23:25:38 CEST 2009
+SysschemasIndex2Identifier=225
+SyscolumnsIdentifier=144
+SysconglomeratesIndex1Identifier=49
+SysconglomeratesIdentifier=32
+SyscolumnsIndex2Identifier=177
+SysschemasIndex1Identifier=209
+SysconglomeratesIndex3Identifier=81
+SystablesIndex2Identifier=129
+SyscolumnsIndex1Identifier=161
+derby.serviceProtocol=org.apache.derby.database.Database
+SysschemasIdentifier=192
+derby.storage.propertiesId=16
+SysconglomeratesIndex2Identifier=65
+derby.serviceLocale=en_US
+SystablesIdentifier=96
+SystablesIndex1Identifier=113
diff --git a/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/test.xml b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/test.xml
new file mode 100755
index 000000000..5b95c1df8
--- /dev/null
+++ b/eclipselink/org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests/test.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+
+<project name="testsuite" default="run" basedir=".">
+ <!-- The property ${eclipse-home} should be passed into this script -->
+ <!-- Set a meaningful default value for when it is not. -->
+ <property name="eclipse-home" value="${basedir}\..\.."/>
+
+ <!-- sets the properties plugin-name, and library-file -->
+ <property name="plugin-name" value="org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests"/>
+ <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test/library.xml"/>
+
+ <!-- This target holds all initialization code that needs to be done for -->
+ <!-- all tests that are to be run. Initialization for individual tests -->
+ <!-- should be done within the body of the suite target. -->
+ <target name="init">
+ <tstamp/>
+ <delete>
+ <fileset dir="${eclipse-home}" includes="org*.xml"/>
+ </delete>
+ </target>
+
+ <!-- This target defines the tests that need to be run. -->
+ <target name="suite">
+ <property name="emf-folder" value="${eclipse-home}/emf_folder"/>
+ <delete dir="${emf-folder}" quiet="true"/>
+ <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="data-dir" value="${emf-folder}"/>
+ <property name="plugin-name" value="${plugin-name}"/>
+ <property name="classname" value="org.eclipse.emf.teneo.eclipselink.examples.library.orm.tests.AllTests"/>
+ </ant>
+ </target>
+
+ <!-- This target holds code to cleanup the testing environment after -->
+ <!-- after all of the tests have been run. You can use this target to -->
+ <!-- delete temporary files that have been created. -->
+ <target name="cleanup">
+ </target>
+
+ <!-- This target runs the test suite. Any actions that need to happen -->
+ <!-- after all the tests have been run should go here. -->
+ <target name="run" depends="init,suite,cleanup">
+ <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="includes" value="org*.xml"/>
+ <property name="output-file" value="${plugin-name}.xml"/>
+ </ant>
+ </target>
+</project> \ No newline at end of file

Back to the top