Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2019-10-22 05:12:14 -0400
committerEike Stepper2019-10-22 05:12:14 -0400
commitfd75faf864e6584fbf56a8eca702b20a805abb62 (patch)
tree4712888e0a6d9284062f8b873cff0adee16da6eb /plugins/org.eclipse.emf.cdo.tests.hibernate
parentc790e409b089df39713217506a9e51d877ca97fa (diff)
downloadcdo-fd75faf864e6584fbf56a8eca702b20a805abb62.tar.gz
cdo-fd75faf864e6584fbf56a8eca702b20a805abb62.tar.xz
cdo-fd75faf864e6584fbf56a8eca702b20a805abb62.zip
[552307] Move DB4O, Hibernate and Objectivity support to cdo.old
https://bugs.eclipse.org/bugs/show_bug.cgi?id=552307
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.hibernate')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.classpath7
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.project52
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.core.prefs381
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.ui.prefs119
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.tasks.ui.prefs4
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.team.ui.prefs3
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.core.prefs3
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.prefs31
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/HibernateServer.launch11
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/META-INF/MANIFEST.MF38
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/about.html28
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/about.ini15
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/about.mappings6
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/about.properties31
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/build.properties30
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.ecore105
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.genmodel64
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/modeling32.pngbin2414 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.properties11
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.xml23
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/pom.xml31
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties35
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/log4j.properties44
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Activator.java48
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AllTestsHibernate.java407
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AuditFeatureMapTest.java145
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/CDOObjectHistoryTest.java413
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateAttributeTest.java33
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_258933_Test.java43
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_301104_Test.java64
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_333473_Test.java80
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_356181_Test.java81
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270b_Test.java44
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270c_Test.java44
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_373545_Test.java59
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_380987_Test.java222
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_381013_Test.java49
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_Test.java125
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_True_Test.java125
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_392653_Test.java75
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_395684_Test.java145
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_397682_Test.java61
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_398057_Test.java56
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_405191_Test.java42
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_416530_Test.java86
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_417797_Test.java86
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateChunkingTest.java118
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java86
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateCrossReferenceTest.java44
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalAnnotationTest.java173
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalReferenceTest.java79
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateLazyLoadTest.java212
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateMultiValuedOfAttributeTest.java35
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryNoCachingTest.java28
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryTest.java528
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTimeStampTest.java62
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateXATransactionTest.java43
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Export_Test.java64
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Failure_Test.java97
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Missing_Version_Test.java147
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml59
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Main.java140
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_NonTransient.java59
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Transient.java28
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Group.java52
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Person.java98
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Place.java79
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Enum.java228
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Main.java203
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682C.java116
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682P.java80
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A.java80
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A1.java25
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B.java116
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B1.java57
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestFactory.java159
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestPackage.java1403
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_MainImpl.java394
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_NonTransientImpl.java186
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_TransientImpl.java51
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_GroupImpl.java189
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PersonImpl.java309
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PlaceImpl.java267
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz387752_MainImpl.java458
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682CImpl.java386
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682PImpl.java267
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057A1Impl.java50
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057AImpl.java267
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057B1Impl.java187
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057BImpl.java372
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestFactoryImpl.java344
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestPackageImpl.java845
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestAdapterFactory.java402
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestSwitch.java463
96 files changed, 0 insertions, 13746 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.classpath b/plugins/org.eclipse.emf.cdo.tests.hibernate/.classpath
deleted file mode 100644
index 64c5e31b7a..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?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 kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.project b/plugins/org.eclipse.emf.cdo.tests.hibernate/.project
deleted file mode 100644
index b98b4b0b74..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.project
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.emf.cdo.tests.hibernate</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.oomph.version.VersionBuilder</name>
- <arguments>
- <dictionary>
- <key>check.maven.pom</key>
- <value>true</value>
- </dictionary>
- <dictionary>
- <key>ignore.lower.bound.dependency.ranges</key>
- <value>true</value>
- </dictionary>
- <dictionary>
- <key>release.path</key>
- <value>/org.eclipse.emf.cdo.releng/versions/release.xml</value>
- </dictionary>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.oomph.version.VersionNature</nature>
- </natures>
- <filteredResources>
- <filter>
- <id>1396938000000</id>
- <name></name>
- <type>10</type>
- <matcher>
- <id>org.eclipse.ui.ide.multiFilter</id>
- <arguments>1.0-projectRelativePath-matches-true-false-target</arguments>
- </matcher>
- </filter>
- </filteredResources>
-</projectDescription>
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.core.resources.prefs b/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 5ab647727f..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jul 04 12:57:55 CEST 2011
-eclipse.preferences.version=1
-
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.core.prefs b/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 3413c04844..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,381 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.codeComplete.argumentPrefixes=
-org.eclipse.jdt.core.codeComplete.argumentSuffixes=
-org.eclipse.jdt.core.codeComplete.fieldPrefixes=
-org.eclipse.jdt.core.codeComplete.fieldSuffixes=
-org.eclipse.jdt.core.codeComplete.localPrefixes=
-org.eclipse.jdt.core.codeComplete.localSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
-org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
-org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
-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.doc.comment.support=enabled
-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=enabled
-org.eclipse.jdt.core.compiler.problem.discouragedReference=warning
-org.eclipse.jdt.core.compiler.problem.emptyStatement=warning
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.problem.fallthroughCase=warning
-org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled
-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.invalidJavadoc=warning
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTags=enabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsDeprecatedRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled
-org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
-org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
-org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning
-org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=warning
-org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagDescription=return_tag
-org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=disabled
-org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=public
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
-org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=warning
-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=warning
-org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
-org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
-org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning
-org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=warning
-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=warning
-org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
-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.unusedObjectAllocation=ignore
-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.compiler.taskCaseSensitive=enabled
-org.eclipse.jdt.core.compiler.taskPriorities=NORMAL,HIGH,HIGH,LOW,LOW,LOW,LOW,LOW
-org.eclipse.jdt.core.compiler.taskTags=TODO,FIXME,XXX,PERF,MEM,POLISH,@generated NOT,@ADDED
-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_annotation=0
-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_method_declaration=0
-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_resources_in_try=80
-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.alignment_for_union_type_in_multicatch=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=1
-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=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=next_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=next_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=true
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=true
-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=false
-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.comment.new_lines_at_block_boundaries=true
-org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
-org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
-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.disabling_tag=@formatter\:off
-org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
-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=2
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
-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_method=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=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_annotation_on_type=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_label=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=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=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=insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=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=do not 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_try=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_semicolon_in_try_resources=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_try=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_try=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_semicolon_in_try_resources=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=160
-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=space
-org.eclipse.jdt.core.formatter.tabulation.size=2
-org.eclipse.jdt.core.formatter.use_on_off_tags=false
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
-org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
-org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.ui.prefs b/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 222aec0421..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,119 +0,0 @@
-cleanup.add_default_serial_version_id=true
-cleanup.add_generated_serial_version_id=false
-cleanup.add_missing_annotations=true
-cleanup.add_missing_deprecated_annotations=true
-cleanup.add_missing_methods=false
-cleanup.add_missing_nls_tags=false
-cleanup.add_missing_override_annotations=true
-cleanup.add_missing_override_annotations_interface_methods=true
-cleanup.add_serial_version_id=true
-cleanup.always_use_blocks=true
-cleanup.always_use_parentheses_in_expressions=false
-cleanup.always_use_this_for_non_static_field_access=false
-cleanup.always_use_this_for_non_static_method_access=false
-cleanup.convert_to_enhanced_for_loop=false
-cleanup.correct_indentation=true
-cleanup.format_source_code=true
-cleanup.format_source_code_changes_only=false
-cleanup.make_local_variable_final=true
-cleanup.make_parameters_final=false
-cleanup.make_private_fields_final=true
-cleanup.make_type_abstract_if_missing_method=false
-cleanup.make_variable_declarations_final=false
-cleanup.never_use_blocks=false
-cleanup.never_use_parentheses_in_expressions=true
-cleanup.organize_imports=true
-cleanup.qualify_static_field_accesses_with_declaring_class=false
-cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-cleanup.qualify_static_member_accesses_with_declaring_class=false
-cleanup.qualify_static_method_accesses_with_declaring_class=false
-cleanup.remove_private_constructors=true
-cleanup.remove_trailing_whitespaces=true
-cleanup.remove_trailing_whitespaces_all=true
-cleanup.remove_trailing_whitespaces_ignore_empty=false
-cleanup.remove_unnecessary_casts=true
-cleanup.remove_unnecessary_nls_tags=true
-cleanup.remove_unused_imports=true
-cleanup.remove_unused_local_variables=false
-cleanup.remove_unused_private_fields=true
-cleanup.remove_unused_private_members=false
-cleanup.remove_unused_private_methods=true
-cleanup.remove_unused_private_types=true
-cleanup.sort_members=false
-cleanup.sort_members_all=false
-cleanup.use_blocks=true
-cleanup.use_blocks_only_for_return_and_throw=false
-cleanup.use_parentheses_in_expressions=true
-cleanup.use_this_for_non_static_field_access=true
-cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-cleanup.use_this_for_non_static_method_access=true
-cleanup.use_this_for_non_static_method_access_only_if_necessary=true
-cleanup_profile=_EMFT
-cleanup_settings_version=2
-eclipse.preferences.version=1
-editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
-formatter_profile=_EMFT
-formatter_settings_version=12
-org.eclipse.jdt.ui.exception.name=ex
-org.eclipse.jdt.ui.gettersetter.use.is=true
-org.eclipse.jdt.ui.ignorelowercasenames=true
-org.eclipse.jdt.ui.importorder=org.eclipse.emf.cdo;org.eclipse.emf.internal.cdo;org.eclipse.net4j;org.eclipse.internal.net4j;org.eclipse.emf;org.eclipse;com;org;javax;java;
-org.eclipse.jdt.ui.javadoc=true
-org.eclipse.jdt.ui.keywordthis=false
-org.eclipse.jdt.ui.ondemandthreshold=99
-org.eclipse.jdt.ui.overrideannotation=true
-org.eclipse.jdt.ui.staticondemandthreshold=99
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment"/><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment"/><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment"/><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*\r\n * Copyright (c) 2004-2018 Eike Stepper (Loehne, Germany) and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of the Eclipse Public License v1.0\r\n * which accompanies this distribution, and is available at\r\n * http\://www.eclipse.org/legal/epl-v10.html\r\n * \r\n * Contributors\:\r\n * Eike Stepper - initial API and implementation\r\n */</template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author Eike Stepper\r\n */</template><template autoinsert\="false" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment"/><template autoinsert\="false" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment"/><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment"/><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment"/><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">${exception_var}.printStackTrace();</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></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_missing_override_annotations_interface_methods=false
-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=false
-sp_cleanup.correct_indentation=false
-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=false
-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=true
-sp_cleanup.use_this_for_non_static_field_access=true
-sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-sp_cleanup.use_this_for_non_static_method_access=true
-sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.ltk.core.refactoring.prefs b/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index 864e30fe5d..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Thu Feb 04 09:44:24 CET 2010
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.tasks.ui.prefs b/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.tasks.ui.prefs
deleted file mode 100644
index b050639a54..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.tasks.ui.prefs
+++ /dev/null
@@ -1,4 +0,0 @@
-#Thu Feb 04 09:44:24 CET 2010
-eclipse.preferences.version=1
-project.repository.kind=bugzilla
-project.repository.url=https\://bugs.eclipse.org/bugs
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.team.ui.prefs b/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.team.ui.prefs
deleted file mode 100644
index 97c11e6725..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.mylyn.team.ui.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Thu Feb 04 09:44:24 CET 2010
-commit.comment.template=[${task.id}] ${task.description}\r\n\r\n${task.url}
-eclipse.preferences.version=1
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.core.prefs b/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.core.prefs
deleted file mode 100644
index 606e67df93..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.core.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Sun Jun 29 11:14:29 CEST 2008
-eclipse.preferences.version=1
-resolve.requirebundle=false
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.prefs b/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.prefs
deleted file mode 100644
index c6b96bb45e..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/.settings/org.eclipse.pde.prefs
+++ /dev/null
@@ -1,31 +0,0 @@
-#Thu Feb 04 09:44:24 CET 2010
-compilers.f.unresolved-features=1
-compilers.f.unresolved-plugins=1
-compilers.incompatible-environment=1
-compilers.p.build=1
-compilers.p.build.bin.includes=1
-compilers.p.build.java.compliance=1
-compilers.p.build.missing.output=2
-compilers.p.build.output.library=1
-compilers.p.build.source.library=1
-compilers.p.build.src.includes=1
-compilers.p.deprecated=1
-compilers.p.discouraged-class=1
-compilers.p.internal=1
-compilers.p.missing-packages=1
-compilers.p.missing-version-export-package=1
-compilers.p.missing-version-import-package=1
-compilers.p.missing-version-require-bundle=1
-compilers.p.no-required-att=0
-compilers.p.not-externalized-att=2
-compilers.p.unknown-attribute=1
-compilers.p.unknown-class=1
-compilers.p.unknown-element=1
-compilers.p.unknown-identifier=1
-compilers.p.unknown-resource=1
-compilers.p.unresolved-ex-points=0
-compilers.p.unresolved-import=0
-compilers.s.create-docs=false
-compilers.s.doc-folder=doc
-compilers.s.open-tags=1
-eclipse.preferences.version=1
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/HibernateServer.launch b/plugins/org.eclipse.emf.cdo.tests.hibernate/HibernateServer.launch
deleted file mode 100644
index 597bedaab4..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/HibernateServer.launch
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
-<listEntry value="/org.eclipse.emf.cdo.tests.hibernate"/>
-</listAttribute>
-<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
-<listEntry value="4"/>
-</listAttribute>
-<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.emf.cdo.tests.hibernate.HibernateServer"/>
-<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.emf.cdo.tests.hibernate"/>
-</launchConfiguration>
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.tests.hibernate/META-INF/MANIFEST.MF
deleted file mode 100644
index 64b67ab189..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,38 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-SymbolicName: org.eclipse.emf.cdo.tests.hibernate;singleton:=true
-Bundle-Version: 4.1.700.qualifier
-Bundle-Name: %pluginName
-Bundle-Vendor: %providerName
-Bundle-Localization: plugin
-Bundle-ActivationPolicy: lazy
-Bundle-Activator: org.eclipse.emf.cdo.tests.hibernate.Activator
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Eclipse-RegisterBuddy: org.eclipse.emf.cdo.server.hibernate
-Bundle-ClassPath: .
-Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)",
- org.eclipse.emf.ecore;bundle-version="[2.7.0,3.0.0)",
- org.eclipse.net4j.tcp;bundle-version="[4.0.0,5.0.0)",
- org.eclipse.emf.cdo;bundle-version="[4.0.0,5.0.0)",
- org.eclipse.emf.cdo.server;bundle-version="[4.0.0,5.0.0)",
- org.eclipse.emf.cdo.server.db;bundle-version="[4.0.0,5.0.0)",
- org.eclipse.emf.cdo.tests;bundle-version="[4.0.0,5.0.0)",
- org.hsqldb;bundle-version="[2.0.0,3.0.0)",
- com.mysql.jdbc;bundle-version="[5.1.7,6.0.0)",
- org.dom4j;bundle-version="[1.6.1,2.0.0)",
- javax.persistence;bundle-version="[2.0.0,3.0.0)",
- org.hibernate;bundle-version="[4.0.0,5.0.0)",
- org.slf4j.api;bundle-version="[1.7.0,2.0.0)"
-Export-Package: org.eclipse.emf.cdo.tests.hibernate;version="4.1.700";x-friends:="org.eclipse.emf.cdo.tests.hudson",
- org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;version="4.1.700",
- org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;version="4.1.700",
- org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.util;version="4.1.700"
-Import-Package: org.hibernate.cfg;version="[4.0.0,5.0.0)",
- org.eclipse.emf.teneo;version="[2.0.1,3.0.0)",
- org.eclipse.emf.cdo.server.hibernate;version="[4.0.0,5.0.0)",
- org.eclipse.emf.cdo.server.hibernate.teneo;version="[4.0.0,5.0.0)",
- org.eclipse.emf.cdo.server.internal.hibernate;version="[4.0.0,5.0.0)",
- org.eclipse.emf.teneo.annotations.pamodel;version="[2.0.1,3.0.0)",
- org.eclipse.emf.teneo.annotations.pamodel.impl;version="[2.0.1,3.0.0)",
- org.eclipse.emf.teneo.annotations.pamodel.util;version="[2.0.1,3.0.0)"
-Automatic-Module-Name: org.eclipse.emf.cdo.tests.hibernate
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.html b/plugins/org.eclipse.emf.cdo.tests.hibernate/about.html
deleted file mode 100644
index d35d5aed64..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!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</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). 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, &quot;Program&quot; 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 (&quot;Redistributor&quot;) 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>
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.ini b/plugins/org.eclipse.emf.cdo.tests.hibernate/about.ini
deleted file mode 100644
index b7e87ca285..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.ini
+++ /dev/null
@@ -1,15 +0,0 @@
-# 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
-
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.mappings b/plugins/org.eclipse.emf.cdo.tests.hibernate/about.mappings
deleted file mode 100644
index 28e3764743..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.mappings
+++ /dev/null
@@ -1,6 +0,0 @@
-# about.mappings
-# contains fill-ins for about.properties
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file does not need to be translated.
-
-0=${build.qualifier} \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.properties b/plugins/org.eclipse.emf.cdo.tests.hibernate/about.properties
deleted file mode 100644
index 71eb5d352b..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/about.properties
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright (c) 2008, 2009, 2011, 2012 Eike Stepper (Loehne, Germany) and others.
-# 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:
-# Eike Stepper - initial API and implementation
-
-# 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.
-# ==============================================================================
-
-featureName = CDO Model Repository Tests Hibernate
-featureText = CDO Model Repository Tests Hibernate\n\
-Version: {featureVersion}\n\
-Build id: {0}\n\
-\n\
-Copyright (c) 2004-2018 Eike Stepper (Loehne, Germany) and others. All rights reserved.\n\
-\n\
-Visit http://www.eclipse.org/cdo
-
-# ==============================================================================
-# %%% END OF TRANSLATED PROPERTIES %%%
-# The above properties have been shipped for translation.
-# ==============================================================================
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/build.properties b/plugins/org.eclipse.emf.cdo.tests.hibernate/build.properties
deleted file mode 100644
index e5496edf51..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/build.properties
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright (c) 2008-2010, 2012, 2013, 2017 Eike Stepper (Loehne, Germany) and others.
-# 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:
-# Eike Stepper - initial API and implementation
-
-# NLS_MESSAGEFORMAT_VAR
-
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.xml,\
- about.html,\
- plugin.properties,\
- about.ini,\
- about.mappings,\
- about.properties,\
- modeling32.png,\
- src/log4j.properties,\
- src/app.properties,\
- src/org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml
-src.includes = about.html,\
- HibernateServer.launch,\
- pom.xml
-
-generateSourceReferences = true
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.ecore b/plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.ecore
deleted file mode 100644
index 1fd8727cf0..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.ecore
+++ /dev/null
@@ -1,105 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="HibernateTest" nsURI="http://org.eclipse.emf.cdo.tests.hibernate"
- nsPrefix="hibernatetests">
- <eClassifiers xsi:type="ecore:EClass" name="Bz356181_Main">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="transient" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Transient"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="nonTransient" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="transientRef" eType="#//Bz356181_Transient"
- transient="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="transientOtherRef" eType="#//Bz356181_NonTransient"
- transient="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz356181_Transient">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Transient"/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz356181_NonTransient">
- <eStructuralFeatures xsi:type="ecore:EReference" name="main" eType="#//Bz356181_Main"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz387752_Main">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="strUnsettable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
- defaultValueLiteral="def_value" unsettable="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="strSettable" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"
- defaultValueLiteral="value"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="enumSettable" eType="#//Bz387752_Enum"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="enumUnsettable" eType="#//Bz387752_Enum"
- defaultValueLiteral="VAL1" unsettable="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="Bz387752_Enum">
- <eLiterals name="VAL0"/>
- <eLiterals name="VAL1" value="1"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz380987_Group">
- <eStructuralFeatures xsi:type="ecore:EReference" name="people" upperBound="-1"
- eType="#//Bz380987_Person" eOpposite="#//Bz380987_Person/group"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz380987_Place">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="people" upperBound="-1"
- eType="#//Bz380987_Person" eOpposite="#//Bz380987_Person/places"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz380987_Person">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="group" upperBound="-1"
- eType="#//Bz380987_Group" eOpposite="#//Bz380987_Group/people"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="places" upperBound="-1"
- eType="#//Bz380987_Place" eOpposite="#//Bz380987_Place/people"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz398057A">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="listOfB" upperBound="-1"
- eType="#//Bz398057B" containment="true" eOpposite="#//Bz398057B/refToClassA"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dbId" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Id"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz398057A1" eSuperTypes="#//Bz398057A"/>
- <eClassifiers xsi:type="ecore:EClass" name="Bz398057B">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="refToClassA" eType="#//Bz398057A"
- eOpposite="#//Bz398057A/listOfB"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dbId" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Id"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz398057B1" eSuperTypes="#//Bz398057B">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="valueStr" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz397682P">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dbId" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Id"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="listOfC" upperBound="-1"
- eType="#//Bz397682C" containment="true" eOpposite="#//Bz397682C/refToP"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Bz397682C">
- <eStructuralFeatures xsi:type="ecore:EReference" name="refToP" eType="#//Bz397682P"
- eOpposite="#//Bz397682P/listOfC"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="refToC" eType="#//Bz397682C"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="dbId" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Id"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.genmodel b/plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.genmodel
deleted file mode 100644
index 472d1932a8..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/model/hibernate-test.genmodel
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.cdo.tests.hibernate/src" modelPluginID="org.eclipse.emf.cdo.tests.hibernate"
- modelName="Hibernate-test" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0"
- copyrightFields="false">
- <foreignModel>hibernate-test.ecore</foreignModel>
- <genPackages prefix="HibernateTest" basePackage="org.eclipse.emf.cdo.tests.hibernate.model"
- disposableProviderFactory="true" ecorePackage="hibernate-test.ecore#/">
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="hibernate-test.ecore#//Bz387752_Enum">
- <genEnumLiterals ecoreEnumLiteral="hibernate-test.ecore#//Bz387752_Enum/VAL0"/>
- <genEnumLiterals ecoreEnumLiteral="hibernate-test.ecore#//Bz387752_Enum/VAL1"/>
- </genEnums>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz356181_Main">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz356181_Main/transient"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz356181_Main/nonTransient"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz356181_Main/transientRef"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz356181_Main/transientOtherRef"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz356181_Transient"/>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz356181_NonTransient">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz356181_NonTransient/main"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz387752_Main">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz387752_Main/strUnsettable"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz387752_Main/strSettable"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz387752_Main/enumSettable"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz387752_Main/enumUnsettable"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz380987_Group">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz380987_Group/people"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz380987_Place">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz380987_Place/name"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz380987_Place/people"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz380987_Person">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz380987_Person/name"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz380987_Person/group"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz380987_Person/places"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz398057A">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz398057A/listOfB"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz398057A/dbId"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz398057A1"/>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz398057B">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz398057B/refToClassA"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz398057B/value"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz398057B/dbId"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz398057B1">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz398057B1/valueStr"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz397682P">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz397682P/dbId"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz397682P/listOfC"/>
- </genClasses>
- <genClasses ecoreClass="hibernate-test.ecore#//Bz397682C">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz397682C/refToP"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hibernate-test.ecore#//Bz397682C/refToC"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hibernate-test.ecore#//Bz397682C/dbId"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/modeling32.png b/plugins/org.eclipse.emf.cdo.tests.hibernate/modeling32.png
deleted file mode 100644
index 6b08de2ada..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/modeling32.png
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.properties b/plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.properties
deleted file mode 100644
index 00dd3a0a39..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright (c) 2008-2010, 2012, 2013 Eike Stepper (Loehne, Germany) and others.
-# 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:
-# Eike Stepper - initial API and implementation
-
-pluginName = CDO Model Repository Server Hibernate Tests
-providerName = Eclipse Modeling Project
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.xml b/plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.xml
deleted file mode 100644
index 2c935d145f..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/plugin.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<!--
- Copyright (c) 2012 Eike Stepper (Loehne, Germany) and others.
- 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:
- Eike Stepper - initial API and implementation
--->
-
-<plugin>
-
- <extension point="org.eclipse.emf.ecore.generated_package">
- <package
- uri="http://org.eclipse.emf.cdo.tests.hibernate"
- class="org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage"
- genModel="model/hibernate-test.genmodel"/>
- </extension>
-
-</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/pom.xml b/plugins/org.eclipse.emf.cdo.tests.hibernate/pom.xml
deleted file mode 100644
index 9d71d35ec7..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/pom.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 2017, 2018 Eike Stepper (Loehne, Germany) and others.
- 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:
- Eike Stepper - initial API and implementation
--->
-<project
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
- xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.eclipse.emf.cdo</groupId>
- <artifactId>org.eclipse.emf.cdo.plugins</artifactId>
- <version>4.7.0-SNAPSHOT</version>
- <relativePath>../../releng/org.eclipse.emf.cdo.releng.parent/plugins</relativePath>
- </parent>
-
- <groupId>org.eclipse.emf.cdo</groupId>
- <artifactId>org.eclipse.emf.cdo.tests.hibernate</artifactId>
- <version>4.1.700-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-
-</project>
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties
deleted file mode 100644
index 1ecf9eb2a7..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/app.properties
+++ /dev/null
@@ -1,35 +0,0 @@
-# Teneo options
-teneo.mapping.set_proxy=true
-teneo.mapping.cascade_policy_on_non_containment=PERSIST,MERGE
-teneo.mapping.persistence_xml.parse.lenient=true
-teneo.runtime.elist_efficient_size_operation=true
-
-# Hibernate options
-hibernate.hbm2ddl.auto=create-drop
-hibernate.show_sql=false
-hibernate.connection.pool_size=10
-
-# -----------------------------------------------------------
-# DEFAULT SETTINGS FOR IN MEMORY HSQLDB DATABASE.
-#
-
-#hibernate.dialect=org.hibernate.dialect.H2Dialect
-#hibernate.connection.driver_class=org.h2.Driver
-#hibernate.connection.url=jdbc:h2:_database/repo1
-
-hibernate.dialect=org.hibernate.dialect.HSQLDialect
-hibernate.connection.driver_class=org.hsqldb.jdbcDriver
-hibernate.connection.url=jdbc:hsqldb:mem:cdohibernate
-hibernate.connection.username=sa
-hibernate.connection.password=
-hibernate.connection.autocommit=true
-hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
-
-#--------------------------------------------------------------
-# EXAMPLE SETTING FOR MYSQL DATABASE. UNCOMMENT AND EDIT TO USE.
-#
-#hibernate.connection.driver_class=com.mysql.jdbc.Driver
-#hibernate.connection.url=jdbc:mysql://localhost:3306/cdohibernate
-#hibernate.connection.username=root
-#hibernate.connection.password=root
-#hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/log4j.properties b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/log4j.properties
deleted file mode 100644
index b956a8a902..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/log4j.properties
+++ /dev/null
@@ -1,44 +0,0 @@
-# Set root logger level to error and its only appender to A1.
-log4j.rootCategory=error, A1
-
-log4j.category.JPOX=OFF
-
-# A1 is set to be a ConsoleAppender.
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-
-# A1 uses PatternLayout.
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
-
-#log4j.logger.org.hibernate=error
-log4j.logger.org.hibernate=error
-#org.hibernate.pretty
-
-### log HQL query parser activity
-log4j.logger.org.hibernate.hql.ast.AST=error
-
-### log just the SQL
-log4j.logger.org.hibernate.SQL=error
-
-### log JDBC bind parameters ###
-log4j.logger.org.hibernate.type=error
-#log4j.logger.org.hibernate.type=error
-
-### log schema export/update ###
-log4j.logger.org.hibernate.tool.hbm2ddl=error
-
-### log HQL parse trees
-log4j.logger.org.hibernate.hql=error
-
-### log cache activity ###
-log4j.logger.org.hibernate.cache=error
-
-### log transaction activity
-log4j.logger.org.hibernate.transaction=error
-
-### log JDBC resource acquisition
-log4j.logger.org.hibernate.jdbc=error
-
-### enable the following line if you want to track down connection ###
-### leakages when using DriverManagerConnectionProvider ###
-log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=error
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Activator.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Activator.java
deleted file mode 100644
index 1dce219089..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Activator.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (c) 2008, 2011, 2012, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.core.runtime.Plugin;
-
-import org.osgi.framework.BundleContext;
-
-/**
- * @author Eike Stepper
- */
-public class Activator extends Plugin
-{
- public static final String PLUGIN_ID = "org.eclipse.emf.cdo.tests.hibernate";
-
- private static Activator plugin;
-
- public Activator()
- {
- }
-
- @Override
- public void start(BundleContext context) throws Exception
- {
- super.start(context);
- plugin = this;
- }
-
- @Override
- public void stop(BundleContext context) throws Exception
- {
- plugin = null;
- super.stop(context);
- }
-
- public static Activator getDefault()
- {
- return plugin;
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AllTestsHibernate.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AllTestsHibernate.java
deleted file mode 100644
index 0973ec5383..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AllTestsHibernate.java
+++ /dev/null
@@ -1,407 +0,0 @@
-/*
- * Copyright (c) 2008-2014, 2016, 2017 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore;
-import org.eclipse.emf.cdo.tests.AllConfigs;
-import org.eclipse.emf.cdo.tests.AttributeTest;
-import org.eclipse.emf.cdo.tests.BackupTest;
-import org.eclipse.emf.cdo.tests.CommitInfoTest;
-import org.eclipse.emf.cdo.tests.CrossReferenceTest;
-import org.eclipse.emf.cdo.tests.DynamicXSDTest;
-import org.eclipse.emf.cdo.tests.EMFCompareTest;
-import org.eclipse.emf.cdo.tests.ExternalReferenceTest;
-import org.eclipse.emf.cdo.tests.LockingManagerRestartRepositoryTest;
-import org.eclipse.emf.cdo.tests.LockingManagerRestartSessionTest;
-import org.eclipse.emf.cdo.tests.LockingManagerRestartTransactionTest;
-import org.eclipse.emf.cdo.tests.LockingManagerTest;
-import org.eclipse.emf.cdo.tests.LockingNotificationsTest;
-import org.eclipse.emf.cdo.tests.MEMStoreQueryTest;
-import org.eclipse.emf.cdo.tests.MultiValuedOfAttributeTest;
-import org.eclipse.emf.cdo.tests.OCLQueryTest;
-import org.eclipse.emf.cdo.tests.PackageRegistryTest;
-import org.eclipse.emf.cdo.tests.SecurityTest;
-import org.eclipse.emf.cdo.tests.TransactionTest;
-import org.eclipse.emf.cdo.tests.UnsetTest;
-import org.eclipse.emf.cdo.tests.WorkspaceTest;
-import org.eclipse.emf.cdo.tests.XATransactionTest;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_258933_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_272861_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_279982_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_303466_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_306998_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_322804_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_329254_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_334995_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_347964_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_351393_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_352204_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_359966_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_362270_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_362270b_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_362270c_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_365832_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_381472_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_390185_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_400236_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_405191_Test;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_416474_Test;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.config.IScenario;
-import org.eclipse.emf.cdo.tests.config.impl.ConfigTest;
-import org.eclipse.emf.cdo.util.CommitException;
-
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-/**
- * @author Eike Stepper
- */
-public class AllTestsHibernate extends AllConfigs
-{
- public static Test suite()
- {
- return new AllTestsHibernate().getTestSuite();
- }
-
- @Override
- protected void initConfigSuites(TestSuite parent)
- {
- addScenario(parent, HibernateConfig.INSTANCE, JVM, NATIVE);
- addScenario(parent, HibernateConfig.AUDIT_INSTANCE, JVM, NATIVE);
- }
-
- @Override
- protected void initTestClasses(List<Class<? extends ConfigTest>> testClasses, IScenario scenario)
- {
- // testClasses.clear();
- // testClasses.add(HibernateBugzilla_417797_Test.class);
- // if (true)
- // {
- // return;
- // }
-
- super.initTestClasses(testClasses, scenario);
-
- // TODO: find out why this does not work for non-auditing
- if (scenario.getRepositoryConfig().supportingAudits())
- {
- testClasses.add(HibernateBugzilla_380987_Test.class);
- }
-
- testClasses.add(HibernateChunkingTest.class);
- testClasses.add(Hibernate_Failure_Test.class);
- testClasses.add(Hibernate_Export_Test.class);
- testClasses.add(HibernateBugzilla_381013_Test.class);
- testClasses.add(HibernateBugzilla_417797_Test.class);
-
- testClasses.add(HibernateBugzilla_392653_Test.class);
- testClasses.add(HibernateBugzilla_387752_Test.class);
- testClasses.add(HibernateBugzilla_387752_True_Test.class);
-
- testClasses.add(HibernateBugzilla_333473_Test.class);
-
- testClasses.add(HibernateTimeStampTest.class);
- // removed stalls
- // testClasses.add(HibernateXATransactionTest.class);
- testClasses.add(HibernateExternalAnnotationTest.class);
- testClasses.add(HibernateQueryTest.class);
- testClasses.add(HibernateQueryNoCachingTest.class);
- testClasses.add(HibernateBugzilla_301104_Test.class);
-
- // this bugzilla persists an ecore package, not
- // supported without extra annotations.
- testClasses.remove(Bugzilla_416474_Test.class);
-
- testClasses.remove(TransactionTest.class);
- testClasses.add(HibernateTransactionTest.class);
-
- // remove as it tries to persist an eannotation
- testClasses.remove(Bugzilla_400236_Test.class);
-
- testClasses.add(HibernateBugzilla_362270b_Test.class);
- testClasses.remove(Bugzilla_362270b_Test.class);
-
- testClasses.add(HibernateBugzilla_362270c_Test.class);
- testClasses.remove(Bugzilla_362270c_Test.class);
-
- testClasses.add(HibernateBugzilla_405191_Test.class);
- testClasses.remove(Bugzilla_405191_Test.class);
-
- // for some reason this test needs to be done first...
- testClasses.remove(Bugzilla_306998_Test.class);
- testClasses.add(0, Bugzilla_306998_Test.class);
-
- testClasses.remove(CrossReferenceTest.class);
- testClasses.add(HibernateCrossReferenceTest.class);
-
- testClasses.add(HibernateBugzilla_356181_Test.class);
-
- // the hb store throws an error on deadlocked transaction
- // and does not block
- testClasses.remove(Bugzilla_390185_Test.class);
-
- testClasses.add(HibernateBugzilla_398057_Test.class);
- testClasses.add(HibernateBugzilla_397682_Test.class);
-
- testClasses.add(HibernateBugzilla_416530_Test.class);
-
- // not supported specific OCL operations
- // TODO: research this
- testClasses.remove(Bugzilla_416474_Test.class);
-
- if (scenario.getRepositoryConfig().supportingAudits())
- {
- // need to add additional auditing annotations
- testClasses.remove(HibernateBugzilla_405191_Test.class);
-
- // stalls in case of auditing
- // TODO: research this
- testClasses.remove(OCLQueryTest.class);
- testClasses.remove(OCLQueryTest.Lazy.class);
-
- testClasses.add(HibernateBugzilla_395684_Test.class);
-
- testClasses.add(CDOObjectHistoryTest.class);
-
- // the security model inherits from the ecore model
- // not so well supported for now for auditing
- testClasses.remove(SecurityTest.class);
-
- // the package registry count changes when auditing
- // as auditing adds epackages
- testClasses.remove(PackageRegistryTest.class);
- testClasses.add(HibernatePackageRegistryTest.class);
- testClasses.remove(Bugzilla_303466_Test.class);
- testClasses.add(Hibernate_Bugzilla_303466_Test.class);
-
- // feature maps are not handled correctly in CDO with auditing
- // testClasses.remove(FeatureMapTest.class);
- }
- else
- {
- // these testcases uses commitinfo
- // only supported with auditing
- testClasses.remove(Bugzilla_329254_Test.class);
- testClasses.remove(Hibernate_Bugzilla_329254_Test.class);
-
- // Commit info only works with auditing
- testClasses.remove(CommitInfoTest.class);
- }
-
- // renaming a resource is not possible in the hibernate store.
- testClasses.remove(Bugzilla_334995_Test.class);
-
- // repository restart is not supported in the hibernate store
- // as it clears the database
- testClasses.remove(Bugzilla_347964_Test.class);
-
- // workspaces are not supported
- testClasses.remove(WorkspaceTest.class);
-
- testClasses.remove(DynamicXSDTest.class);
-
- // delete repo is not yet supported
- testClasses.remove(Bugzilla_381472_Test.class);
-
- testClasses.remove(Bugzilla_362270_Test.class);
-
- // persisting models in a resource is not supported
- testClasses.remove(Bugzilla_365832_Test.class);
- testClasses.remove(Bugzilla_352204_Test.class);
- testClasses.remove(Bugzilla_359966_Test.class);
-
- // external reference in a resource not supported
- testClasses.remove(Bugzilla_351393_Test.class);
-
- // hibernate does not support persisting
- // java class and object
- testClasses.add(HibernateAttributeTest.class);
- testClasses.remove(AttributeTest.class);
-
- // Use a hibernate specific test class
- // https://bugs.eclipse.org/bugs/show_bug.cgi?id=339492
- testClasses.add(Hibernate_BackupTest.class);
- testClasses.remove(BackupTest.class);
-
- // Teneo does not yet support lists of int arrays:
- // https://bugs.eclipse.org/bugs/show_bug.cgi?id=330212
- testClasses.remove(Bugzilla_322804_Test.class);
-
- // overridden because Hibernate will treat all stale references as an exception
- testClasses.add(Hibernate_Bugzilla_279982_Test.class);
- testClasses.remove(Bugzilla_279982_Test.class);
-
- // locking not supported
- testClasses.remove(LockingManagerRestartRepositoryTest.class);
- testClasses.remove(LockingManagerRestartSessionTest.class);
- testClasses.remove(LockingManagerRestartTransactionTest.class);
- testClasses.remove(LockingNotificationsTest.class);
- testClasses.remove(LockingManagerRestartRepositoryTest.class);
-
- // Locking manager not supported
- testClasses.remove(LockingManagerTest.class);
-
- // problem with wrong version of EMF Compare
- testClasses.remove(EMFCompareTest.class);
-
- // replace a test with our local implementation:
- // the MultiValueOfAttributeTest class has a method
- // testListOfInteger which has a List with a null value
- // this is not nicely supported by Hibernate
- // therefore this step is removed
- testClasses.add(HibernateMultiValuedOfAttributeTest.class);
- testClasses.remove(MultiValuedOfAttributeTest.class);
-
- // MemStore is not relevant
- testClasses.remove(MEMStoreQueryTest.class);
-
- // replace test case to do external mapping
- testClasses.remove(XATransactionTest.class);
-
- // replace test case with one, disabling some non working testcases
- // see the HibernateExternalReferenceTest for a description
- testClasses.add(HibernateExternalReferenceTest.class);
- testClasses.remove(ExternalReferenceTest.class);
-
- // this testcases removes and creates a resource with the
- // same path in one transaction, that's not supported
- // by hibernate.. because of unique key constraints
- testClasses.remove(Bugzilla_272861_Test.class);
-
- // override a testcase because the hibernate store
- // has a different meaning of unset
- testClasses.add(HibernateBugzilla_258933_Test.class);
- testClasses.remove(Bugzilla_258933_Test.class);
-
- // replace as unsettable has to be re-visited for the hb store
- // see Bug 298579, it does not work for object types
- testClasses.add(HibernateUnsetTest.class);
- testClasses.remove(UnsetTest.class);
- }
-
- /**
- * Overridden because one testcase does not pass as Hibernate currently does not store the isset boolean values in the
- * database.
- *
- * @author Eike Stepper
- */
- public static class HibernateUnsetTest extends UnsetTest
- {
- @Override
- public void testUnsettableBaseTypeVsObjectType()
- {
- }
- }
-
- public static class HibernatePackageRegistryTest extends PackageRegistryTest
- {
-
- @Override
- public void testCommitNestedPackages() throws Exception
- {
- }
-
- @Override
- public void testCommitTopLevelPackages() throws Exception
- {
- }
- }
-
- // overridden because Hibernate will treat all stale references as an exception
- public static class Hibernate_Bugzilla_279982_Test extends Bugzilla_279982_Test
- {
- @Override
- public void testBugzilla_279982_Single() throws Exception
- {
- try
- {
- super.testBugzilla_279982_Single();
- }
- catch (Exception e)
- {
- assertEquals(true, e instanceof CommitException);
- assertEquals(true, e.getMessage().contains("org.hibernate.ObjectNotFoundException"));
- }
- }
-
- @Override
- public void testBugzilla_279982_Multi_RevisionPrefetchingPolicy() throws Exception
- {
- try
- {
- super.testBugzilla_279982_Multi_RevisionPrefetchingPolicy();
- }
- catch (Exception e)
- {
- assertEquals(true, e instanceof CommitException);
- assertEquals(true, e.getMessage().contains("org.hibernate.ObjectNotFoundException"));
- }
- }
- }
-
- public static class Hibernate_BackupTest extends BackupTest
- {
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- final String persistenceXML = "org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml";
- hbConfig.getAdditionalProperties().put(HibernateStore.PERSISTENCE_XML, persistenceXML);
-
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
- }
-
- public static class Hibernate_Bugzilla_303466_Test extends Bugzilla_303466_Test
- {
-
- @Override
- public void test_missingDependency() throws Exception
- {
- }
-
- }
-
- public static class Hibernate_Bugzilla_329254_Test extends Bugzilla_329254_Test
- {
-
- // does not work for non audited cases
- @Override
- public void testCommitTimeStampUpdateOnError() throws Exception
- {
- }
-
- }
-
- public static class HibernateTransactionTest extends TransactionTest
- {
-
- // fails with timeout exceptions, ignore testcase for now
- @Override
- public void testCreateManySessionsAndTransactionsMultiThread() throws Exception
- {
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AuditFeatureMapTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AuditFeatureMapTest.java
deleted file mode 100644
index b68bed943d..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/AuditFeatureMapTest.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- * Copyright (c) 2012, 2015, 2016, 2018 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Simon McDuff - initial API and implementation
- * Eike Stepper - maintenance
- * Stefan Winkler - enhanced test cases
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.config.impl.ConfigTest.Requires;
-import org.eclipse.emf.cdo.tests.model5.Doctor;
-import org.eclipse.emf.cdo.tests.model5.Manager;
-import org.eclipse.emf.cdo.tests.model5.TestFeatureMap;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.view.CDOView;
-
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * NOTE: this testcase does not pass currently for CDO.
- *
- * @author Simon McDuff
- * @Author Martin Taal
- */
-@Requires(IRepositoryConfig.CAPABILITY_AUDITING)
-@Deprecated
-public class AuditFeatureMapTest extends AbstractCDOTest
-{
-
- @Skips("Postgresql")
- public void _testFeatureMaps() throws Exception
- {
- skipStoreWithoutFeatureMaps();
-
- EReference doctorFeature = getModel5Package().getTestFeatureMap_Doctors();
- EReference managerFeature = getModel5Package().getTestFeatureMap_Managers();
-
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/res1"));
-
- TestFeatureMap featureMap = getModel5Factory().createTestFeatureMap();
- resource.getContents().add(featureMap);
- FeatureMap people = featureMap.getPeople();
-
- Map<Long, Map<EStructuralFeature, Class<?>>> checkResult = new HashMap<Long, Map<EStructuralFeature, Class<?>>>();
-
- {
- long commitTime = transaction.commit().getTimeStamp();
- addToResultMap(commitTime, checkResult, people);
- }
-
- // add a few of them
- {
- Manager manager1 = getModel5Factory().createManager();
- Doctor doctor1 = getModel5Factory().createDoctor();
- Manager manager2 = getModel5Factory().createManager();
- Doctor doctor2 = getModel5Factory().createDoctor();
-
- resource.getContents().add(doctor1);
- resource.getContents().add(doctor2);
- resource.getContents().add(manager1);
- resource.getContents().add(manager2);
-
- people.add(managerFeature, manager1);
- people.add(doctorFeature, doctor1);
- people.add(managerFeature, manager2);
- people.add(doctorFeature, doctor2);
- long commitTime = transaction.commit().getTimeStamp();
- addToResultMap(commitTime, checkResult, people);
- }
-
- // delete one
- {
- people.remove(1);
- long commitTime = transaction.commit().getTimeStamp();
- addToResultMap(commitTime, checkResult, people);
- }
-
- // add a few of them
- {
- Manager manager1 = getModel5Factory().createManager();
- Doctor doctor1 = getModel5Factory().createDoctor();
- Manager manager2 = getModel5Factory().createManager();
- Doctor doctor2 = getModel5Factory().createDoctor();
-
- resource.getContents().add(doctor1);
- resource.getContents().add(doctor2);
- resource.getContents().add(manager1);
- resource.getContents().add(manager2);
-
- people.add(managerFeature, manager1);
- people.add(doctorFeature, doctor1);
- people.add(managerFeature, manager2);
- people.add(doctorFeature, doctor2);
- long commitTime = transaction.commit().getTimeStamp();
- addToResultMap(commitTime, checkResult, people);
- }
-
- // check it all
- for (long timeStamp : checkResult.keySet())
- {
- CDOView audit = session.openView(timeStamp);
- {
- CDOResource auditResource = audit.getResource(getResourcePath("/res1"));
- TestFeatureMap testFeatureMap = (TestFeatureMap)auditResource.getContents().get(0);
- checkFeatureMap(testFeatureMap.getPeople(), checkResult.get(timeStamp));
- }
- }
- }
-
- private void addToResultMap(long timeStamp, Map<Long, Map<EStructuralFeature, Class<?>>> result, FeatureMap featureMap)
- {
- final Map<EStructuralFeature, Class<?>> entryResult = new HashMap<EStructuralFeature, Class<?>>();
- result.put(timeStamp, entryResult);
- for (FeatureMap.Entry entry : featureMap)
- {
- entryResult.put(entry.getEStructuralFeature(), entry.getValue().getClass());
- }
- }
-
- private void checkFeatureMap(FeatureMap featureMap, Map<EStructuralFeature, Class<?>> checkMap)
- {
- assertEquals(featureMap.size(), checkMap.size());
- for (EStructuralFeature eFeature : checkMap.keySet())
- {
- final Object value = checkMap.get(eFeature);
- assertEquals(value.getClass(), featureMap.get(eFeature, true).getClass());
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/CDOObjectHistoryTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/CDOObjectHistoryTest.java
deleted file mode 100644
index 27418dc4ec..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/CDOObjectHistoryTest.java
+++ /dev/null
@@ -1,413 +0,0 @@
-/*
- * Copyright (c) 2012, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.CDOObject;
-import org.eclipse.emf.cdo.CDOObjectHistory;
-import org.eclipse.emf.cdo.common.commit.CDOCommitHistory;
-import org.eclipse.emf.cdo.common.commit.CDOCommitInfo;
-import org.eclipse.emf.cdo.common.revision.CDOIDAndVersion;
-import org.eclipse.emf.cdo.common.revision.CDORevision;
-import org.eclipse.emf.cdo.common.revision.CDORevisionKey;
-import org.eclipse.emf.cdo.common.revision.delta.CDOFeatureDelta;
-import org.eclipse.emf.cdo.common.revision.delta.CDORevisionDelta;
-import org.eclipse.emf.cdo.common.revision.delta.CDOSetFeatureDelta;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.eresource.EresourcePackage;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.config.impl.ConfigTest.Requires;
-import org.eclipse.emf.cdo.tests.model1.Company;
-import org.eclipse.emf.cdo.tests.model1.Model1Package;
-import org.eclipse.emf.cdo.tests.model1.Product1;
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CDOUtil;
-import org.eclipse.emf.cdo.view.CDOView;
-
-import org.eclipse.net4j.util.concurrent.ConcurrencyUtil;
-import org.eclipse.net4j.util.lifecycle.LifecycleUtil;
-
-import org.eclipse.emf.ecore.EAnnotation;
-import org.eclipse.emf.ecore.EcoreFactory;
-import org.eclipse.emf.teneo.Constants;
-
-import java.util.List;
-
-/**
- * @author Martin Taal
- * @author Eike Stepper
- */
-@Requires(IRepositoryConfig.CAPABILITY_AUDITING)
-public class CDOObjectHistoryTest extends AbstractCDOTest
-{
- protected CDOSession session1;
-
- @Override
- public void setUp() throws Exception
- {
- if (Model1Package.eINSTANCE.getProduct1_Vat().getEAnnotation(Constants.ANNOTATION_SOURCE_TENEO_JPA) == null)
- {
- final EAnnotation eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
- eAnnotation.setSource(Constants.ANNOTATION_SOURCE_TENEO_JPA);
- eAnnotation.getDetails().put(Constants.ANNOTATION_KEY_VALUE, "@Enumerated(value=EnumType.ORDINAL)");
- Model1Package.eINSTANCE.getProduct1_Vat().getEAnnotations().add(eAnnotation);
- }
-
- super.setUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- LifecycleUtil.deactivate(session1);
- session1 = null;
- super.doTearDown();
- }
-
- protected CDOSession openSession1()
- {
- session1 = openSession();
- return session1;
- }
-
- protected void closeSession1()
- {
- session1.close();
- }
-
- protected CDOSession openSession2()
- {
- return openSession();
- }
-
- public void testChangedAudit() throws Exception
- {
- CDOSession session = openSession1();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/res1"));
-
- Company company = getModel1Factory().createCompany();
- company.setName("ESC");
- resource.getContents().add(company);
-
- // add a product
- Product1 product = getModel1Factory().createProduct1();
- product.setVat(VAT.VAT15);
- product.setDescription("description");
- resource.getContents().add(product);
-
- long commitTime1 = transaction.commit().getTimeStamp();
- assertEquals(true, session.getRepositoryInfo().getCreationTime() < commitTime1);
- assertEquals("ESC", company.getName());
- final CDOObject cdoObjectCompany = CDOUtil.getCDOObject(company);
- assertEquals(1, cdoObjectCompany.cdoRevision().getVersion());
-
- company.setName("Sympedia");
- long commitTime2 = transaction.commit().getTimeStamp();
- assertEquals(true, commitTime1 < commitTime2);
- assertEquals(true, session.getRepositoryInfo().getCreationTime() < commitTime2);
- assertEquals("Sympedia", company.getName());
- assertEquals(2, cdoObjectCompany.cdoRevision().getVersion());
-
- company.setName("Eclipse");
- long commitTime3 = transaction.commit().getTimeStamp();
- assertEquals(true, commitTime2 < commitTime3);
- assertEquals(true, session.getRepositoryInfo().getCreationTime() < commitTime2);
- assertEquals("Eclipse", company.getName());
- assertEquals(3, cdoObjectCompany.cdoRevision().getVersion());
-
- resource.getContents().remove(company);
- long commitTime4 = transaction.commit().getTimeStamp();
-
- closeSession1();
- session = openSession2();
-
- CDOView audit = session.openView(commitTime1);
- {
- CDOResource auditResource = audit.getResource(getResourcePath("/res1"));
- Company auditCompany = (Company)auditResource.getContents().get(0);
- assertEquals("ESC", auditCompany.getName());
-
- final CDOObjectHistory cdoObjectHistory = getCDOObjectHistory(audit, auditCompany);
- assertEquals(1, cdoObjectHistory.getElements().length);
- for (CDOCommitInfo cdoCommitInfo : cdoObjectHistory.getElements())
- {
- if (cdoCommitInfo.getTimeStamp() == commitTime1)
- {
- checkCommitInfo1(cdoCommitInfo);
- }
- else
- {
- fail();
- }
- }
- audit.close();
- }
-
- audit = session.openView(commitTime2);
- {
- CDOResource auditResource = audit.getResource(getResourcePath("/res1"));
- Company auditCompany = (Company)auditResource.getContents().get(0);
- assertEquals("Sympedia", auditCompany.getName());
-
- final CDOObjectHistory cdoObjectHistory = getCDOObjectHistory(audit, auditCompany);
- assertEquals(2, cdoObjectHistory.getElements().length);
- for (CDOCommitInfo cdoCommitInfo : cdoObjectHistory.getElements())
- {
- if (cdoCommitInfo.getTimeStamp() == commitTime1)
- {
- checkCommitInfo1(cdoCommitInfo);
- }
- else if (cdoCommitInfo.getTimeStamp() == commitTime2)
- {
- checkCommitInfo2(cdoCommitInfo);
- }
- else
- {
- fail();
- }
- }
- audit.close();
- }
-
- audit = session.openView(commitTime3);
- {
- CDOResource auditResource = audit.getResource(getResourcePath("/res1"));
-
- Company auditCompany = (Company)auditResource.getContents().get(0);
- assertEquals("Eclipse", auditCompany.getName());
-
- final CDOObjectHistory cdoObjectHistory = getCDOObjectHistory(audit, auditCompany);
- assertEquals(3, cdoObjectHistory.getElements().length);
- for (CDOCommitInfo cdoCommitInfo : cdoObjectHistory.getElements())
- {
- if (cdoCommitInfo.getTimeStamp() == commitTime1)
- {
- checkCommitInfo1(cdoCommitInfo);
- }
- else if (cdoCommitInfo.getTimeStamp() == commitTime2)
- {
- checkCommitInfo2(cdoCommitInfo);
- }
- else if (cdoCommitInfo.getTimeStamp() == commitTime3)
- {
- checkCommitInfo3(cdoCommitInfo);
- }
- else
- {
- fail();
- }
- }
-
- final CDOObject cdoObject = CDOUtil.getCDOObject(auditCompany);
- int initialVersion = cdoObject.cdoRevision().getVersion();
- assertEquals(3, initialVersion);
-
- final InternalCDORevision revision3 = (InternalCDORevision)CDOUtil.getRevisionByVersion(cdoObject, 3);
- final InternalCDORevision revision2 = (InternalCDORevision)CDOUtil.getRevisionByVersion(cdoObject, 2);
- final InternalCDORevision revision1 = (InternalCDORevision)CDOUtil.getRevisionByVersion(cdoObject, 1);
-
- CDORevisionDelta revisionDelta = revision3.compare(revision2);
- for (CDOFeatureDelta featureDelta : revisionDelta.getFeatureDeltas())
- {
- System.err.println(featureDelta.getFeature().getName() + " changed through changeType " + featureDelta.getType());
- }
-
- assertEquals("ESC", revision1.getValue(revision1.getEClass().getEStructuralFeature("name")));
- assertEquals("Sympedia", revision2.getValue(revision1.getEClass().getEStructuralFeature("name")));
- assertEquals("Eclipse", revision3.getValue(revision1.getEClass().getEStructuralFeature("name")));
-
- audit.close();
- }
-
- audit = session.openView(commitTime4);
- {
- final CDOCommitHistory cdoCommitHistory = getCDOCommitHistory(audit);
- assertEquals(5, cdoCommitHistory.getElements().length);
- for (CDOCommitInfo cdoCommitInfo : cdoCommitHistory.getElements())
- {
- if (cdoCommitInfo.getTimeStamp() == commitTime1)
- {
- checkCommitInfo1(cdoCommitInfo);
- }
- else if (cdoCommitInfo.getTimeStamp() == commitTime2)
- {
- checkCommitInfo2(cdoCommitInfo);
- }
- else if (cdoCommitInfo.getTimeStamp() == commitTime3)
- {
- checkCommitInfo3(cdoCommitInfo);
- }
- else if (cdoCommitInfo.getTimeStamp() == commitTime4)
- {
- checkCommitInfo4(cdoCommitInfo);
- }
- else if (cdoCommitInfo.getComment() != null && cdoCommitInfo.getComment().equals("<initialize>"))
- {
- // as expected
- }
- else
- {
- fail();
- }
- }
- audit.close();
- }
-
- session.close();
- }
-
- private void checkCommitInfo1(CDOCommitInfo cdoCommitInfo)
- {
- final List<CDOIDAndVersion> newObjects = cdoCommitInfo.getNewObjects();
- final List<CDORevisionKey> changedObjects = cdoCommitInfo.getChangedObjects();
- final List<CDOIDAndVersion> detachedObjects = cdoCommitInfo.getDetachedObjects();
- assertEquals(0, detachedObjects.size());
- assertEquals(4, newObjects.size());
- assertEquals(1, changedObjects.size());
- for (Object o : changedObjects)
- {
- final CDORevisionDelta cdoRevisionDelta = (CDORevisionDelta)o;
- final CDOFeatureDelta cdoFeatureDelta = cdoRevisionDelta.getFeatureDelta(EresourcePackage.eINSTANCE.getCDOResource_Contents());
- assertNotNull(cdoFeatureDelta);
- assertEquals(CDOFeatureDelta.Type.LIST, cdoFeatureDelta.getType());
- }
- int resourceCnt = 0;
- int resourceFolderCnt = 0;
- int companyCnt = 0;
- int productCnt = 0;
- for (Object o : newObjects)
- {
- final CDORevision cdoRevision = (CDORevision)o;
- if (cdoRevision.getEClass().getName().equals(Model1Package.eINSTANCE.getProduct1().getName()))
- {
- productCnt++;
- }
- if (cdoRevision.getEClass().getName().equals(Model1Package.eINSTANCE.getCompany().getName()))
- {
- companyCnt++;
- }
- if (cdoRevision.getEClass() == EresourcePackage.eINSTANCE.getCDOResource())
- {
- resourceCnt++;
- }
- if (cdoRevision.getEClass() == EresourcePackage.eINSTANCE.getCDOResourceFolder())
- {
- resourceFolderCnt++;
- }
- }
- assertEquals(1, productCnt);
- assertEquals(1, companyCnt);
- assertEquals(1, resourceCnt);
- assertEquals(1, resourceFolderCnt);
- }
-
- private void checkCommitInfo2(CDOCommitInfo cdoCommitInfo)
- {
- final List<CDOIDAndVersion> newObjects = cdoCommitInfo.getNewObjects();
- final List<CDORevisionKey> changedObjects = cdoCommitInfo.getChangedObjects();
- final List<CDOIDAndVersion> detachedObjects = cdoCommitInfo.getDetachedObjects();
- assertEquals(0, detachedObjects.size());
- assertEquals(0, newObjects.size());
- assertEquals(1, changedObjects.size());
- for (Object o : changedObjects)
- {
- final CDORevisionDelta cdoRevisionDelta = (CDORevisionDelta)o;
- final CDOSetFeatureDelta cdoFeatureDelta = (CDOSetFeatureDelta)cdoRevisionDelta
- .getFeatureDelta(cdoRevisionDelta.getEClass().getEStructuralFeature("name"));
- assertNotNull(cdoFeatureDelta);
- assertEquals("Sympedia", cdoFeatureDelta.getValue());
- }
- }
-
- private void checkCommitInfo3(CDOCommitInfo cdoCommitInfo)
- {
- final List<CDOIDAndVersion> newObjects = cdoCommitInfo.getNewObjects();
- final List<CDORevisionKey> changedObjects = cdoCommitInfo.getChangedObjects();
- final List<CDOIDAndVersion> detachedObjects = cdoCommitInfo.getDetachedObjects();
- assertEquals(0, detachedObjects.size());
- assertEquals(0, newObjects.size());
- assertEquals(1, changedObjects.size());
- for (Object o : changedObjects)
- {
- final CDORevisionDelta cdoRevisionDelta = (CDORevisionDelta)o;
- final CDOSetFeatureDelta cdoFeatureDelta = (CDOSetFeatureDelta)cdoRevisionDelta
- .getFeatureDelta(cdoRevisionDelta.getEClass().getEStructuralFeature("name"));
- assertNotNull(cdoFeatureDelta);
- assertEquals("Eclipse", cdoFeatureDelta.getValue());
- }
- }
-
- private void checkCommitInfo4(CDOCommitInfo cdoCommitInfo)
- {
- final List<CDOIDAndVersion> newObjects = cdoCommitInfo.getNewObjects();
- final List<CDORevisionKey> changedObjects = cdoCommitInfo.getChangedObjects();
- final List<CDOIDAndVersion> detachedObjects = cdoCommitInfo.getDetachedObjects();
- assertEquals(1, detachedObjects.size());
- assertEquals(0, newObjects.size());
- // due to a bug/issue in cdo hibernate store, there are 2 changedobjects
- // need to revisit after default/enum value setting has been changed
- // https://bugs.eclipse.org/bugs/show_bug.cgi?id=387752
- assertEquals(1, changedObjects.size());
- for (Object o : changedObjects)
- {
- final CDORevisionDelta cdoRevisionDelta = (CDORevisionDelta)o;
- if (cdoRevisionDelta.getEClass().getName().equals("Product1"))
- {
- continue;
- }
- final CDOFeatureDelta cdoFeatureDelta = cdoRevisionDelta.getFeatureDelta(EresourcePackage.eINSTANCE.getCDOResource_Contents());
- assertNotNull(cdoFeatureDelta);
- assertEquals(CDOFeatureDelta.Type.LIST, cdoFeatureDelta.getType());
- }
- }
-
- private synchronized CDOObjectHistory getCDOObjectHistory(CDOView audit, Object object)
- {
- CDOObjectHistory cdoObjectHistory = audit.getHistory((CDOObject)object);
-
- cdoObjectHistory.triggerLoad();
- long startTime = System.currentTimeMillis();
- while (cdoObjectHistory.isLoading())
- {
- ConcurrencyUtil.sleep(10);
-
- // waited too long
- if (System.currentTimeMillis() - startTime > 5000)
- {
- throw new IllegalStateException("commit info could not be loaded");
- }
- }
- return cdoObjectHistory;
- }
-
- private synchronized CDOCommitHistory getCDOCommitHistory(CDOView audit)
- {
- CDOCommitHistory cdoCommitHistory = audit.getHistory();
-
- cdoCommitHistory.triggerLoad();
- long startTime = System.currentTimeMillis();
- while (cdoCommitHistory.isLoading())
- {
- ConcurrencyUtil.sleep(10);
-
- // waited too long
- if (System.currentTimeMillis() - startTime > 5000)
- {
- throw new IllegalStateException("commit info could not be loaded");
- }
- }
- return cdoCommitHistory;
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateAttributeTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateAttributeTest.java
deleted file mode 100644
index 2ce55a3ddb..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateAttributeTest.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2012, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.tests.AttributeTest;
-
-/**
- * Disable some tests which won't work with hibernate (persisting java classes and java objects).
- *
- * @author Martin Taal
- */
-public class HibernateAttributeTest extends AttributeTest
-{
-
- @Override
- public void testJavaClass() throws Exception
- {
- }
-
- @Override
- public void testJavaObject() throws Exception
- {
- }
-
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_258933_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_258933_Test.java
deleted file mode 100644
index 12d7674f89..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_258933_Test.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2009-2012, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_258933_Test;
-
-/**
- * CDORevisionImpl.eIsSet() works incorrectly
- * <p>
- * See bug 258933
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_258933_Test extends Bugzilla_258933_Test
-{
- @Override
- public void testBugzilla_258933_String_SetToDefaultValue_unsettable() throws Exception
- {
- }
-
- @Override
- public void testBugzilla_258933_String() throws Exception
- {
- }
-
- @Override
- public void testBugzilla_258933_String_SetToNull() throws Exception
- {
- }
-
- @Override
- public void testBugzilla_258933_String_SetToNull_unsettable() throws Exception
- {
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_301104_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_301104_Test.java
deleted file mode 100644
index e4de6c7514..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_301104_Test.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2010-2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.Category;
-import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-import org.eclipse.emf.ecore.EAnnotation;
-import org.eclipse.emf.ecore.EcoreFactory;
-
-/**
- * Allow application to set generated id.
- * <p>
- * See bug 301104
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_301104_Test extends AbstractCDOTest
-{
- public void testSetId() throws Exception
- {
- final String uuid = "MyUUID";
-
- // add the id and generated value annotations
- final EAnnotation eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
- eAnnotation.setSource("teneo.jpa");
- eAnnotation.getDetails().put("value", "@Id @GeneratedValue(generator=\"system-uuid\")");
- Model1Package.eINSTANCE.getCategory_Name().getEAnnotations().add(eAnnotation);
-
- Category category1;
- {
- final CDOSession session = openSession();
- final CDOTransaction transaction = session.openTransaction();
-
- final CDOResource resource = transaction.createResource(getResourcePath("/test1"));
- category1 = getModel1Factory().createCategory();
- category1.setName(uuid);
- resource.getContents().add(category1);
-
- transaction.commit();
- }
- {
- final CDOSession session = openSession();
- final CDOTransaction transaction = session.openTransaction();
- final CDOResource resource = transaction.getResource(getResourcePath("/test1"));
- final Category category2 = (Category)resource.getContents().get(0);
- assertNotSame(category1, category2);
- assertEquals(uuid, category2.getName());
- transaction.commit();
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_333473_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_333473_Test.java
deleted file mode 100644
index 361bb5a3af..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_333473_Test.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.OrderDetail;
-import org.eclipse.emf.cdo.tests.model1.SalesOrder;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-import java.util.Collections;
-
-/**
- * @author Michael Tkacz
- */
-public class HibernateBugzilla_333473_Test extends AbstractCDOTest
-{
- public void testRemovalFirstAttempt() throws Exception
- {
- testRemoval(false);
- }
-
- public void testRemovalSecondAttempt() throws Exception
- {
- testRemoval(true);
- }
-
- private void testRemoval(boolean removeOrderDetailFromResourceBeforeRemoval) throws Exception
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
-
- CDOResource orderDetailResource = transaction.getOrCreateResource(getResourcePath("/orderDetail")); //$NON-NLS-1$
- orderDetailResource.getContents().clear();
-
- final OrderDetail orderDetail = getModel1Factory().createOrderDetail();
- orderDetail.setPrice(1.0f);
- orderDetailResource.getContents().add(orderDetail);
-
- CDOResource orderResource = transaction.getOrCreateResource(getResourcePath("/order")); //$NON-NLS-1$
- orderResource.getContents().clear();
-
- SalesOrder order = getModel1Factory().createSalesOrder();
- order.getOrderDetails().add(orderDetail);
- orderResource.getContents().add(order);
-
- transaction.commit();
- transaction.close();
- session.close();
-
- // so far so good
-
- session = openSession();
- transaction = session.openTransaction();
- orderResource = transaction.getResource(getResourcePath("/order")); //$NON-NLS-1$
- orderDetailResource = transaction.getResource(getResourcePath("/orderDetail")); //$NON-NLS-1$
-
- order = (SalesOrder)orderResource.getContents().get(0);
- order.getOrderDetails().clear();
-
- if (removeOrderDetailFromResourceBeforeRemoval)
- {
- orderDetailResource.getContents().clear();
- }
-
- orderDetailResource.delete(Collections.EMPTY_MAP);
- transaction.commit();
- transaction.close();
- session.close();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_356181_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_356181_Test.java
deleted file mode 100644
index 6d8d2fe02a..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_356181_Test.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright (c) 2012, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.CDOObjectReference;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CDOUtil;
-import org.eclipse.emf.cdo.view.CDOView;
-
-import java.util.Collections;
-import java.util.List;
-
-/**
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_356181_Test extends AbstractCDOTest
-{
- public void testBugzilla() throws Exception
- {
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
-
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- Bz356181_Main main = HibernateTestFactory.eINSTANCE.createBz356181_Main();
- main.setNonTransient("non transient");
- main.setTransient("transient");
- resource.getContents().add(main);
-
- Bz356181_NonTransient nonTransient = HibernateTestFactory.eINSTANCE.createBz356181_NonTransient();
- nonTransient.setMain(main);
- resource.getContents().add(nonTransient);
-
- Bz356181_Transient trans = HibernateTestFactory.eINSTANCE.createBz356181_Transient();
- main.setTransientRef(trans);
-
- main.setTransientOtherRef(HibernateTestFactory.eINSTANCE.createBz356181_NonTransient());
-
- transaction.commit();
- session.close();
- }
-
- clearCache(getRepository().getRevisionManager());
-
- {
- CDOSession session = openSession();
- CDOView view = session.openView();
- CDOResource cdoResource = view.getResource(getResourcePath("/test1"));
- Bz356181_Main main = (Bz356181_Main)cdoResource.getContents().get(0);
- assertNull(main.getTransient());
- assertNull(main.getTransientRef());
- assertNull(main.getTransientOtherRef());
- assertEquals("non transient", main.getNonTransient());
- List<CDOObjectReference> results = view.queryXRefs(Collections.singleton(CDOUtil.getCDOObject(main)));
- assertEquals(1, results.size());
- assertEquals(2, cdoResource.getContents().size());
- assertEquals(1, results.size());
- assertEquals(true, results.get(0).getSourceObject().eClass() == HibernateTestPackage.eINSTANCE.getBz356181_NonTransient());
- assertEquals(true, results.get(0).getTargetObject().eClass() == HibernateTestPackage.eINSTANCE.getBz356181_Main());
- session.close();
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270b_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270b_Test.java
deleted file mode 100644
index df623b3a7f..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270b_Test.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_362270b_Test;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-
-/**
- * Read external reference annotation.
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_362270b_Test extends Bugzilla_362270b_Test
-{
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- final String persistenceXML = "org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml";
- hbConfig.getAdditionalProperties().put(HibernateStore.PERSISTENCE_XML, persistenceXML);
-
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270c_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270c_Test.java
deleted file mode 100644
index 8154973918..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_362270c_Test.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_362270c_Test;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-
-/**
- * Read external reference annotation.
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_362270c_Test extends Bugzilla_362270c_Test
-{
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- final String persistenceXML = "org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml";
- hbConfig.getAdditionalProperties().put(HibernateStore.PERSISTENCE_XML, persistenceXML);
-
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_373545_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_373545_Test.java
deleted file mode 100644
index e6a0b3316b..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_373545_Test.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.CDOObject;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.Category;
-import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-import org.eclipse.emf.ecore.EAnnotation;
-import org.eclipse.emf.ecore.EcoreFactory;
-
-/**
- * @author Martin Taal
- */
-public class HibernateBugzilla_373545_Test extends AbstractCDOTest
-{
- public void testSetId() throws Exception
- {
- // add the id and generated value annotations
- final EAnnotation eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
- eAnnotation.setSource("teneo.jpa");
- eAnnotation.getDetails().put("value", "@Id @GeneratedValue(generator=\"system-uuid\")");
- Model1Package.eINSTANCE.getCategory_Name().getEAnnotations().add(eAnnotation);
-
- Category category1;
- {
- final CDOSession session = openSession();
- final CDOTransaction transaction = session.openTransaction();
-
- final CDOResource resource = transaction.createResource(getResourcePath("/test1"));
- category1 = getModel1Factory().createCategory();
- resource.getContents().add(category1);
-
- transaction.commit();
- }
- {
- final CDOSession session = openSession();
- final CDOTransaction transaction = session.openTransaction();
- final CDOResource resource = transaction.getResource(getResourcePath("/test1"));
- final Category category2 = (Category)resource.getContents().get(0);
- assertNotSame(category1, category2);
- System.err.println(((CDOObject)category2).cdoID());
- assertNotNull(category2.getName());
- transaction.commit();
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_380987_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_380987_Test.java
deleted file mode 100644
index 6072412706..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_380987_Test.java
+++ /dev/null
@@ -1,222 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.CDOObject;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.server.CDOServerExporter;
-import org.eclipse.emf.cdo.server.CDOServerImporter;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.spi.server.InternalRepository;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CDOUtil;
-import org.eclipse.emf.cdo.util.CommitException;
-
-import org.eclipse.emf.ecore.EAnnotation;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EcoreFactory;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * @author Martin Taal
- */
-public class HibernateBugzilla_380987_Test extends AbstractCDOTest
-{
- // in hsqldb several eclasses do not work, they work fine in mysql
- @Override
- protected void doSetUp() throws Exception
- {
- setOrRemoveTransient(HibernateTestPackage.eINSTANCE.getBz398057A());
- setOrRemoveTransient(HibernateTestPackage.eINSTANCE.getBz398057A1());
- setOrRemoveTransient(HibernateTestPackage.eINSTANCE.getBz398057B());
- setOrRemoveTransient(HibernateTestPackage.eINSTANCE.getBz398057B1());
- super.doSetUp();
- }
-
- private void setOrRemoveTransient(EClass eClass)
- {
- if (eClass.getEAnnotation("teneo.jpa") != null)
- {
- eClass.getEAnnotations().remove(eClass.getEAnnotation("teneo.jpa"));
- }
- else
- {
- final EAnnotation eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
- eAnnotation.setSource("teneo.jpa");
- eAnnotation.getDetails().put("value", "@Transient");
- eClass.getEAnnotations().add(eAnnotation);
- }
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- setOrRemoveTransient(HibernateTestPackage.eINSTANCE.getBz398057A());
- setOrRemoveTransient(HibernateTestPackage.eINSTANCE.getBz398057A1());
- setOrRemoveTransient(HibernateTestPackage.eINSTANCE.getBz398057B());
- setOrRemoveTransient(HibernateTestPackage.eINSTANCE.getBz398057B1());
- super.doTearDown();
- }
-
- public void testBugzilla() throws Exception
- {
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/res1"));
- transaction.createResource(getResourcePath("/res2"));
- transaction.createResource(getResourcePath("/res3"));
-
- List<Bz380987_Person> persons = new ArrayList<Bz380987_Person>();
- List<Bz380987_Place> places = new ArrayList<Bz380987_Place>();
- List<Bz380987_Group> groups = new ArrayList<Bz380987_Group>();
- for (int i = 0; i < 5; i++)
- {
- Bz380987_Person person = HibernateTestFactory.eINSTANCE.createBz380987_Person();
- person.setName(i + "");
- persons.add(person);
- Bz380987_Place place = HibernateTestFactory.eINSTANCE.createBz380987_Place();
- place.setName(i + "");
- places.add(place);
- Bz380987_Group group = HibernateTestFactory.eINSTANCE.createBz380987_Group();
- groups.add(group);
- }
- for (int i = 0; i < 5; i++)
- {
- persons.get(i).getPlaces().addAll(places);
- places.get(i).getPeople().addAll(persons);
- groups.get(i).getPeople().addAll(persons);
- }
-
- resource.getContents().addAll(persons);
- resource.getContents().addAll(places);
- resource.getContents().addAll(groups);
- transaction.commit();
- session.close();
-
- CDOServerExporter.XML exporter = new CDOServerExporter.XML(getRepository());
- exporter.exportRepository(baos);
- System.out.println(baos.toString());
- }
-
- // clear the repo
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
- resource.getContents().clear();
- transaction.commit();
- transaction.close();
- session.close();
- }
-
- // repo is cleared
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
- assertEquals(0, resource.getContents().size());
- transaction.commit();
- transaction.close();
- session.close();
- }
-
- {
- InternalRepository repo3 = getRepository("repo3", false);
- ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
- CDOServerImporter.XML importer = new CDOServerImporter.XML(repo3);
- importer.importRepository(bais);
- }
-
- testRepo("repo3");
- }
-
- private void testRepo(String repoName) throws CommitException
- {
- CDOSession session = openSession(repoName);
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
-
- for (Object o : resource.getContents())
- {
- final CDOObject cdoObject = CDOUtil.getCDOObject((EObject)o);
- System.err.println(cdoObject.cdoID());
- System.err.println(cdoObject.cdoID());
- }
-
- CDOResource resource2 = transaction.getResource(getResourcePath("/res2"));
- CDOResource resource3 = transaction.getResource(getResourcePath("/res3"));
- assertNotNull(resource2);
- assertNotNull(resource3);
-
- List<Bz380987_Person> persons = new ArrayList<Bz380987_Person>();
- List<Bz380987_Place> places = new ArrayList<Bz380987_Place>();
- List<Bz380987_Group> groups = new ArrayList<Bz380987_Group>();
- for (int i = 0; i < 15; i++)
- {
- if (i < 5)
- {
- persons.add((Bz380987_Person)resource.getContents().get(i));
- }
- else if (i < 10)
- {
- places.add((Bz380987_Place)resource.getContents().get(i));
- }
- else
- {
- groups.add((Bz380987_Group)resource.getContents().get(i));
- }
- }
- assertEquals(5, persons.size());
- assertEquals(5, places.size());
- assertEquals(5, groups.size());
- for (int i = 0; i < 5; i++)
- {
- assertEquals(5, persons.get(i).getGroup().size());
- assertEquals(5, persons.get(i).getPlaces().size());
- assertEquals(5, places.get(i).getPeople().size());
- assertEquals(5, groups.get(i).getPeople().size());
- }
-
- for (int i = 0; i < 5; i++)
- {
- for (Object o : persons.get(i).getGroup())
- {
- final Bz380987_Group gr = (Bz380987_Group)o;
- System.err.println(gr.getPeople().size());
- }
- persons.get(i).getGroup().removeAll(groups);
- assertEquals(0, persons.get(i).getGroup().size());
- persons.get(i).getPlaces().removeAll(places);
- assertEquals(0, persons.get(i).getPlaces().size());
-
- places.get(i).getPeople().removeAll(persons);
- assertEquals(0, places.get(i).getPeople().size());
-
- groups.get(i).getPeople().removeAll(persons);
- assertEquals(0, groups.get(i).getPeople().size());
- }
- transaction.rollback();
- session.close();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_381013_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_381013_Test.java
deleted file mode 100644
index 0dcbf489f1..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_381013_Test.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.server.CDOServerExporter;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.spi.server.InternalRepository;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-import java.io.ByteArrayOutputStream;
-
-/**
- * @author Martin Taal
- */
-public class HibernateBugzilla_381013_Test extends AbstractCDOTest
-{
- public void testExport() throws Exception
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/res1"));
- assertNotNull(resource);
- transaction.commit();
- session.close();
-
- InternalRepository repo1 = getRepository();
-
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- CDOServerExporter.XML exporter = new CDOServerExporter.XML(repo1);
- exporter.exportRepository(baos);
- final String result = baos.toString();
- final String searchString = "id=\"lhttp://www.eclipse.org/emf/CDO/Eresource/4.0.0#CDOResource#3\"";
- final int index = result.indexOf(searchString);
- // at most one occurence
- assertEquals(true, index != -1);
- assertEquals(-1, result.indexOf(searchString, index + 1));
- // System.out.println(result);
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_Test.java
deleted file mode 100644
index 60005d20fb..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_Test.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory;
-import org.eclipse.emf.cdo.tests.model1.Supplier;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.view.CDOView;
-
-import org.eclipse.emf.teneo.PersistenceOptions;
-
-/**
- * Read external reference annotation.
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_387752_Test extends AbstractCDOTest
-{
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().put(PersistenceOptions.HANDLE_UNSET_AS_NULL, "false");
- org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-
- @CleanRepositoriesBefore(reason = "Start with a fresh repo")
- public void testBugzilla() throws Exception
- {
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
-
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- Bz387752_Main main = HibernateTestFactory.eINSTANCE.createBz387752_Main();
- main.setEnumSettable(null);
- main.setStrSettable(null);
- main.setStrUnsettable(null);
- main.setEnumUnsettable(null);
- resource.getContents().add(main);
-
- Bz387752_Main main2 = HibernateTestFactory.eINSTANCE.createBz387752_Main();
- resource.getContents().add(main2);
- resource.getContents().add(createSupplier(1));
- resource.getContents().add(createSupplier(2));
- resource.getContents().add(createSupplier(3));
-
- transaction.commit();
- session.close();
- }
-
- clearCache(getRepository().getRevisionManager());
-
- {
- CDOSession session = openSession();
- CDOView view = session.openView();
- CDOResource cdoResource = view.getResource(getResourcePath("/test1"));
- Bz387752_Main main = (Bz387752_Main)cdoResource.getContents().get(0);
- assertEquals("value", main.getStrSettable());
- assertEquals(Bz387752_Enum.VAL0, main.getEnumSettable());
- assertEquals(null, main.getStrUnsettable());
- assertEquals(Bz387752_Enum.VAL1, main.getEnumUnsettable());
-
- // db store results
- // assertEquals("value", main.getStrSettable());
- // assertEquals(Bz387752_Enum.VAL0, main.getEnumSettable());
- // assertEquals(null, main.getStrUnsettable());
- // assertEquals(Bz387752_Enum.VAL0, main.getEnumUnsettable());
-
- Bz387752_Main main2 = (Bz387752_Main)cdoResource.getContents().get(1);
- assertEquals("value", main2.getStrSettable());
- assertEquals(Bz387752_Enum.VAL0, main2.getEnumSettable());
- assertEquals("def_value", main2.getStrUnsettable());
- assertEquals(Bz387752_Enum.VAL1, main2.getEnumUnsettable());
- // db store results
- // assertEquals("value", main2.getStrSettable());
- // assertEquals(Bz387752_Enum.VAL0, main2.getEnumSettable());
- // assertEquals("def_value", main2.getStrUnsettable());
- // assertEquals(Bz387752_Enum.VAL1, main2.getEnumUnsettable());
-
- session.close();
- }
- }
-
- private Supplier createSupplier(int i)
- {
- Supplier supplier = getModel1Factory().createSupplier();
- supplier.setCity("City " + i);
- supplier.setName(i + "");
- supplier.setStreet("Street " + i);
- // supplier.setPreferred(false); // will be persisted with its default value
- return supplier;
- }
-
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_True_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_True_Test.java
deleted file mode 100644
index 8abeec94c2..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_387752_True_Test.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory;
-import org.eclipse.emf.cdo.tests.model1.Supplier;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.view.CDOView;
-
-import org.eclipse.emf.teneo.PersistenceOptions;
-
-/**
- * Read external reference annotation.
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_387752_True_Test extends AbstractCDOTest
-{
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().put(PersistenceOptions.HANDLE_UNSET_AS_NULL, "false");
- org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-
- public void testBugzilla() throws Exception
- {
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
-
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- Bz387752_Main main = HibernateTestFactory.eINSTANCE.createBz387752_Main();
- main.setEnumSettable(null);
- main.setStrSettable(null);
- main.setStrUnsettable(null);
- main.setEnumUnsettable(null);
- resource.getContents().add(main);
-
- Bz387752_Main main2 = HibernateTestFactory.eINSTANCE.createBz387752_Main();
- resource.getContents().add(main2);
-
- resource.getContents().add(createSupplier(1));
- resource.getContents().add(createSupplier(2));
- resource.getContents().add(createSupplier(3));
-
- transaction.commit();
- session.close();
- }
-
- clearCache(getRepository().getRevisionManager());
-
- {
- CDOSession session = openSession();
- CDOView view = session.openView();
- CDOResource cdoResource = view.getResource(getResourcePath("/test1"));
- Bz387752_Main main = (Bz387752_Main)cdoResource.getContents().get(0);
- assertEquals("value", main.getStrSettable());
- assertEquals(Bz387752_Enum.VAL0, main.getEnumSettable());
- assertEquals(null, main.getStrUnsettable());
- assertEquals(Bz387752_Enum.VAL1, main.getEnumUnsettable());
-
- // db store results
- // assertEquals("value", main.getStrSettable());
- // assertEquals(Bz387752_Enum.VAL0, main.getEnumSettable());
- // assertEquals(null, main.getStrUnsettable());
- // assertEquals(Bz387752_Enum.VAL0, main.getEnumUnsettable());
-
- Bz387752_Main main2 = (Bz387752_Main)cdoResource.getContents().get(1);
- assertEquals("value", main2.getStrSettable());
- assertEquals(Bz387752_Enum.VAL0, main2.getEnumSettable());
- assertEquals("def_value", main2.getStrUnsettable());
- assertEquals(Bz387752_Enum.VAL1, main2.getEnumUnsettable());
- // db store results
- // assertEquals("value", main2.getStrSettable());
- // assertEquals(Bz387752_Enum.VAL0, main2.getEnumSettable());
- // assertEquals("def_value", main2.getStrUnsettable());
- // assertEquals(Bz387752_Enum.VAL1, main2.getEnumUnsettable());
-
- session.close();
- }
- }
-
- private Supplier createSupplier(int i)
- {
- Supplier supplier = getModel1Factory().createSupplier();
- supplier.setCity("City " + i);
- supplier.setName(i + "");
- supplier.setStreet("Street " + i);
- // supplier.setPreferred(false); // will be persisted with its default value
- return supplier;
- }
-
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_392653_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_392653_Test.java
deleted file mode 100644
index 4e21125a1d..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_392653_Test.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.CDOServerExporter;
-import org.eclipse.emf.cdo.server.CDOServerImporter;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.spi.server.InternalRepository;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CommitException;
-
-import org.eclipse.emf.common.util.TreeIterator;
-import org.eclipse.emf.ecore.EObject;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-
-/**
- * @author Martin Taal
- */
-public class HibernateBugzilla_392653_Test extends AbstractCDOTest
-{
- @Override
- protected void doSetUp() throws Exception
- {
- super.doSetUp();
- getRepository("repo2", false).setInitialPackages(Model1Package.eINSTANCE);
- getRepository("repo2", true);
- }
-
- @CleanRepositoriesBefore(reason = "needed for passing testcase")
- public void testBugzilla() throws Exception
- {
- InternalRepository repo2 = getRepository("repo2");
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- CDOServerExporter.XML exporter = new CDOServerExporter.XML(repo2);
- exporter.exportRepository(baos);
- System.out.println(baos.toString());
-
- InternalRepository repo3 = getRepository("repo2", false);
-
- ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
- CDOServerImporter.XML importer = new CDOServerImporter.XML(repo3);
- importer.importRepository(bais);
-
- useAfterImport("repo2");
- }
-
- private void useAfterImport(String repoName) throws CommitException
- {
- CDOSession session2 = openSession(repoName);
- CDOTransaction transaction2 = session2.openTransaction();
-
- // Read all repo contents
- TreeIterator<EObject> iter = transaction2.getRootResource().getAllContents();
- while (iter.hasNext())
- {
- iter.next();
- }
- transaction2.commit();
-
- session2.close();
- }
-
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_395684_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_395684_Test.java
deleted file mode 100644
index 432cbe0b55..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_395684_Test.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.CDOObject;
-import org.eclipse.emf.cdo.common.commit.CDOCommitHistory;
-import org.eclipse.emf.cdo.common.commit.CDOCommitInfo;
-import org.eclipse.emf.cdo.common.revision.CDOIDAndVersion;
-import org.eclipse.emf.cdo.common.revision.CDORevision;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.config.impl.ConfigTest.Requires;
-import org.eclipse.emf.cdo.tests.model1.Customer;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CDOUtil;
-import org.eclipse.emf.cdo.view.CDOView;
-
-import org.eclipse.net4j.util.concurrent.ConcurrencyUtil;
-
-/**
- * @author Martin Taal
- */
-@Requires(IRepositoryConfig.CAPABILITY_AUDITING)
-public class HibernateBugzilla_395684_Test extends AbstractCDOTest
-{
- @Override
- protected void doSetUp() throws Exception
- {
- disableConsole();
- super.doSetUp();
- skipStoreWithoutRawAccess();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- disableConsole();
- super.doTearDown();
- }
-
- public void testVersionChange() throws Exception
- {
- CDOSession session = openSession();
- {
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/res1"));
- Customer customer = getModel1Factory().createCustomer();
- customer.setName("Martin");
- resource.getContents().add(customer);
- transaction.commit();
- }
- {
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
- Customer customer = (Customer)resource.getContents().get(0);
- customer.setName("Eike");
- transaction.commit();
- }
- {
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
- resource.getContents().remove(0);
- transaction.commit();
- }
-
- getRepository().getRevisionManager().getCache().clear();
-
- {
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
- assertEquals(0, resource.getContents().size());
- transaction.commit();
- }
-
- {
- CDOView view = session.openView();
-
- int i = 0;
- for (CDOCommitInfo cdoCommitInfo : getCDOCommitHistory(view).getElements())
- {
- if (i == 0)
- {
- assertEquals(1, cdoCommitInfo.getDetachedObjects().size());
- assertEquals(1, cdoCommitInfo.getChangedObjects().size());
- assertEquals(0, cdoCommitInfo.getNewObjects().size());
- CDOIDAndVersion cdoIDAndVersion = cdoCommitInfo.getDetachedObjects().get(0);
- // get the view before the delete
- CDOView otherView = session.openView(cdoCommitInfo.getTimeStamp() - 1);
- CDOObject obj = otherView.getObject(cdoIDAndVersion.getID());
- {
- final Customer oldCustomer = (Customer)CDOUtil.getEObject(obj);
- assertEquals("Eike", oldCustomer.getName());
- }
- {
- final CDORevision cdoRevision = CDOUtil.getRevisionByVersion(obj, cdoIDAndVersion.getVersion());
- // get the detached entry
- final CDORevision cdoRevisionDetached = CDOUtil.getRevisionByVersion(obj, 1 + cdoIDAndVersion.getVersion());
- assertEquals(cdoRevision.getRevised() + 1, cdoRevisionDetached.getTimeStamp());
- }
-
- }
- else if (i == 1)
- {
- assertEquals(0, cdoCommitInfo.getDetachedObjects().size());
- assertEquals(1, cdoCommitInfo.getChangedObjects().size());
- assertEquals(0, cdoCommitInfo.getNewObjects().size());
- }
- else
- {
- break;
- }
- i++;
- }
- view.close();
- }
- }
-
- private synchronized CDOCommitHistory getCDOCommitHistory(CDOView audit)
- {
- CDOCommitHistory history = audit.getHistory();
- history.triggerLoad();
- long startTime = System.currentTimeMillis();
- while (history.isLoading())
- {
- ConcurrencyUtil.sleep(10);
-
- // waited too long
- if (System.currentTimeMillis() - startTime > 5000)
- {
- throw new IllegalStateException("commit info could not be loaded");
- }
- }
- return history;
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_397682_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_397682_Test.java
deleted file mode 100644
index 81da511638..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_397682_Test.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.config.impl.ConfigTest.Requires;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-/**
- * @author Martin Taal
- */
-@Requires(IRepositoryConfig.CAPABILITY_AUDITING)
-public class HibernateBugzilla_397682_Test extends AbstractCDOTest
-{
-
- public void testIssue() throws Exception
- {
- CDOSession session = openSession();
- {
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/res1"));
- Bz397682P p = HibernateTestFactory.eINSTANCE.createBz397682P();
- p.setDbId("1");
- Bz397682C c1 = HibernateTestFactory.eINSTANCE.createBz397682C();
- c1.setDbId("2");
- p.getListOfC().add(c1);
- assertNotNull(c1.getRefToP());
- resource.getContents().add(p);
- transaction.commit();
- assertNotNull(c1.getRefToP());
- }
- {
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
- Bz397682P p = (Bz397682P)resource.getContents().get(0);
- Bz397682C c2 = HibernateTestFactory.eINSTANCE.createBz397682C();
- c2.setDbId("3");
- c2.setRefToC(p.getListOfC().get(0));
- p.getListOfC().add(c2);
- assertNotNull(c2.getRefToP());
- resource.getContents().add(p);
- transaction.commit();
- assertNotNull(c2.getRefToP());
- assertNotNull(p.getListOfC().get(0).getRefToP());
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_398057_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_398057_Test.java
deleted file mode 100644
index 0588abb72e..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_398057_Test.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.config.impl.ConfigTest.Requires;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CommitException;
-
-/**
- * @author Martin Taal
- */
-@Requires(IRepositoryConfig.CAPABILITY_AUDITING)
-public class HibernateBugzilla_398057_Test extends AbstractCDOTest
-{
-
- public void testIssue() throws Exception
- {
- CDOSession session = openSession();
- {
- try
- {
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/res1"));
- Bz398057A a = HibernateTestFactory.eINSTANCE.createBz398057A();
- a.setDbId("1");
- Bz398057B1 b1 = HibernateTestFactory.eINSTANCE.createBz398057B1();
- b1.setDbId("1");
- b1.setValueStr("str");
- b1.setValue(1.0);
- a.getListOfB().add(b1);
- resource.getContents().add(a);
- transaction.commit();
- // fail(); // expected to fail
- }
- catch (CommitException e)
- {
- // fine
- }
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_405191_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_405191_Test.java
deleted file mode 100644
index 3583ad927c..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_405191_Test.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore;
-import org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_405191_Test;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-
-/**
- * @author Martin Taal
- */
-public class HibernateBugzilla_405191_Test extends Bugzilla_405191_Test
-{
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- final String persistenceXML = "org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml";
- hbConfig.getAdditionalProperties().put(HibernateStore.PERSISTENCE_XML, persistenceXML);
-
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_416530_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_416530_Test.java
deleted file mode 100644
index 101b36c541..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_416530_Test.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.Company;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-/**
- * @author Michael Taal
- */
-public class HibernateBugzilla_416530_Test extends AbstractCDOTest
-{
-
- // @Override
- // public void doSetUp() throws Exception
- // {
- // org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- // org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- // super.doSetUp();
- // }
- //
- // @Override
- // public void doTearDown() throws Exception
- // {
- // org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- // org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- // super.doTearDown();
- // }
-
- public void testCreatePersist() throws Exception
- {
- // step 1: create initial objects and add to resource
- {
- final CDOSession session = openSession();
- final CDOTransaction transaction = session.openTransaction();
- // get/create a resource
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- // clear any previous data
- resource.getContents().clear();
-
- for (int i = 0; i < 100; i++)
- {
- final Company address = getModel1Factory().createCompany();
- address.setCity("test"); //$NON-NLS-1$
- String addressName = "name " + System.currentTimeMillis(); //$NON-NLS-1$
- address.setName(addressName);
- address.setStreet("test"); //$NON-NLS-1$
- resource.getContents().add(address);
- }
-
- transaction.commit();
- }
-
- // step 2: create one additional object and add to resource
- // observations: for each object in the resource, the following add will cause a select for each of that object
- {
- final CDOSession session = openSession();
- final CDOTransaction transaction = session.openTransaction();
- // get/create a resource
- CDOResource resource = transaction.getResource(getResourcePath("/test1"));
-
- {
- final Company address = getModel1Factory().createCompany();
- address.setCity("test"); //$NON-NLS-1$
- String addressName = "name " + System.currentTimeMillis(); //$NON-NLS-1$
- address.setName(addressName);
- address.setStreet("test"); //$NON-NLS-1$
- resource.getContents().add(address);
- }
-
- transaction.commit();
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_417797_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_417797_Test.java
deleted file mode 100644
index 3903714b90..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateBugzilla_417797_Test.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright (c) 2014, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.mango.MangoParameter;
-import org.eclipse.emf.cdo.tests.mango.ParameterPassing;
-import org.eclipse.emf.cdo.tests.mango.legacy.MangoPackage;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-import org.eclipse.emf.ecore.EAnnotation;
-import org.eclipse.emf.ecore.EcoreFactory;
-
-import org.hibernate.cache.ehcache.EhCacheRegionFactory;
-import org.hibernate.cfg.Environment;
-
-/**
- *
- * @author Martin Taal
- */
-public class HibernateBugzilla_417797_Test extends AbstractCDOTest
-{
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
-
- final EAnnotation eAnnotation = EcoreFactory.eINSTANCE.createEAnnotation();
- eAnnotation.setSource("teneo.jpa");
- eAnnotation.getDetails().put("value", "@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)");
- MangoPackage.eINSTANCE.getMangoParameter().getEAnnotations().add(eAnnotation);
-
- hbConfig.getAdditionalProperties().put(Environment.USE_SECOND_LEVEL_CACHE, "true");
- hbConfig.getAdditionalProperties().put(Environment.CACHE_REGION_FACTORY, EhCacheRegionFactory.class.getName());
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-
- @CleanRepositoriesBefore(reason = "Start with a fresh repo")
- public void testBugzilla() throws Exception
- {
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- MangoParameter createMangoParameter = getMangoFactory().createMangoParameter();
- createMangoParameter.setName("Mango1");
- createMangoParameter.setPassing(ParameterPassing.BY_REFERENCE);
-
- resource.getContents().add(createMangoParameter);
-
- transaction.commit();
- session.close();
- }
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/test1"));
- System.err.println(resource.getContents().get(0));
- transaction.commit();
- session.close();
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateChunkingTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateChunkingTest.java
deleted file mode 100644
index c9e02d8ceb..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateChunkingTest.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- * Martin Taal - Changes for hibernate
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.Company;
-import org.eclipse.emf.cdo.tests.model1.Customer;
-import org.eclipse.emf.cdo.tests.model1.SalesOrder;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CDOUtil;
-
-import org.eclipse.net4j.util.io.IOUtil;
-
-import org.eclipse.emf.common.util.EList;
-
-import java.util.Iterator;
-
-/**
- * @author Eike Stepper
- */
-public class HibernateChunkingTest extends AbstractCDOTest
-{
- public void testReadNative() throws Exception
- {
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- Company company = getModel1Factory().createCompany();
- company.setName("company");
- resource.getContents().add(company);
-
- for (int i = 0; i < 100; i++)
- {
- SalesOrder salesOrder = getModel1Factory().createSalesOrder();
- salesOrder.setId(i);
- company.getSalesOrders().add(salesOrder);
- }
-
- transaction.commit();
- session.close();
- }
-
- clearCache(getRepository().getRevisionManager());
-
- CDOSession session = openSession();
- session.options().setCollectionLoadingPolicy(CDOUtil.createCollectionLoadingPolicy(10, 10));
-
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/test1"));
-
- Company company = (Company)resource.getContents().get(0);
- EList<SalesOrder> salesOrders = company.getSalesOrders();
- int i = 0;
- for (Iterator<SalesOrder> it = salesOrders.iterator(); it.hasNext();)
- {
- IOUtil.OUT().println(i++);
- SalesOrder salesOrder = it.next();
- IOUtil.OUT().println(salesOrder);
- }
- }
-
- public void testWriteNative() throws Exception
- {
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- Customer customer = getModel1Factory().createCustomer();
- customer.setName("customer");
- resource.getContents().add(customer);
-
- for (int i = 0; i < 100; i++)
- {
- SalesOrder salesOrder = getModel1Factory().createSalesOrder();
- salesOrder.setId(i);
- salesOrder.setCustomer(customer);
- resource.getContents().add(salesOrder);
- }
-
- transaction.commit();
- session.close();
- }
-
- clearCache(getRepository().getRevisionManager());
-
- CDOSession session = openSession();
- session.options().setCollectionLoadingPolicy(CDOUtil.createCollectionLoadingPolicy(10, 10));
-
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/test1"));
-
- Customer customer = (Customer)resource.getContents().get(0);
- EList<SalesOrder> salesOrders = customer.getSalesOrders();
- for (int i = 50; i < 70; i++)
- {
- SalesOrder salesOrder = getModel1Factory().createSalesOrder();
- salesOrder.setId(i + 1000);
- resource.getContents().add(salesOrder);
- salesOrders.set(i, salesOrder);
- }
-
- transaction.commit();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java
deleted file mode 100644
index 3ff857e346..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateConfig.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Copyright (c) 2008-2012, 2014, 2017 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.IStore;
-import org.eclipse.emf.cdo.server.hibernate.CDOHibernateUtil;
-import org.eclipse.emf.cdo.server.hibernate.IHibernateMappingProvider;
-import org.eclipse.emf.cdo.server.hibernate.teneo.TeneoUtil;
-import org.eclipse.emf.cdo.tests.config.impl.RepositoryConfig;
-
-import org.eclipse.net4j.util.WrappedException;
-
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Properties;
-
-/**
- * @author Eike Stepper
- */
-public class HibernateConfig extends RepositoryConfig
-{
- public static final String STORE_NAME = "Hibernate";
-
- public static final HibernateConfig INSTANCE = new HibernateConfig();
-
- public static final HibernateConfig AUDIT_INSTANCE = (HibernateConfig)new HibernateConfig().supportingAudits(true);
-
- public static final String MAPPING_FILE = "mappingfile";
-
- private static final long serialVersionUID = 1L;
-
- private Map<String, String> additionalProperties = new HashMap<String, String>();
-
- public HibernateConfig()
- {
- super(STORE_NAME);
- }
-
- @Override
- protected String getStoreName()
- {
- return STORE_NAME;
- }
-
- @Override
- protected void initRepositoryProperties(Map<String, String> props)
- {
- super.initRepositoryProperties(props);
-
- try
- {
- final Properties teneoProperties = new Properties();
- Map<String, String> additionalProperties = getAdditionalProperties();
- teneoProperties.load(getClass().getResourceAsStream("/app.properties"));
- teneoProperties.putAll(additionalProperties);
- for (Object key : teneoProperties.keySet())
- {
- props.put((String)key, teneoProperties.getProperty((String)key));
- }
- }
- catch (Exception e)
- {
- throw WrappedException.wrap(e);
- }
- }
-
- public IStore createStore(String repoName)
- {
- // note the provider properties are read from the store/repository level
- IHibernateMappingProvider mappingProvider = TeneoUtil.createMappingProvider();
- return CDOHibernateUtil.createStore(mappingProvider);
- }
-
- public Map<String, String> getAdditionalProperties()
- {
- return additionalProperties;
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateCrossReferenceTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateCrossReferenceTest.java
deleted file mode 100644
index f26743cb88..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateCrossReferenceTest.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore;
-import org.eclipse.emf.cdo.tests.CrossReferenceTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-
-/**
- * Tests with a separate annotations.xml.
- *
- * @author Martin Taal
- */
-public class HibernateCrossReferenceTest extends CrossReferenceTest
-{
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- final String persistenceXML = "org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml";
- hbConfig.getAdditionalProperties().put(HibernateStore.PERSISTENCE_XML, persistenceXML);
-
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalAnnotationTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalAnnotationTest.java
deleted file mode 100644
index 692460eae5..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalAnnotationTest.java
+++ /dev/null
@@ -1,173 +0,0 @@
-/*
- * Copyright (c) 2009, 2011-2013, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.model1.Company;
-import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
-import org.eclipse.emf.cdo.tests.model1.Supplier;
-import org.eclipse.emf.cdo.tests.model2.Model2Package;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.transaction.CDOXATransaction;
-import org.eclipse.emf.cdo.util.CDOUtil;
-import org.eclipse.emf.cdo.view.CDOViewSet;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.common.util.URI;
-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.XMIResourceFactoryImpl;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-
-/**
- * Tests with a separate annotations.xml.
- *
- * @author Martin Taal
- */
-public class HibernateExternalAnnotationTest extends AbstractCDOTest
-{
- private static final String REPOSITORY2_NAME = "repo2";
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- final String persistenceXML = "org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml";
- hbConfig.getAdditionalProperties().put(HibernateStore.PERSISTENCE_XML, persistenceXML);
-
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-
- // TODO: deadlocks
- public void _testOneXMIResourceManyViewsOnOneResourceSet() throws Exception
- {
- byte[] dataOfresD = null;
- getRepository(REPOSITORY2_NAME);
-
- {
- CDOSession sessionA = openSession();
- CDOSession sessionB = openSession(REPOSITORY2_NAME);
- ResourceSet resourceSet = new ResourceSetImpl();
- resourceSet.getResourceFactoryRegistry().getProtocolToFactoryMap().put("test", new XMIResourceFactoryImpl());
-
- sessionA.getPackageRegistry().putEPackage(getModel1Package());
- sessionA.getPackageRegistry().putEPackage(Model2Package.eINSTANCE);
- sessionB.getPackageRegistry().putEPackage(getModel1Package());
- sessionB.getPackageRegistry().putEPackage(Model2Package.eINSTANCE);
-
- CDOTransaction transactionA1 = sessionA.openTransaction(resourceSet);
- CDOTransaction transactionB1 = sessionB.openTransaction(resourceSet);
-
- CDOResource resA = transactionA1.createResource("/resA");
- CDOResource resB = transactionB1.createResource("/resB");
-
- EList<Resource> resources = resourceSet.getResources();
- assertEquals(2, resources.size());
-
- CDOResource resC = transactionA1.createResource("/resC");
- assertNotNull(resC);
- assertEquals(3, resources.size());
-
- Resource resD = resourceSet.createResource(URI.createURI("test://1"));
- assertEquals(4, resources.size());
- assertEquals(false, resD instanceof CDOResource);
-
- Company companyA = getModel1Factory().createCompany();
- companyA.setName("VALUEA");
-
- Company companyB = getModel1Factory().createCompany();
- companyB.setName("VALUEB");
-
- Company companyD = getModel1Factory().createCompany();
- companyD.setName("VALUED");
-
- resD.getContents().add(companyD);
- resA.getContents().add(companyA);
- resB.getContents().add(companyB);
-
- Supplier supplier = getModel1Factory().createSupplier();
- PurchaseOrder purchaseOrder = getModel1Factory().createPurchaseOrder();
-
- supplier.getPurchaseOrders().add(purchaseOrder);
- resD.getContents().add(supplier);
- resA.getContents().add(purchaseOrder);
-
- CDOXATransaction transSet = CDOUtil.createXATransaction();
-
- transSet.add(CDOUtil.getViewSet(resourceSet));
-
- // transSet.commit();
- transactionA1.commit();
-
- ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
- resD.save(outputStream, null);
- dataOfresD = outputStream.toByteArray();
- }
-
- clearCache(getRepository().getRevisionManager());
-
- {
- ResourceSet resourceSet = new ResourceSetImpl();
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction(resourceSet);
-
- CDOSession session2 = openSession(REPOSITORY2_NAME);
- CDOTransaction transaction2 = session2.openTransaction(resourceSet);
-
- CDOViewSet set = CDOUtil.getViewSet(resourceSet);
- assertNotNull(set);
-
- resourceSet.getPackageRegistry().put(getModel1Package().getNsURI(), getModel1Package());
- resourceSet.getResourceFactoryRegistry().getProtocolToFactoryMap().put("test", new XMIResourceFactoryImpl());
-
- Resource resD = resourceSet.createResource(URI.createURI("test://1"));
- resD.load(new ByteArrayInputStream(dataOfresD), null);
-
- CDOResource resA = transaction.getResource("/resA");
- CDOResource resB = transaction2.getResource("/resB");
- Company companyA = (Company)resA.getContents().get(0);
- Company companyB = (Company)resB.getContents().get(0);
- Company companyD = (Company)resD.getContents().get(0);
-
- assertNotSame(resA.getURI(), resB.getURI());
- assertNotSame(resA.getPath(), "/resA");
- assertNotSame(resB.getPath(), "/resB");
- assertNotSame(resA.cdoView(), transaction2);
- assertNotSame(resB.cdoView(), transaction);
-
- assertEquals("VALUEA", companyA.getName());
- assertEquals("VALUEB", companyB.getName());
- assertEquals("VALUED", companyD.getName());
-
- Supplier supplierD = (Supplier)resD.getContents().get(1);
- PurchaseOrder pO = supplierD.getPurchaseOrders().get(0);
- assertEquals(transaction, CDOUtil.getCDOObject(pO).cdoView());
- assertEquals(supplierD, pO.getSupplier());
- }
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalReferenceTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalReferenceTest.java
deleted file mode 100644
index 4b305b6c2f..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateExternalReferenceTest.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2009, 2011-2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore;
-import org.eclipse.emf.cdo.tests.ExternalReferenceTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-
-/**
- * Test {@link ExternalReferenceTest}, disables some testcases which will never work anyway.
- *
- * @author Martin Taal
- */
-public class HibernateExternalReferenceTest extends ExternalReferenceTest
-{
-
- @Override
- public void testXRefExternalObject() throws Exception
- {
- // xreffing an external object is not possible as the
- // external reference does not hold type information
- }
-
- @Override
- public void testManyViewsOnOneResourceSet() throws Exception
- {
- // this testcase does not work because it there are external temporary references between two
- // objects and the objects are stored at the same time. The temporary references are then
- // stored in the database (as external), when retrieving the objects the temporary references
- // can not be resolved to real ones.
- // one note in the second part of the test the supplier is read. The supplier is not read
- // from the database but is cached server side
- // super.testManyViewsOnOneResourceSet();
- }
-
- @Override
- public void testUsingObjectsBetweenSameTransaction() throws Exception
- {
- // note this testcase requires that no id's are mapped externally
- // this testcase does not work for hibernate because 2 objects reference eachother and
- // are added in different transactions, hibernate/mysql will throw a fk-constraint
- // exception. This is correct behavior.
- // super.testUsingObjectsBetweenSameTransaction();
- }
-
- @Override
- public void testOneXMIResourceManyViewsOnOneResourceSet()
- {
-
- }
-
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- final String persistenceXML = "org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml";
- hbConfig.getAdditionalProperties().put(HibernateStore.PERSISTENCE_XML, persistenceXML);
-
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateLazyLoadTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateLazyLoadTest.java
deleted file mode 100644
index 3288290710..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateLazyLoadTest.java
+++ /dev/null
@@ -1,212 +0,0 @@
-/*
- * Copyright (c) 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.server.hibernate.IHibernateStore;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.Customer;
-import org.eclipse.emf.cdo.tests.model1.Order;
-import org.eclipse.emf.cdo.tests.model1.OrderDetail;
-import org.eclipse.emf.cdo.tests.model1.Product1;
-import org.eclipse.emf.cdo.tests.model1.SalesOrder;
-import org.eclipse.emf.cdo.tests.model1.Supplier;
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CommitException;
-import org.eclipse.emf.cdo.view.CDOQuery;
-
-import org.eclipse.net4j.util.WrappedException;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Test lazy load behavior of hibernate
- *
- * @author Martin Taal
- */
-public class HibernateLazyLoadTest extends AbstractCDOTest
-{
- private static final int NUM_OF_PRODUCTS = 10;
-
- private static final int NUM_OF_CUSTOMERS = 2;
-
- private static final int NUM_OF_PRODUCTS_CUSTOMER = NUM_OF_PRODUCTS / NUM_OF_CUSTOMERS;
-
- private static final int NUM_OF_SALES_ORDERS = 5;
-
- private static final int NUM_OF_SUPPLIERS = 5;
-
- @Override
- public void doSetUp() throws Exception
- {
- org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- super.doSetUp();
- }
-
- @Override
- public void doTearDown() throws Exception
- {
- org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- super.doTearDown();
- }
-
- public void testSimpleQueries() throws Exception
- {
- msg("Opening session");
- CDOSession session = openSession();
-
- createTestSet(session);
-
- session.close();
- session = openSession();
- msg("Opening transaction for querying");
- CDOTransaction transaction = session.openTransaction();
-
- clearCache(getRepository().getRevisionManager());
-
- {
- msg("Query for products");
- CDOQuery cdoQuery = transaction.createQuery("hql", "from SalesOrder");
- addCacheParameter(cdoQuery);
- cdoQuery.setMaxResults(1);
- final List<SalesOrder> orders = cdoQuery.getResult(SalesOrder.class);
- System.err.println(orders.get(0).getOrderDetails().get(0).getPrice());
- System.err.println(orders.get(0).getCustomer().getName());
- assertEquals(orders.size(), 1);
- }
-
- transaction.commit();
- enableConsole();
- }
-
- private void createTestSet(CDOSession session)
- {
- disableConsole();
- msg("Opening transaction");
- CDOTransaction transaction = session.openTransaction();
-
- msg("Creating resource");
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- fillResource(resource);
-
- try
- {
- msg("Committing");
- transaction.commit();
- }
- catch (CommitException ex)
- {
- throw WrappedException.wrap(ex);
- }
-
- enableConsole();
- }
-
- private void fillResource(CDOResource resource)
- {
- msg("Creating Testset");
- final List<Product1> products = new ArrayList<Product1>();
- for (int i = 0; i < NUM_OF_PRODUCTS; i++)
- {
- products.add(createProduct(i));
- }
-
- resource.getContents().addAll(products);
-
- int productCounter = 0;
- for (int i = 0; i < NUM_OF_CUSTOMERS; i++)
- {
- final Customer customer = getModel1Factory().createCustomer();
- customer.setCity("City " + i);
- customer.setName(i + "");
- customer.setStreet("Street " + i);
- resource.getContents().add(customer);
-
- final List<Product1> customerProducts = products.subList(productCounter, productCounter + NUM_OF_PRODUCTS_CUSTOMER);
- for (int k = 0; k < NUM_OF_SALES_ORDERS; k++)
- {
- resource.getContents().add(createSalesOrder(i * 10 + k, customer, customerProducts));
- }
-
- productCounter += NUM_OF_PRODUCTS_CUSTOMER;
- }
-
- final List<Supplier> suppliers = new ArrayList<Supplier>();
- for (int i = 0; i < NUM_OF_SUPPLIERS; i++)
- {
- suppliers.add(createSupplier(i));
- }
-
- resource.getContents().addAll(suppliers);
- }
-
- private Supplier createSupplier(int i)
- {
- Supplier supplier = getModel1Factory().createSupplier();
- supplier.setCity("City " + i);
- supplier.setName(i + "");
- supplier.setStreet("Street " + i);
- // supplier.setPreferred(false); // will be persisted with its default value
- return supplier;
- }
-
- private SalesOrder createSalesOrder(int num, Customer customer, List<Product1> products)
- {
- SalesOrder salesOrder = getModel1Factory().createSalesOrder();
- salesOrder.setCustomer(customer);
- salesOrder.setId(num);
- createOrderDetail(salesOrder, num, products);
- return salesOrder;
- }
-
- private List<OrderDetail> createOrderDetail(Order order, int index, List<Product1> products)
- {
- final List<OrderDetail> orderDetails = new ArrayList<OrderDetail>();
- int count = 0;
- for (Product1 product : products)
- {
- OrderDetail orderDetail = getModel1Factory().createOrderDetail();
- orderDetail.setOrder(order);
- orderDetail.setPrice(count++ * index * 1.1f);
- orderDetail.setProduct(product);
- }
-
- return orderDetails;
- }
-
- private Product1 createProduct(int index)
- {
- Product1 product = getModel1Factory().createProduct1();
- product.setDescription("Description " + index);
- product.setName("" + index);
- if (index < 10)
- {
- product.setVat(VAT.VAT15);
- }
- else
- {
- product.setVat(VAT.VAT7);
- }
-
- return product;
- }
-
- protected void addCacheParameter(CDOQuery query)
- {
- query.setParameter(IHibernateStore.CACHE_RESULTS, true);
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateMultiValuedOfAttributeTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateMultiValuedOfAttributeTest.java
deleted file mode 100644
index 4b0022b751..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateMultiValuedOfAttributeTest.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2009, 2011, 2012, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.tests.MultiValuedOfAttributeTest;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Test different aspects of HQL querying using the CDO query api.
- *
- * @author Martin Taal
- */
-public class HibernateMultiValuedOfAttributeTest extends MultiValuedOfAttributeTest
-{
- @Override
- // overridden because there is a null value in the List created by the supermethod
- public void testListOfInteger() throws Exception
- {
- List<Integer> list = new ArrayList<Integer>();
- list.add(10);
- list.add(13);
- list.add(20);
- testMultiValuedIOfAttribute(list, getModel5Package().getGenListOfInteger(), getModel5Package().getGenListOfInteger_Elements());
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryNoCachingTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryNoCachingTest.java
deleted file mode 100644
index 303ef9b3ef..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryNoCachingTest.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (c) 2010-2012, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.hibernate.IHibernateStore;
-import org.eclipse.emf.cdo.view.CDOQuery;
-
-/**
- * Test HQL queries with server side caching of query list to off.
- *
- * @author Martin Taal
- */
-public class HibernateQueryNoCachingTest extends HibernateQueryTest
-{
- @Override
- protected void addCacheParameter(CDOQuery query)
- {
- query.setParameter(IHibernateStore.CACHE_RESULTS, false);
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryTest.java
deleted file mode 100644
index 61fac60f6b..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateQueryTest.java
+++ /dev/null
@@ -1,528 +0,0 @@
-/*
- * Copyright (c) 2009-2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.CDOObject;
-import org.eclipse.emf.cdo.common.id.CDOID;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.server.hibernate.IHibernateStore;
-import org.eclipse.emf.cdo.server.internal.hibernate.HibernateUtil;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.Customer;
-import org.eclipse.emf.cdo.tests.model1.Order;
-import org.eclipse.emf.cdo.tests.model1.OrderDetail;
-import org.eclipse.emf.cdo.tests.model1.Product1;
-import org.eclipse.emf.cdo.tests.model1.SalesOrder;
-import org.eclipse.emf.cdo.tests.model1.Supplier;
-import org.eclipse.emf.cdo.tests.model1.VAT;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CDOUtil;
-import org.eclipse.emf.cdo.util.CommitException;
-import org.eclipse.emf.cdo.view.CDOQuery;
-
-import org.eclipse.net4j.util.WrappedException;
-import org.eclipse.net4j.util.collection.CloseableIterator;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * Test different aspects of HQL querying using the CDO query api.
- *
- * @author Martin Taal
- */
-public class HibernateQueryTest extends AbstractCDOTest
-{
- private static final int NUM_OF_PRODUCTS = 20;
-
- private static final int NUM_OF_CUSTOMERS = 5;
-
- private static final int NUM_OF_PRODUCTS_CUSTOMER = NUM_OF_PRODUCTS / NUM_OF_CUSTOMERS;
-
- private static final int NUM_OF_SALES_ORDERS = 5;
-
- private static final int NUM_OF_SUPPLIERS = 5;
-
- @Override
- public void doSetUp() throws Exception
- {
- org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(1);
- super.doSetUp();
- }
-
- @Override
- public void doTearDown() throws Exception
- {
- org.eclipse.emf.cdo.tests.model1.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- org.eclipse.emf.cdo.tests.model1.legacy.Model1Package.eINSTANCE.getSupplier_Preferred().setLowerBound(0);
- super.doTearDown();
- }
-
- public void testSimpleQueries() throws Exception
- {
- msg("Opening session");
- CDOSession session = openSession();
-
- createTestSet(session);
-
- session.close();
- session = openSession();
- msg("Opening transaction for querying");
- CDOTransaction transaction = session.openTransaction();
-
- clearCache(getRepository().getRevisionManager());
-
- {
- msg("Query for products");
- CDOQuery cdoQuery = transaction.createQuery("hql", "from Product1");
- addCacheParameter(cdoQuery);
- final List<Product1> products = cdoQuery.getResult(Product1.class);
- assertEquals(true, products.get(0).getOrderDetails().size() > 0);
- assertEquals(true, products.get(0).getOrderDetails().get(0).getOrder() != null);
- assertEquals(NUM_OF_PRODUCTS, products.size());
- }
-
- {
- msg("Query for products with a specific name");
- CDOQuery cdoQuery = transaction.createQuery("hql", "from Product1 where name=:name");
- cdoQuery.setParameter("name", "" + 1);
- addCacheParameter(cdoQuery);
- final List<Product1> products = cdoQuery.getResult(Product1.class);
- assertEquals(1, products.size());
- }
-
- clearCache(getRepository().getRevisionManager());
-
- {
- msg("Query for Customers");
- CDOQuery cdoQuery = transaction.createQuery("hql", "from Customer");
- addCacheParameter(cdoQuery);
- final List<Customer> customers = cdoQuery.getResult(Customer.class);
- assertEquals(true, customers.get(0).getSalesOrders().size() > 0);
-
- assertEquals(NUM_OF_CUSTOMERS, customers.size());
- }
-
- {
- msg("Query for products with VAT15");
- CDOQuery cdoQuery = transaction.createQuery("hql", "from Product1 where vat=:vat");
- addCacheParameter(cdoQuery);
- cdoQuery.setParameter("vat", VAT.VAT15);
- final List<Product1> products = cdoQuery.getResult(Product1.class);
- assertEquals(10, products.size());
- for (Product1 p : products)
- {
- assertEquals(p.getVat(), VAT.VAT15);
- }
- }
-
- transaction.commit();
- enableConsole();
- }
-
- public void testFunctions() throws Exception
- {
- msg("Opening session");
- CDOSession session = openSession();
-
- createTestSet(session);
-
- msg("Opening transaction for querying");
- CDOTransaction transaction = session.openTransaction();
-
- {
- msg("Count products");
- CDOQuery cdoQuery = transaction.createQuery("hql", "select count(*) from Product1");
- addCacheParameter(cdoQuery);
- final List<Long> counts = cdoQuery.getResult(Long.class);
- assertEquals(counts.size(), 1);
- assertEquals(counts.get(0), new Long(NUM_OF_PRODUCTS));
- }
-
- {
- msg("Orders with sum of order details");
- // result with arrays are tested below
- // CDOQuery cdoQuery = transaction.createQuery("hql",
- // "select so.id, sum(od.price) from SalesOrder so, OrderDetail od where od.order=so group by so.id");
- CDOQuery cdoQuery = transaction.createQuery("hql", "select sum(od.price) from SalesOrder so, OrderDetail od where od.order=so group by so.id");
- addCacheParameter(cdoQuery);
- final List<Double> results = cdoQuery.getResult(Double.class);
- assertEquals(NUM_OF_SALES_ORDERS * NUM_OF_CUSTOMERS, results.size());
- }
-
- transaction.commit();
- enableConsole();
- }
-
- public void testComplexQuerySalesOrderJoinCustomerProduct() throws Exception
- {
- msg("Opening session");
- CDOSession session = openSession();
-
- createTestSet(session);
-
- msg("Opening transaction for querying");
- CDOTransaction transaction = session.openTransaction();
-
- {
- msg("Query for customers");
- CDOQuery customerQuery = transaction.createQuery("hql", "from Customer order by name");
- addCacheParameter(customerQuery);
- final List<Customer> customers = customerQuery.getResult(Customer.class);
- assertEquals(NUM_OF_CUSTOMERS, customers.size());
-
- msg("Query for products");
- CDOQuery productQuery = transaction.createQuery("hql", "from Product1");
- addCacheParameter(productQuery);
- final List<Product1> products = productQuery.getResult(Product1.class);
- assertEquals(NUM_OF_PRODUCTS, products.size());
-
- msg("Query for all orders of a certain customer and with a certain product");
- int i = 0;
- for (Customer customer : customers)
- {
- final int customerIndex = Integer.parseInt(customer.getName());
- // check order by
- assertEquals(i++, customerIndex);
-
- final int productCounter = customerIndex * NUM_OF_PRODUCTS_CUSTOMER;
- for (Product1 product : products)
- {
- final int productIndex = Integer.parseInt(product.getName());
- // note the id is always used as the parameter
- // bug 282620
- final CDOQuery orderQuery = transaction.createQuery("hql",
- "select so from SalesOrder so, OrderDetail od where so.customer=:customer and od in elements(so.orderDetails) and od.product=:product");
- orderQuery.setParameter("customer", customer);
- orderQuery.setParameter("product", product);
- addCacheParameter(orderQuery);
-
- final boolean hasOrders = productCounter <= productIndex && productIndex < productCounter + NUM_OF_PRODUCTS_CUSTOMER;
- if (hasOrders)
- {
- final List<SalesOrder> sos = orderQuery.getResult(SalesOrder.class);
- assertEquals(NUM_OF_SALES_ORDERS, sos.size());
- for (SalesOrder so : sos)
- {
- assertEquals(customer, so.getCustomer());
- boolean found = false;
- for (OrderDetail od : so.getOrderDetails())
- {
- found |= od.getProduct() == product;
- }
-
- assertEquals(true, found);
- }
- }
- else
- {
- assertEquals(0, orderQuery.getResult(SalesOrder.class).size());
- }
- }
- }
- }
-
- transaction.commit();
- enableConsole();
- }
-
- public void testElementsClause() throws Exception
- {
- // tests
- // bug 282620
-
- msg("Opening session");
- CDOSession session = openSession();
-
- createTestSet(session);
-
- msg("Opening transaction for querying");
- CDOTransaction transaction = session.openTransaction();
-
- {
- msg("Query for customers");
- CDOQuery odQuery = transaction.createQuery("hql", "from OrderDetail");
- addCacheParameter(odQuery);
- final List<OrderDetail> orderDetails = odQuery.getResult(OrderDetail.class);
- for (OrderDetail orderDetail : orderDetails)
- {
- final CDOQuery orderQuery = transaction.createQuery("hql", "select so from SalesOrder so where :od in elements(so.orderDetails)");
- orderQuery.setParameter("od", orderDetail);
- final List<SalesOrder> sos = orderQuery.getResult(SalesOrder.class);
- assertEquals(1, sos.size());
- assertNotNull(sos.get(0).getCustomer().getName());
- assertEquals(orderDetail.getOrder(), sos.get(0));
- }
- }
-
- transaction.commit();
- enableConsole();
- }
-
- // Tests id handling
- // See: bug 283106
- public void testQueryWithID() throws Exception
- {
- msg("Opening session");
- CDOSession session = openSession();
-
- createTestSet(session);
-
- msg("Opening transaction for querying");
- CDOTransaction transaction = session.openTransaction();
-
- {
- msg("Query for customers");
- CDOQuery odQuery = transaction.createQuery("hql", "from Customer");
- addCacheParameter(odQuery);
- final List<Customer> customers = odQuery.getResult(Customer.class);
- for (Customer customer : customers)
- {
- final CDOQuery orderQuery = transaction.createQuery("hql", "select so from SalesOrder so where so.customer.id=:customerId");
- final CDOObject cdoObject = CDOUtil.getCDOObject(customer);
- final CDOID id = cdoObject.cdoID();
- orderQuery.setParameter("customerId", HibernateUtil.getInstance().getIdValue(id));
- final List<SalesOrder> sos = orderQuery.getResult(SalesOrder.class);
- assertEquals(NUM_OF_SALES_ORDERS, sos.size());
- for (SalesOrder so : sos)
- {
- assertEquals(customer, so.getCustomer());
- }
- }
- }
-
- transaction.commit();
- enableConsole();
- }
-
- public void testQueryObjectArray() throws Exception
- {
- msg("Opening session");
- CDOSession session = openSession();
-
- createTestSet(session);
-
- msg("Opening transaction for querying");
- CDOTransaction transaction = session.openTransaction();
-
- {
- msg("Query for order details");
- CDOQuery query = transaction.createQuery("hql", "select od, od.order, od.product.vat, od.price from OrderDetail as od where od.product.vat=:vat");
- query.setParameter("vat", VAT.VAT15);
- addCacheParameter(query);
- for (Object[] values : query.getResult(Object[].class))
- {
- assertInstanceOf(OrderDetail.class, values[0]);
- assertInstanceOf(SalesOrder.class, values[1]);
- assertInstanceOf(VAT.class, values[2]);
- assertEquals(VAT.VAT15, values[2]);
- assertInstanceOf(Float.class, values[3]);
- final SalesOrder order = (SalesOrder)values[1];
- assertEquals(true, order.getOrderDetails().contains(values[0]));
- }
- }
-
- transaction.commit();
- enableConsole();
- }
-
- public void testPaging() throws Exception
- {
- msg("Opening session");
- CDOSession session = openSession();
-
- createTestSet(session);
-
- msg("Opening transaction for querying");
- CDOTransaction transaction = session.openTransaction();
-
- {
- msg("Query for products in pages");
- int pageSize = 5;
- int numOfPages = NUM_OF_PRODUCTS / pageSize;
- final List<Product1> allProducts = new ArrayList<Product1>();
- for (int page = 0; page < numOfPages; page++)
- {
- CDOQuery productQuery = transaction.createQuery("hql", "from Product1");
- productQuery.setMaxResults(pageSize);
- productQuery.setParameter(IHibernateStore.FIRST_RESULT, page * pageSize);
- addCacheParameter(productQuery);
- final List<Product1> queriedProducts = productQuery.getResult(Product1.class);
- assertEquals(true, queriedProducts.size() <= pageSize);
- // a product should not have been read yet
- for (Product1 newProduct : queriedProducts)
- {
- assertEquals(true, !allProducts.contains(newProduct));
- }
-
- allProducts.addAll(queriedProducts);
- }
-
- assertEquals(NUM_OF_PRODUCTS, allProducts.size());
- }
-
- transaction.commit();
- enableConsole();
- }
-
- public void testIterator() throws Exception
- {
- msg("Opening session");
- CDOSession session = openSession();
-
- createTestSet(session);
-
- msg("Opening transaction for querying");
- CDOTransaction transaction = session.openTransaction();
-
- {
- msg("Query for products");
- CDOQuery productQuery = transaction.createQuery("hql", "from Product1");
- addCacheParameter(productQuery);
- final CloseableIterator<Product1> iterator = productQuery.getResultAsync(Product1.class);
- int counter = 0;
- while (iterator.hasNext())
- {
- final Product1 product = iterator.next();
- // meaningless but do something
- assertEquals(true, product != null);
- counter++;
- if (counter == NUM_OF_PRODUCTS / 2)
- {
- iterator.close();
- }
- }
- }
-
- transaction.commit();
- enableConsole();
- }
-
- private void createTestSet(CDOSession session)
- {
- disableConsole();
- msg("Opening transaction");
- CDOTransaction transaction = session.openTransaction();
-
- msg("Creating resource");
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
-
- fillResource(resource);
-
- try
- {
- msg("Committing");
- transaction.commit();
- }
- catch (CommitException ex)
- {
- throw WrappedException.wrap(ex);
- }
-
- enableConsole();
- }
-
- private void fillResource(CDOResource resource)
- {
- msg("Creating Testset");
- final List<Product1> products = new ArrayList<Product1>();
- for (int i = 0; i < NUM_OF_PRODUCTS; i++)
- {
- products.add(createProduct(i));
- }
-
- resource.getContents().addAll(products);
-
- int productCounter = 0;
- for (int i = 0; i < NUM_OF_CUSTOMERS; i++)
- {
- final Customer customer = getModel1Factory().createCustomer();
- customer.setCity("City " + i);
- customer.setName(i + "");
- customer.setStreet("Street " + i);
- resource.getContents().add(customer);
-
- final List<Product1> customerProducts = products.subList(productCounter, productCounter + NUM_OF_PRODUCTS_CUSTOMER);
- for (int k = 0; k < NUM_OF_SALES_ORDERS; k++)
- {
- resource.getContents().add(createSalesOrder(i * 10 + k, customer, customerProducts));
- }
-
- productCounter += NUM_OF_PRODUCTS_CUSTOMER;
- }
-
- final List<Supplier> suppliers = new ArrayList<Supplier>();
- for (int i = 0; i < NUM_OF_SUPPLIERS; i++)
- {
- suppliers.add(createSupplier(i));
- }
-
- resource.getContents().addAll(suppliers);
- }
-
- private Supplier createSupplier(int i)
- {
- Supplier supplier = getModel1Factory().createSupplier();
- supplier.setCity("City " + i);
- supplier.setName(i + "");
- supplier.setStreet("Street " + i);
- // supplier.setPreferred(false); // will be persisted with its default value
- return supplier;
- }
-
- private SalesOrder createSalesOrder(int num, Customer customer, List<Product1> products)
- {
- SalesOrder salesOrder = getModel1Factory().createSalesOrder();
- salesOrder.setCustomer(customer);
- salesOrder.setId(num);
- createOrderDetail(salesOrder, num, products);
- return salesOrder;
- }
-
- private List<OrderDetail> createOrderDetail(Order order, int index, List<Product1> products)
- {
- final List<OrderDetail> orderDetails = new ArrayList<OrderDetail>();
- int count = 0;
- for (Product1 product : products)
- {
- OrderDetail orderDetail = getModel1Factory().createOrderDetail();
- orderDetail.setOrder(order);
- orderDetail.setPrice(count++ * index * 1.1f);
- orderDetail.setProduct(product);
- }
-
- return orderDetails;
- }
-
- private Product1 createProduct(int index)
- {
- Product1 product = getModel1Factory().createProduct1();
- product.setDescription("Description " + index);
- product.setName("" + index);
- if (index < 10)
- {
- product.setVat(VAT.VAT15);
- }
- else
- {
- product.setVat(VAT.VAT7);
- }
-
- return product;
- }
-
- protected void addCacheParameter(CDOQuery query)
- {
- query.setParameter(IHibernateStore.CACHE_RESULTS, true);
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTimeStampTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTimeStampTest.java
deleted file mode 100644
index f845aa2b95..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTimeStampTest.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2011, 2012, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.CDOObject;
-import org.eclipse.emf.cdo.common.id.CDOID;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.Product1;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-/**
- * Simple test to check that the timestamp is indeed stored. https://bugs.eclipse.org/bugs/show_bug.cgi?id=361792
- *
- * @author Martin Taal
- */
-public class HibernateTimeStampTest extends AbstractCDOTest
-{
-
- public void testTimeStamp() throws Exception
- {
- msg("Opening session");
- CDOSession session = openSession();
-
- CDOID cdoId = null;
- {
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/test1"));
- Product1 product = getModel1Factory().createProduct1();
- product.setDescription("Description");
- product.setName("name");
- resource.getContents().add(product);
- transaction.commit();
- cdoId = ((CDOObject)product).cdoID();
- }
- session.close();
-
- Thread.sleep(500);
-
- final long checkTimeStamp = System.currentTimeMillis();
-
- session = openSession();
-
- CDOTransaction transaction = session.openTransaction();
- final CDOObject cdoObject = transaction.getObject(cdoId);
- final long timeStamp = cdoObject.cdoRevision().getTimeStamp();
- if (checkTimeStamp < timeStamp)
- {
- fail("Timestamp not stored");
- }
- transaction.commit();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateXATransactionTest.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateXATransactionTest.java
deleted file mode 100644
index 707112c309..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/HibernateXATransactionTest.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2009, 2011-2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.server.internal.hibernate.HibernateStore;
-import org.eclipse.emf.cdo.tests.XATransactionTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-
-/**
- * Override {@link XATransactionTest} to do mapping of external references.
- *
- * @author Martin Taal
- */
-public class HibernateXATransactionTest extends XATransactionTest
-{
- @Override
- protected void doSetUp() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- final String persistenceXML = "org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml";
- hbConfig.getAdditionalProperties().put(HibernateStore.PERSISTENCE_XML, persistenceXML);
-
- super.doSetUp();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- final IRepositoryConfig repConfig = getRepositoryConfig();
- final HibernateConfig hbConfig = (HibernateConfig)repConfig;
- hbConfig.getAdditionalProperties().clear();
- super.doTearDown();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Export_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Export_Test.java
deleted file mode 100644
index 2427007906..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Export_Test.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.server.CDOServerExporter;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.spi.server.InternalRepository;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.model1.Customer;
-import org.eclipse.emf.cdo.tests.model1.legacy.Model1Factory;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-
-import java.io.ByteArrayOutputStream;
-
-/**
- * @author Martin Taal
- */
-public class Hibernate_Export_Test extends AbstractCDOTest
-{
- public void testExport() throws Exception
- {
-
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/res1"));
- Customer customer = Model1Factory.eINSTANCE.createCustomer();
- customer.setName("1");
- customer.setCity("1");
- customer.setStreet("1");
- resource.getContents().add(customer);
- assertNotNull(resource);
- transaction.commit();
- session.close();
- }
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
- Customer customer = (Customer)resource.getContents().get(0);
- customer.setStreet("2");
- transaction.createResource(getResourcePath("/res2"));
- transaction.commit();
- session.close();
- }
-
- InternalRepository repo1 = getRepository();
-
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- CDOServerExporter.XML exporter = new CDOServerExporter.XML(repo1);
- exporter.exportRepository(baos);
- final String result = baos.toString();
- System.out.println(result);
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Failure_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Failure_Test.java
deleted file mode 100644
index 41c04a6a0c..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Failure_Test.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.server.CDOServerExporter;
-import org.eclipse.emf.cdo.server.CDOServerImporter;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.spi.server.InternalRepository;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CommitException;
-
-import org.eclipse.emf.common.util.TreeIterator;
-import org.eclipse.emf.ecore.EObject;
-
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
-
-/**
- * @author Martin Taal
- */
-public class Hibernate_Failure_Test extends AbstractCDOTest
-{
- @Override
- protected void doSetUp() throws Exception
- {
- disableConsole();
- super.doSetUp();
- skipStoreWithoutRawAccess();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- disableConsole();
- super.doTearDown();
- }
-
- public void testImport() throws Exception
- {
- CDOSession session = openSession();
- CDOTransaction transaction = session.openTransaction();
- // CDOResource resource = transaction.createResource(getResourcePath("/res1"));
- transaction.commit();
- // Customer eike = createCustomer("Eike");
- // resource.getContents().add(eike);
- // SalesOrder salesOrder = createSalesOrder(eike);
- // salesOrder.getOrderDetails().add(getModel1Factory().createOrderDetail());
- // resource.getContents().add(salesOrder);
- // transaction.commit();
- session.close();
-
- InternalRepository repo1 = getRepository();
-
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- CDOServerExporter.XML exporter = new CDOServerExporter.XML(repo1);
- exporter.exportRepository(baos);
- System.out.println(baos.toString());
-
- InternalRepository repo2 = getRepository("repo2", false);
-
- ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
- CDOServerImporter.XML importer = new CDOServerImporter.XML(repo2);
- importer.importRepository(bais);
-
- useAfterImport("repo2");
- }
-
- private void useAfterImport(String repoName) throws CommitException
- {
- CDOSession session2 = openSession(repoName);
- CDOTransaction transaction2 = session2.openTransaction();
-
- // Read all repo contents
- TreeIterator<EObject> iter = transaction2.getRootResource().getAllContents();
- while (iter.hasNext())
- {
- iter.next();
- }
-
- // Add content from a new package
- CDOResource resource = transaction2.createResource(getResourcePath("/r1"));
- resource.getContents().add(getModel3Factory().createPolygon());
- transaction2.commit();
-
- session2.close();
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Missing_Version_Test.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Missing_Version_Test.java
deleted file mode 100644
index a69ec3af95..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/Hibernate_Missing_Version_Test.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate;
-
-import org.eclipse.emf.cdo.CDOObject;
-import org.eclipse.emf.cdo.CDOObjectHistory;
-import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.session.CDOSession;
-import org.eclipse.emf.cdo.spi.server.InternalRepository;
-import org.eclipse.emf.cdo.tests.AbstractCDOTest;
-import org.eclipse.emf.cdo.tests.config.IRepositoryConfig;
-import org.eclipse.emf.cdo.tests.config.impl.ConfigTest.Requires;
-import org.eclipse.emf.cdo.tests.model1.Customer;
-import org.eclipse.emf.cdo.transaction.CDOTransaction;
-import org.eclipse.emf.cdo.util.CDOUtil;
-import org.eclipse.emf.cdo.view.CDOView;
-
-import org.eclipse.net4j.util.concurrent.ConcurrencyUtil;
-
-/**
- * @author Martin Taal
- */
-@Requires(IRepositoryConfig.CAPABILITY_AUDITING)
-public class Hibernate_Missing_Version_Test extends AbstractCDOTest
-{
- @Override
- protected void doSetUp() throws Exception
- {
- disableConsole();
- super.doSetUp();
- skipStoreWithoutRawAccess();
- }
-
- @Override
- protected void doTearDown() throws Exception
- {
- disableConsole();
- super.doTearDown();
- }
-
- public void testVersionChange() throws Exception
- {
- CDOSession session = openSession();
- Customer lastCustomer = null;
- {
- CDOTransaction transaction = session.openTransaction();
- CDOResource resource = transaction.createResource(getResourcePath("/res1"));
- Customer customer = getModel1Factory().createCustomer();
- customer.setName("Martin");
- resource.getContents().add(customer);
- transaction.commit();
- lastCustomer = customer;
- }
- {
- CDOTransaction transaction = session.openTransaction();
- Customer customer = transaction.getObject(lastCustomer);// (Customer)resource.getContents().get(0);
- customer.setName("Eike");
- assertEquals(1, CDOUtil.getCDOObject(customer).cdoRevision().getVersion());
- transaction.commit();
- assertEquals(2, CDOUtil.getCDOObject(customer).cdoRevision().getVersion());
- lastCustomer = customer;
- }
- {
- CDOTransaction transaction = session.openTransaction();
- Customer customer = lastCustomer; // transaction.getObject(lastCustomer);//
- // (Customer)resource.getContents().get(0);
- customer.setName("Peter");
- assertEquals(2, CDOUtil.getCDOObject(customer).cdoRevision().getVersion());
- transaction.commit();
- // assertEquals(3, CDOUtil.getCDOObject(customer).cdoRevision().getVersion());
- lastCustomer = customer;
- }
- getRepository().getRevisionManager().getCache().clear();
-
- // now go to another repo
- InternalRepository repo2 = getRepository("repo2", true);
- repo2.getRevisionManager().getCache().clear();
- {
- CDOSession session2 = openSession("repo2");
- CDOTransaction transaction = session2.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
- Customer customer = (Customer)resource.getContents().get(0);
- customer.setName("John");
- assertEquals(3, CDOUtil.getCDOObject(customer).cdoRevision().getVersion());
- transaction.commit();
- assertEquals(4, CDOUtil.getCDOObject(customer).cdoRevision().getVersion());
- session2.close();
- }
- {
- CDOSession session2 = openSession("repo2");
- CDOTransaction transaction = session2.openTransaction();
- CDOResource resource = transaction.getResource(getResourcePath("/res1"));
- Customer customer = (Customer)resource.getContents().get(0);
- customer.setName("Mike");
- assertEquals(4, CDOUtil.getCDOObject(customer).cdoRevision().getVersion());
- transaction.commit();
- assertEquals(5, CDOUtil.getCDOObject(customer).cdoRevision().getVersion());
- session2.close();
- }
- {
- CDOSession session2 = openSession("repo2");
- CDOView view = session2.openView();
- CDOResource resource = view.getResource(getResourcePath("/res1"));
- Customer customer = (Customer)resource.getContents().get(0);
-
- assertNotNull(CDOUtil.getRevisionByVersion(CDOUtil.getCDOObject(customer), 4));
- assertNotNull(CDOUtil.getRevisionByVersion(CDOUtil.getCDOObject(customer), 3));
- assertNotNull(CDOUtil.getRevisionByVersion(CDOUtil.getCDOObject(customer), 2));
- assertNotNull(CDOUtil.getRevisionByVersion(CDOUtil.getCDOObject(customer), 1));
-
- CDOObjectHistory history = getCDOObjectHistory(view, customer);
- assertEquals(5, history.getElements().length);
- // for (CDOCommitInfo cdoCommitInfo : history.getElements())
- // {
- //
- // }
- view.close();
- session2.close();
- }
- }
-
- private synchronized CDOObjectHistory getCDOObjectHistory(CDOView audit, Object object)
- {
- CDOObjectHistory cdoObjectHistory = audit.getHistory((CDOObject)object);
- cdoObjectHistory.triggerLoad();
- long startTime = System.currentTimeMillis();
- while (cdoObjectHistory.isLoading())
- {
- ConcurrencyUtil.sleep(10);
-
- // waited too long
- if (System.currentTimeMillis() - startTime > 5000)
- {
- throw new IllegalStateException("commit info could not be loaded");
- }
- }
- return cdoObjectHistory;
- }
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml
deleted file mode 100644
index d180ab06d2..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/cdo_hibernate.persistence.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<persistence-mapping xmlns="http://www.eclipse.org/emft/teneo"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-
- <epackage namespace-uri="http://www.eclipse.org/emf/CDO/tests/model6/1.0.0">
-
- <eclass name="UnsettableAttributes">
- <property name="attrJavaClass">
- <type type="string"/>
- </property>
- </eclass>
-
- <eclass name="RefSingleNonContainedNPL">
- <property name="element">
- <external>org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDExternalUserType</external>
- </property>
- </eclass>
- </epackage>
-
- <epackage namespace-uri="http://www.eclipse.org/emf/CDO/tests/model4/1.0.0">
-
- <eclass name="GenRefSingleNonContained">
- <property name="element">
- <external>org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDExternalUserType</external>
- </property>
- </eclass>
-
- <eclass name="RefSingleNonContainedNPL">
- <property name="element">
- <external>org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDExternalUserType</external>
- </property>
- </eclass>
- </epackage>
-
- <epackage namespace-uri="http://www.eclipse.org/emf/CDO/tests/model1/1.0.0">
-
- <eclass name="Company">
- <property name="customers">
- <external>org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDExternalUserType</external>
- </property>
- </eclass>
- <eclass name="SalesOrder">
- <property name="customer">
- <external>org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDExternalUserType</external>
- </property>
- </eclass>
- <eclass name="PurchaseOrder">
- <property name="supplier">
- <external>org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDExternalUserType</external>
- </property>
- </eclass>
- <eclass name="Supplier">
- <property name="purchaseOrders">
- <external>org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOIDExternalUserType</external>
- </property>
- </eclass>
- </epackage>
-
-</persistence-mapping> \ No newline at end of file
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Main.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Main.java
deleted file mode 100644
index 7beebf5cfc..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Main.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz356181 Main</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransient <em>Transient</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getNonTransient <em>Non Transient</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientRef <em>Transient Ref</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientOtherRef <em>Transient Other Ref</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Main()
- * @model
- * @generated
- */
-public interface Bz356181_Main extends EObject
-{
- /**
- * Returns the value of the '<em><b>Transient</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Transient</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Transient</em>' attribute.
- * @see #setTransient(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Main_Transient()
- * @model annotation="teneo.jpa value='@Transient'"
- * @generated
- */
- String getTransient();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransient <em>Transient</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Transient</em>' attribute.
- * @see #getTransient()
- * @generated
- */
- void setTransient(String value);
-
- /**
- * Returns the value of the '<em><b>Non Transient</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Non Transient</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Non Transient</em>' attribute.
- * @see #setNonTransient(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Main_NonTransient()
- * @model
- * @generated
- */
- String getNonTransient();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getNonTransient <em>Non Transient</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Non Transient</em>' attribute.
- * @see #getNonTransient()
- * @generated
- */
- void setNonTransient(String value);
-
- /**
- * Returns the value of the '<em><b>Transient Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Transient Ref</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Transient Ref</em>' reference.
- * @see #setTransientRef(Bz356181_Transient)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Main_TransientRef()
- * @model transient="true"
- * @generated
- */
- Bz356181_Transient getTransientRef();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientRef <em>Transient Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Transient Ref</em>' reference.
- * @see #getTransientRef()
- * @generated
- */
- void setTransientRef(Bz356181_Transient value);
-
- /**
- * Returns the value of the '<em><b>Transient Other Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Transient Other Ref</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Transient Other Ref</em>' reference.
- * @see #setTransientOtherRef(Bz356181_NonTransient)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Main_TransientOtherRef()
- * @model transient="true"
- * @generated
- */
- Bz356181_NonTransient getTransientOtherRef();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientOtherRef <em>Transient Other Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Transient Other Ref</em>' reference.
- * @see #getTransientOtherRef()
- * @generated
- */
- void setTransientOtherRef(Bz356181_NonTransient value);
-
-} // Bz356181_Main
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_NonTransient.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_NonTransient.java
deleted file mode 100644
index 9f84bcfeb4..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_NonTransient.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz356181 Non Transient</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient#getMain <em>Main</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_NonTransient()
- * @model
- * @generated
- */
-public interface Bz356181_NonTransient extends EObject
-{
- /**
- * Returns the value of the '<em><b>Main</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Main</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Main</em>' reference.
- * @see #setMain(Bz356181_Main)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_NonTransient_Main()
- * @model
- * @generated
- */
- Bz356181_Main getMain();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient#getMain <em>Main</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Main</em>' reference.
- * @see #getMain()
- * @generated
- */
- void setMain(Bz356181_Main value);
-
-} // Bz356181_NonTransient
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Transient.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Transient.java
deleted file mode 100644
index 32a00d1f02..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz356181_Transient.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz356181 Transient</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz356181_Transient()
- * @model annotation="teneo.jpa value='@Transient'"
- * @generated
- */
-public interface Bz356181_Transient extends EObject
-{
-
-} // Bz356181_Transient
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Group.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Group.java
deleted file mode 100644
index 62a4bd7b55..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Group.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz380987 Group</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group#getPeople <em>People</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Group()
- * @model
- * @generated
- */
-public interface Bz380987_Group extends EObject
-{
- /**
- * Returns the value of the '<em><b>People</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getGroup <em>Group</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>People</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>People</em>' reference list.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Group_People()
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getGroup
- * @model opposite="group"
- * @generated
- */
- EList<Bz380987_Person> getPeople();
-
-} // Bz380987_Group
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Person.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Person.java
deleted file mode 100644
index 6d0f79236d..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Person.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz380987 Person</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getGroup <em>Group</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getPlaces <em>Places</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Person()
- * @model
- * @generated
- */
-public interface Bz380987_Person extends EObject
-{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Person_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Group</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group#getPeople <em>People</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Group</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Group</em>' reference list.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Person_Group()
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group#getPeople
- * @model opposite="people"
- * @generated
- */
- EList<Bz380987_Group> getGroup();
-
- /**
- * Returns the value of the '<em><b>Places</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getPeople <em>People</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Places</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Places</em>' reference list.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Person_Places()
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getPeople
- * @model opposite="people"
- * @generated
- */
- EList<Bz380987_Place> getPlaces();
-
-} // Bz380987_Person
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Place.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Place.java
deleted file mode 100644
index 720d45f6cc..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz380987_Place.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz380987 Place</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getPeople <em>People</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Place()
- * @model
- * @generated
- */
-public interface Bz380987_Place extends EObject
-{
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Place_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>People</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getPlaces <em>Places</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>People</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>People</em>' reference list.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz380987_Place_People()
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getPlaces
- * @model opposite="places"
- * @generated
- */
- EList<Bz380987_Person> getPeople();
-
-} // Bz380987_Place
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Enum.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Enum.java
deleted file mode 100644
index a5101728d6..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Enum.java
+++ /dev/null
@@ -1,228 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Bz387752 Enum</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Enum()
- * @model
- * @generated
- */
-public enum Bz387752_Enum implements Enumerator
-{
- /**
- * The '<em><b>VAL0</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #VAL0_VALUE
- * @generated
- * @ordered
- */
- VAL0(0, "VAL0", "VAL0"),
-
- /**
- * The '<em><b>VAL1</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #VAL1_VALUE
- * @generated
- * @ordered
- */
- VAL1(1, "VAL1", "VAL1");
-
- /**
- * The '<em><b>VAL0</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>VAL0</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #VAL0
- * @model
- * @generated
- * @ordered
- */
- public static final int VAL0_VALUE = 0;
-
- /**
- * The '<em><b>VAL1</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>VAL1</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #VAL1
- * @model
- * @generated
- * @ordered
- */
- public static final int VAL1_VALUE = 1;
-
- /**
- * An array of all the '<em><b>Bz387752 Enum</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final Bz387752_Enum[] VALUES_ARRAY = new Bz387752_Enum[] { VAL0, VAL1, };
-
- /**
- * A public read-only list of all the '<em><b>Bz387752 Enum</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<Bz387752_Enum> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Bz387752 Enum</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static Bz387752_Enum get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- Bz387752_Enum result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Bz387752 Enum</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static Bz387752_Enum getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- Bz387752_Enum result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Bz387752 Enum</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static Bz387752_Enum get(int value)
- {
- switch (value)
- {
- case VAL0_VALUE:
- return VAL0;
- case VAL1_VALUE:
- return VAL1;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private Bz387752_Enum(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} // Bz387752_Enum
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Main.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Main.java
deleted file mode 100644
index a274ea2909..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz387752_Main.java
+++ /dev/null
@@ -1,203 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz387752 Main</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrUnsettable <em>Str Unsettable</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrSettable <em>Str Settable</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumSettable <em>Enum Settable</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumUnsettable <em>Enum Unsettable</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Main()
- * @model
- * @generated
- */
-public interface Bz387752_Main extends EObject
-{
- /**
- * Returns the value of the '<em><b>Str Unsettable</b></em>' attribute.
- * The default value is <code>"def_value"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Str Unsettable</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Str Unsettable</em>' attribute.
- * @see #isSetStrUnsettable()
- * @see #unsetStrUnsettable()
- * @see #setStrUnsettable(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Main_StrUnsettable()
- * @model default="def_value" unsettable="true"
- * @generated
- */
- String getStrUnsettable();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrUnsettable <em>Str Unsettable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Str Unsettable</em>' attribute.
- * @see #isSetStrUnsettable()
- * @see #unsetStrUnsettable()
- * @see #getStrUnsettable()
- * @generated
- */
- void setStrUnsettable(String value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrUnsettable <em>Str Unsettable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetStrUnsettable()
- * @see #getStrUnsettable()
- * @see #setStrUnsettable(String)
- * @generated
- */
- void unsetStrUnsettable();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrUnsettable <em>Str Unsettable</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Str Unsettable</em>' attribute is set.
- * @see #unsetStrUnsettable()
- * @see #getStrUnsettable()
- * @see #setStrUnsettable(String)
- * @generated
- */
- boolean isSetStrUnsettable();
-
- /**
- * Returns the value of the '<em><b>Str Settable</b></em>' attribute.
- * The default value is <code>"value"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Str Settable</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Str Settable</em>' attribute.
- * @see #setStrSettable(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Main_StrSettable()
- * @model default="value"
- * @generated
- */
- String getStrSettable();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrSettable <em>Str Settable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Str Settable</em>' attribute.
- * @see #getStrSettable()
- * @generated
- */
- void setStrSettable(String value);
-
- /**
- * Returns the value of the '<em><b>Enum Settable</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Enum Settable</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Enum Settable</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum
- * @see #setEnumSettable(Bz387752_Enum)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Main_EnumSettable()
- * @model
- * @generated
- */
- Bz387752_Enum getEnumSettable();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumSettable <em>Enum Settable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Enum Settable</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum
- * @see #getEnumSettable()
- * @generated
- */
- void setEnumSettable(Bz387752_Enum value);
-
- /**
- * Returns the value of the '<em><b>Enum Unsettable</b></em>' attribute.
- * The default value is <code>"VAL1"</code>.
- * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Enum Unsettable</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Enum Unsettable</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum
- * @see #isSetEnumUnsettable()
- * @see #unsetEnumUnsettable()
- * @see #setEnumUnsettable(Bz387752_Enum)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz387752_Main_EnumUnsettable()
- * @model default="VAL1" unsettable="true"
- * @generated
- */
- Bz387752_Enum getEnumUnsettable();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumUnsettable <em>Enum Unsettable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Enum Unsettable</em>' attribute.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum
- * @see #isSetEnumUnsettable()
- * @see #unsetEnumUnsettable()
- * @see #getEnumUnsettable()
- * @generated
- */
- void setEnumUnsettable(Bz387752_Enum value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumUnsettable <em>Enum Unsettable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetEnumUnsettable()
- * @see #getEnumUnsettable()
- * @see #setEnumUnsettable(Bz387752_Enum)
- * @generated
- */
- void unsetEnumUnsettable();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumUnsettable <em>Enum Unsettable</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Enum Unsettable</em>' attribute is set.
- * @see #unsetEnumUnsettable()
- * @see #getEnumUnsettable()
- * @see #setEnumUnsettable(Bz387752_Enum)
- * @generated
- */
- boolean isSetEnumUnsettable();
-
-} // Bz387752_Main
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682C.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682C.java
deleted file mode 100644
index 359cbf8fc4..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682C.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz397682 C</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToP <em>Ref To P</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToC <em>Ref To C</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getDbId <em>Db Id</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682C()
- * @model
- * @generated
- */
-public interface Bz397682C extends EObject
-{
- /**
- * Returns the value of the '<em><b>Ref To P</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getListOfC <em>List Of C</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ref To P</em>' container reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ref To P</em>' container reference.
- * @see #setRefToP(Bz397682P)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682C_RefToP()
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getListOfC
- * @model opposite="listOfC" transient="false"
- * @generated
- */
- Bz397682P getRefToP();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToP <em>Ref To P</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ref To P</em>' container reference.
- * @see #getRefToP()
- * @generated
- */
- void setRefToP(Bz397682P value);
-
- /**
- * Returns the value of the '<em><b>Ref To C</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ref To C</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ref To C</em>' reference.
- * @see #setRefToC(Bz397682C)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682C_RefToC()
- * @model
- * @generated
- */
- Bz397682C getRefToC();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToC <em>Ref To C</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ref To C</em>' reference.
- * @see #getRefToC()
- * @generated
- */
- void setRefToC(Bz397682C value);
-
- /**
- * Returns the value of the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Db Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Db Id</em>' attribute.
- * @see #setDbId(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682C_DbId()
- * @model required="true"
- * annotation="teneo.jpa value='@Id'"
- * @generated
- */
- String getDbId();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getDbId <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Db Id</em>' attribute.
- * @see #getDbId()
- * @generated
- */
- void setDbId(String value);
-
-} // Bz397682C
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682P.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682P.java
deleted file mode 100644
index 626ab1cc79..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz397682P.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz397682 P</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getDbId <em>Db Id</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getListOfC <em>List Of C</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682P()
- * @model annotation="teneo.jpa value='@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)'"
- * @generated
- */
-public interface Bz397682P extends EObject
-{
- /**
- * Returns the value of the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Db Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Db Id</em>' attribute.
- * @see #setDbId(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682P_DbId()
- * @model required="true"
- * annotation="teneo.jpa value='@Id'"
- * @generated
- */
- String getDbId();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getDbId <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Db Id</em>' attribute.
- * @see #getDbId()
- * @generated
- */
- void setDbId(String value);
-
- /**
- * Returns the value of the '<em><b>List Of C</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToP <em>Ref To P</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>List Of C</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>List Of C</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz397682P_ListOfC()
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToP
- * @model opposite="refToP" containment="true"
- * @generated
- */
- EList<Bz397682C> getListOfC();
-
-} // Bz397682P
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A.java
deleted file mode 100644
index bf43d18ba3..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz398057 A</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getListOfB <em>List Of B</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getDbId <em>Db Id</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057A()
- * @model annotation="teneo.jpa value='@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)'"
- * @generated
- */
-public interface Bz398057A extends EObject
-{
- /**
- * Returns the value of the '<em><b>List Of B</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getRefToClassA <em>Ref To Class A</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>List Of B</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>List Of B</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057A_ListOfB()
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getRefToClassA
- * @model opposite="refToClassA" containment="true"
- * @generated
- */
- EList<Bz398057B> getListOfB();
-
- /**
- * Returns the value of the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Db Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Db Id</em>' attribute.
- * @see #setDbId(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057A_DbId()
- * @model required="true"
- * annotation="teneo.jpa value='@Id'"
- * @generated
- */
- String getDbId();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getDbId <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Db Id</em>' attribute.
- * @see #getDbId()
- * @generated
- */
- void setDbId(String value);
-
-} // Bz398057A
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A1.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A1.java
deleted file mode 100644
index c9ec9eaca5..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057A1.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz398057 A1</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057A1()
- * @model
- * @generated
- */
-public interface Bz398057A1 extends Bz398057A
-{
-} // Bz398057A1
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B.java
deleted file mode 100644
index 15ce285103..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B.java
+++ /dev/null
@@ -1,116 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz398057 B</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getRefToClassA <em>Ref To Class A</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getDbId <em>Db Id</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B()
- * @model annotation="teneo.jpa value='@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)'"
- * @generated
- */
-public interface Bz398057B extends EObject
-{
- /**
- * Returns the value of the '<em><b>Ref To Class A</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getListOfB <em>List Of B</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ref To Class A</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Ref To Class A</em>' container reference.
- * @see #setRefToClassA(Bz398057A)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B_RefToClassA()
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getListOfB
- * @model opposite="listOfB" transient="false"
- * @generated
- */
- Bz398057A getRefToClassA();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getRefToClassA <em>Ref To Class A</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Ref To Class A</em>' container reference.
- * @see #getRefToClassA()
- * @generated
- */
- void setRefToClassA(Bz398057A value);
-
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(double)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B_Value()
- * @model
- * @generated
- */
- double getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(double value);
-
- /**
- * Returns the value of the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Db Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Db Id</em>' attribute.
- * @see #setDbId(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B_DbId()
- * @model required="true"
- * annotation="teneo.jpa value='@Id'"
- * @generated
- */
- String getDbId();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getDbId <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Db Id</em>' attribute.
- * @see #getDbId()
- * @generated
- */
- void setDbId(String value);
-
-} // Bz398057B
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B1.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B1.java
deleted file mode 100644
index 79e210b5b1..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/Bz398057B1.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Bz398057 B1</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1#getValueStr <em>Value Str</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B1()
- * @model
- * @generated
- */
-public interface Bz398057B1 extends Bz398057B
-{
-
- /**
- * Returns the value of the '<em><b>Value Str</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value Str</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value Str</em>' attribute.
- * @see #setValueStr(String)
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#getBz398057B1_ValueStr()
- * @model
- * @generated
- */
- String getValueStr();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1#getValueStr <em>Value Str</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value Str</em>' attribute.
- * @see #getValueStr()
- * @generated
- */
- void setValueStr(String value);
-} // Bz398057B1
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestFactory.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestFactory.java
deleted file mode 100644
index 222eeb7990..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestFactory.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage
- * @generated
- */
-public interface HibernateTestFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- HibernateTestFactory eINSTANCE = org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Bz356181 Main</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz356181 Main</em>'.
- * @generated
- */
- Bz356181_Main createBz356181_Main();
-
- /**
- * Returns a new object of class '<em>Bz356181 Transient</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz356181 Transient</em>'.
- * @generated
- */
- Bz356181_Transient createBz356181_Transient();
-
- /**
- * Returns a new object of class '<em>Bz356181 Non Transient</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz356181 Non Transient</em>'.
- * @generated
- */
- Bz356181_NonTransient createBz356181_NonTransient();
-
- /**
- * Returns a new object of class '<em>Bz387752 Main</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz387752 Main</em>'.
- * @generated
- */
- Bz387752_Main createBz387752_Main();
-
- /**
- * Returns a new object of class '<em>Bz380987 Group</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz380987 Group</em>'.
- * @generated
- */
- Bz380987_Group createBz380987_Group();
-
- /**
- * Returns a new object of class '<em>Bz380987 Place</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz380987 Place</em>'.
- * @generated
- */
- Bz380987_Place createBz380987_Place();
-
- /**
- * Returns a new object of class '<em>Bz380987 Person</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz380987 Person</em>'.
- * @generated
- */
- Bz380987_Person createBz380987_Person();
-
- /**
- * Returns a new object of class '<em>Bz398057 A</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz398057 A</em>'.
- * @generated
- */
- Bz398057A createBz398057A();
-
- /**
- * Returns a new object of class '<em>Bz398057 A1</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz398057 A1</em>'.
- * @generated
- */
- Bz398057A1 createBz398057A1();
-
- /**
- * Returns a new object of class '<em>Bz398057 B</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz398057 B</em>'.
- * @generated
- */
- Bz398057B createBz398057B();
-
- /**
- * Returns a new object of class '<em>Bz398057 B1</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz398057 B1</em>'.
- * @generated
- */
- Bz398057B1 createBz398057B1();
-
- /**
- * Returns a new object of class '<em>Bz397682 P</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz397682 P</em>'.
- * @generated
- */
- Bz397682P createBz397682P();
-
- /**
- * Returns a new object of class '<em>Bz397682 C</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Bz397682 C</em>'.
- * @generated
- */
- Bz397682C createBz397682C();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- HibernateTestPackage getHibernateTestPackage();
-
-} // HibernateTestFactory
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestPackage.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestPackage.java
deleted file mode 100644
index 21461a9598..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/HibernateTestPackage.java
+++ /dev/null
@@ -1,1403 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory
- * @model kind="package"
- * @generated
- */
-public interface HibernateTestPackage extends EPackage
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "HibernateTest";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://org.eclipse.emf.cdo.tests.hibernate";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "hibernatetests";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- HibernateTestPackage eINSTANCE = org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_MainImpl <em>Bz356181 Main</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_MainImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz356181_Main()
- * @generated
- */
- int BZ356181_MAIN = 0;
-
- /**
- * The feature id for the '<em><b>Transient</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ356181_MAIN__TRANSIENT = 0;
-
- /**
- * The feature id for the '<em><b>Non Transient</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ356181_MAIN__NON_TRANSIENT = 1;
-
- /**
- * The feature id for the '<em><b>Transient Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ356181_MAIN__TRANSIENT_REF = 2;
-
- /**
- * The feature id for the '<em><b>Transient Other Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ356181_MAIN__TRANSIENT_OTHER_REF = 3;
-
- /**
- * The number of structural features of the '<em>Bz356181 Main</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ356181_MAIN_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_TransientImpl <em>Bz356181 Transient</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_TransientImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz356181_Transient()
- * @generated
- */
- int BZ356181_TRANSIENT = 1;
-
- /**
- * The number of structural features of the '<em>Bz356181 Transient</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ356181_TRANSIENT_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_NonTransientImpl <em>Bz356181 Non Transient</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_NonTransientImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz356181_NonTransient()
- * @generated
- */
- int BZ356181_NON_TRANSIENT = 2;
-
- /**
- * The feature id for the '<em><b>Main</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ356181_NON_TRANSIENT__MAIN = 0;
-
- /**
- * The number of structural features of the '<em>Bz356181 Non Transient</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ356181_NON_TRANSIENT_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz387752_MainImpl <em>Bz387752 Main</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz387752_MainImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz387752_Main()
- * @generated
- */
- int BZ387752_MAIN = 3;
-
- /**
- * The feature id for the '<em><b>Str Unsettable</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ387752_MAIN__STR_UNSETTABLE = 0;
-
- /**
- * The feature id for the '<em><b>Str Settable</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ387752_MAIN__STR_SETTABLE = 1;
-
- /**
- * The feature id for the '<em><b>Enum Settable</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ387752_MAIN__ENUM_SETTABLE = 2;
-
- /**
- * The feature id for the '<em><b>Enum Unsettable</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ387752_MAIN__ENUM_UNSETTABLE = 3;
-
- /**
- * The number of structural features of the '<em>Bz387752 Main</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ387752_MAIN_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_GroupImpl <em>Bz380987 Group</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_GroupImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz380987_Group()
- * @generated
- */
- int BZ380987_GROUP = 4;
-
- /**
- * The feature id for the '<em><b>People</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ380987_GROUP__PEOPLE = 0;
-
- /**
- * The number of structural features of the '<em>Bz380987 Group</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ380987_GROUP_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PlaceImpl <em>Bz380987 Place</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PlaceImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz380987_Place()
- * @generated
- */
- int BZ380987_PLACE = 5;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ380987_PLACE__NAME = 0;
-
- /**
- * The feature id for the '<em><b>People</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ380987_PLACE__PEOPLE = 1;
-
- /**
- * The number of structural features of the '<em>Bz380987 Place</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ380987_PLACE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PersonImpl <em>Bz380987 Person</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PersonImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz380987_Person()
- * @generated
- */
- int BZ380987_PERSON = 6;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ380987_PERSON__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Group</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ380987_PERSON__GROUP = 1;
-
- /**
- * The feature id for the '<em><b>Places</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ380987_PERSON__PLACES = 2;
-
- /**
- * The number of structural features of the '<em>Bz380987 Person</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ380987_PERSON_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057AImpl <em>Bz398057 A</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057AImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz398057A()
- * @generated
- */
- int BZ398057_A = 7;
-
- /**
- * The feature id for the '<em><b>List Of B</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_A__LIST_OF_B = 0;
-
- /**
- * The feature id for the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_A__DB_ID = 1;
-
- /**
- * The number of structural features of the '<em>Bz398057 A</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_A_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057A1Impl <em>Bz398057 A1</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057A1Impl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz398057A1()
- * @generated
- */
- int BZ398057_A1 = 8;
-
- /**
- * The feature id for the '<em><b>List Of B</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_A1__LIST_OF_B = BZ398057_A__LIST_OF_B;
-
- /**
- * The feature id for the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_A1__DB_ID = BZ398057_A__DB_ID;
-
- /**
- * The number of structural features of the '<em>Bz398057 A1</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_A1_FEATURE_COUNT = BZ398057_A_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057BImpl <em>Bz398057 B</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057BImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz398057B()
- * @generated
- */
- int BZ398057_B = 9;
-
- /**
- * The feature id for the '<em><b>Ref To Class A</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_B__REF_TO_CLASS_A = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_B__VALUE = 1;
-
- /**
- * The feature id for the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_B__DB_ID = 2;
-
- /**
- * The number of structural features of the '<em>Bz398057 B</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_B_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057B1Impl <em>Bz398057 B1</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057B1Impl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz398057B1()
- * @generated
- */
- int BZ398057_B1 = 10;
-
- /**
- * The feature id for the '<em><b>Ref To Class A</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_B1__REF_TO_CLASS_A = BZ398057_B__REF_TO_CLASS_A;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_B1__VALUE = BZ398057_B__VALUE;
-
- /**
- * The feature id for the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_B1__DB_ID = BZ398057_B__DB_ID;
-
- /**
- * The feature id for the '<em><b>Value Str</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_B1__VALUE_STR = BZ398057_B_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Bz398057 B1</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ398057_B1_FEATURE_COUNT = BZ398057_B_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682PImpl <em>Bz397682 P</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682PImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz397682P()
- * @generated
- */
- int BZ397682_P = 11;
-
- /**
- * The feature id for the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ397682_P__DB_ID = 0;
-
- /**
- * The feature id for the '<em><b>List Of C</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ397682_P__LIST_OF_C = 1;
-
- /**
- * The number of structural features of the '<em>Bz397682 P</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ397682_P_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682CImpl <em>Bz397682 C</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682CImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz397682C()
- * @generated
- */
- int BZ397682_C = 12;
-
- /**
- * The feature id for the '<em><b>Ref To P</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ397682_C__REF_TO_P = 0;
-
- /**
- * The feature id for the '<em><b>Ref To C</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ397682_C__REF_TO_C = 1;
-
- /**
- * The feature id for the '<em><b>Db Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ397682_C__DB_ID = 2;
-
- /**
- * The number of structural features of the '<em>Bz397682 C</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BZ397682_C_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum <em>Bz387752 Enum</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz387752_Enum()
- * @generated
- */
- int BZ387752_ENUM = 13;
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main <em>Bz356181 Main</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz356181 Main</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main
- * @generated
- */
- EClass getBz356181_Main();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransient <em>Transient</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Transient</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransient()
- * @see #getBz356181_Main()
- * @generated
- */
- EAttribute getBz356181_Main_Transient();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getNonTransient <em>Non Transient</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Non Transient</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getNonTransient()
- * @see #getBz356181_Main()
- * @generated
- */
- EAttribute getBz356181_Main_NonTransient();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientRef <em>Transient Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Transient Ref</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientRef()
- * @see #getBz356181_Main()
- * @generated
- */
- EReference getBz356181_Main_TransientRef();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientOtherRef <em>Transient Other Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Transient Other Ref</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main#getTransientOtherRef()
- * @see #getBz356181_Main()
- * @generated
- */
- EReference getBz356181_Main_TransientOtherRef();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient <em>Bz356181 Transient</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz356181 Transient</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient
- * @generated
- */
- EClass getBz356181_Transient();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient <em>Bz356181 Non Transient</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz356181 Non Transient</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient
- * @generated
- */
- EClass getBz356181_NonTransient();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient#getMain <em>Main</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Main</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient#getMain()
- * @see #getBz356181_NonTransient()
- * @generated
- */
- EReference getBz356181_NonTransient_Main();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main <em>Bz387752 Main</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz387752 Main</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main
- * @generated
- */
- EClass getBz387752_Main();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrUnsettable <em>Str Unsettable</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Str Unsettable</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrUnsettable()
- * @see #getBz387752_Main()
- * @generated
- */
- EAttribute getBz387752_Main_StrUnsettable();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrSettable <em>Str Settable</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Str Settable</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getStrSettable()
- * @see #getBz387752_Main()
- * @generated
- */
- EAttribute getBz387752_Main_StrSettable();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumSettable <em>Enum Settable</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Enum Settable</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumSettable()
- * @see #getBz387752_Main()
- * @generated
- */
- EAttribute getBz387752_Main_EnumSettable();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumUnsettable <em>Enum Unsettable</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Enum Unsettable</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main#getEnumUnsettable()
- * @see #getBz387752_Main()
- * @generated
- */
- EAttribute getBz387752_Main_EnumUnsettable();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group <em>Bz380987 Group</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz380987 Group</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group
- * @generated
- */
- EClass getBz380987_Group();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group#getPeople <em>People</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>People</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group#getPeople()
- * @see #getBz380987_Group()
- * @generated
- */
- EReference getBz380987_Group_People();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place <em>Bz380987 Place</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz380987 Place</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place
- * @generated
- */
- EClass getBz380987_Place();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getName()
- * @see #getBz380987_Place()
- * @generated
- */
- EAttribute getBz380987_Place_Name();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getPeople <em>People</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>People</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place#getPeople()
- * @see #getBz380987_Place()
- * @generated
- */
- EReference getBz380987_Place_People();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person <em>Bz380987 Person</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz380987 Person</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person
- * @generated
- */
- EClass getBz380987_Person();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getName()
- * @see #getBz380987_Person()
- * @generated
- */
- EAttribute getBz380987_Person_Name();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getGroup <em>Group</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Group</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getGroup()
- * @see #getBz380987_Person()
- * @generated
- */
- EReference getBz380987_Person_Group();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getPlaces <em>Places</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Places</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person#getPlaces()
- * @see #getBz380987_Person()
- * @generated
- */
- EReference getBz380987_Person_Places();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A <em>Bz398057 A</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz398057 A</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A
- * @generated
- */
- EClass getBz398057A();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getListOfB <em>List Of B</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>List Of B</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getListOfB()
- * @see #getBz398057A()
- * @generated
- */
- EReference getBz398057A_ListOfB();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getDbId <em>Db Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Db Id</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A#getDbId()
- * @see #getBz398057A()
- * @generated
- */
- EAttribute getBz398057A_DbId();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1 <em>Bz398057 A1</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz398057 A1</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1
- * @generated
- */
- EClass getBz398057A1();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B <em>Bz398057 B</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz398057 B</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B
- * @generated
- */
- EClass getBz398057B();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getRefToClassA <em>Ref To Class A</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the container reference '<em>Ref To Class A</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getRefToClassA()
- * @see #getBz398057B()
- * @generated
- */
- EReference getBz398057B_RefToClassA();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getValue()
- * @see #getBz398057B()
- * @generated
- */
- EAttribute getBz398057B_Value();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getDbId <em>Db Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Db Id</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B#getDbId()
- * @see #getBz398057B()
- * @generated
- */
- EAttribute getBz398057B_DbId();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1 <em>Bz398057 B1</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz398057 B1</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1
- * @generated
- */
- EClass getBz398057B1();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1#getValueStr <em>Value Str</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value Str</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1#getValueStr()
- * @see #getBz398057B1()
- * @generated
- */
- EAttribute getBz398057B1_ValueStr();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P <em>Bz397682 P</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz397682 P</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P
- * @generated
- */
- EClass getBz397682P();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getDbId <em>Db Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Db Id</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getDbId()
- * @see #getBz397682P()
- * @generated
- */
- EAttribute getBz397682P_DbId();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getListOfC <em>List Of C</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>List Of C</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P#getListOfC()
- * @see #getBz397682P()
- * @generated
- */
- EReference getBz397682P_ListOfC();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C <em>Bz397682 C</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Bz397682 C</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C
- * @generated
- */
- EClass getBz397682C();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToP <em>Ref To P</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the container reference '<em>Ref To P</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToP()
- * @see #getBz397682C()
- * @generated
- */
- EReference getBz397682C_RefToP();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToC <em>Ref To C</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Ref To C</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getRefToC()
- * @see #getBz397682C()
- * @generated
- */
- EReference getBz397682C_RefToC();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getDbId <em>Db Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Db Id</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C#getDbId()
- * @see #getBz397682C()
- * @generated
- */
- EAttribute getBz397682C_DbId();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum <em>Bz387752 Enum</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>Bz387752 Enum</em>'.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum
- * @generated
- */
- EEnum getBz387752_Enum();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- HibernateTestFactory getHibernateTestFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_MainImpl <em>Bz356181 Main</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_MainImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz356181_Main()
- * @generated
- */
- EClass BZ356181_MAIN = eINSTANCE.getBz356181_Main();
-
- /**
- * The meta object literal for the '<em><b>Transient</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ356181_MAIN__TRANSIENT = eINSTANCE.getBz356181_Main_Transient();
-
- /**
- * The meta object literal for the '<em><b>Non Transient</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ356181_MAIN__NON_TRANSIENT = eINSTANCE.getBz356181_Main_NonTransient();
-
- /**
- * The meta object literal for the '<em><b>Transient Ref</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ356181_MAIN__TRANSIENT_REF = eINSTANCE.getBz356181_Main_TransientRef();
-
- /**
- * The meta object literal for the '<em><b>Transient Other Ref</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ356181_MAIN__TRANSIENT_OTHER_REF = eINSTANCE.getBz356181_Main_TransientOtherRef();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_TransientImpl <em>Bz356181 Transient</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_TransientImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz356181_Transient()
- * @generated
- */
- EClass BZ356181_TRANSIENT = eINSTANCE.getBz356181_Transient();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_NonTransientImpl <em>Bz356181 Non Transient</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_NonTransientImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz356181_NonTransient()
- * @generated
- */
- EClass BZ356181_NON_TRANSIENT = eINSTANCE.getBz356181_NonTransient();
-
- /**
- * The meta object literal for the '<em><b>Main</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ356181_NON_TRANSIENT__MAIN = eINSTANCE.getBz356181_NonTransient_Main();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz387752_MainImpl <em>Bz387752 Main</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz387752_MainImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz387752_Main()
- * @generated
- */
- EClass BZ387752_MAIN = eINSTANCE.getBz387752_Main();
-
- /**
- * The meta object literal for the '<em><b>Str Unsettable</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ387752_MAIN__STR_UNSETTABLE = eINSTANCE.getBz387752_Main_StrUnsettable();
-
- /**
- * The meta object literal for the '<em><b>Str Settable</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ387752_MAIN__STR_SETTABLE = eINSTANCE.getBz387752_Main_StrSettable();
-
- /**
- * The meta object literal for the '<em><b>Enum Settable</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ387752_MAIN__ENUM_SETTABLE = eINSTANCE.getBz387752_Main_EnumSettable();
-
- /**
- * The meta object literal for the '<em><b>Enum Unsettable</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ387752_MAIN__ENUM_UNSETTABLE = eINSTANCE.getBz387752_Main_EnumUnsettable();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_GroupImpl <em>Bz380987 Group</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_GroupImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz380987_Group()
- * @generated
- */
- EClass BZ380987_GROUP = eINSTANCE.getBz380987_Group();
-
- /**
- * The meta object literal for the '<em><b>People</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ380987_GROUP__PEOPLE = eINSTANCE.getBz380987_Group_People();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PlaceImpl <em>Bz380987 Place</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PlaceImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz380987_Place()
- * @generated
- */
- EClass BZ380987_PLACE = eINSTANCE.getBz380987_Place();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ380987_PLACE__NAME = eINSTANCE.getBz380987_Place_Name();
-
- /**
- * The meta object literal for the '<em><b>People</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ380987_PLACE__PEOPLE = eINSTANCE.getBz380987_Place_People();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PersonImpl <em>Bz380987 Person</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PersonImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz380987_Person()
- * @generated
- */
- EClass BZ380987_PERSON = eINSTANCE.getBz380987_Person();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ380987_PERSON__NAME = eINSTANCE.getBz380987_Person_Name();
-
- /**
- * The meta object literal for the '<em><b>Group</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ380987_PERSON__GROUP = eINSTANCE.getBz380987_Person_Group();
-
- /**
- * The meta object literal for the '<em><b>Places</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ380987_PERSON__PLACES = eINSTANCE.getBz380987_Person_Places();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057AImpl <em>Bz398057 A</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057AImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz398057A()
- * @generated
- */
- EClass BZ398057_A = eINSTANCE.getBz398057A();
-
- /**
- * The meta object literal for the '<em><b>List Of B</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ398057_A__LIST_OF_B = eINSTANCE.getBz398057A_ListOfB();
-
- /**
- * The meta object literal for the '<em><b>Db Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ398057_A__DB_ID = eINSTANCE.getBz398057A_DbId();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057A1Impl <em>Bz398057 A1</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057A1Impl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz398057A1()
- * @generated
- */
- EClass BZ398057_A1 = eINSTANCE.getBz398057A1();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057BImpl <em>Bz398057 B</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057BImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz398057B()
- * @generated
- */
- EClass BZ398057_B = eINSTANCE.getBz398057B();
-
- /**
- * The meta object literal for the '<em><b>Ref To Class A</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ398057_B__REF_TO_CLASS_A = eINSTANCE.getBz398057B_RefToClassA();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ398057_B__VALUE = eINSTANCE.getBz398057B_Value();
-
- /**
- * The meta object literal for the '<em><b>Db Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ398057_B__DB_ID = eINSTANCE.getBz398057B_DbId();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057B1Impl <em>Bz398057 B1</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057B1Impl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz398057B1()
- * @generated
- */
- EClass BZ398057_B1 = eINSTANCE.getBz398057B1();
-
- /**
- * The meta object literal for the '<em><b>Value Str</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ398057_B1__VALUE_STR = eINSTANCE.getBz398057B1_ValueStr();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682PImpl <em>Bz397682 P</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682PImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz397682P()
- * @generated
- */
- EClass BZ397682_P = eINSTANCE.getBz397682P();
-
- /**
- * The meta object literal for the '<em><b>Db Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ397682_P__DB_ID = eINSTANCE.getBz397682P_DbId();
-
- /**
- * The meta object literal for the '<em><b>List Of C</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ397682_P__LIST_OF_C = eINSTANCE.getBz397682P_ListOfC();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682CImpl <em>Bz397682 C</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682CImpl
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz397682C()
- * @generated
- */
- EClass BZ397682_C = eINSTANCE.getBz397682C();
-
- /**
- * The meta object literal for the '<em><b>Ref To P</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ397682_C__REF_TO_P = eINSTANCE.getBz397682C_RefToP();
-
- /**
- * The meta object literal for the '<em><b>Ref To C</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BZ397682_C__REF_TO_C = eINSTANCE.getBz397682C_RefToC();
-
- /**
- * The meta object literal for the '<em><b>Db Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BZ397682_C__DB_ID = eINSTANCE.getBz397682C_DbId();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum <em>Bz387752 Enum</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.HibernateTestPackageImpl#getBz387752_Enum()
- * @generated
- */
- EEnum BZ387752_ENUM = eINSTANCE.getBz387752_Enum();
-
- }
-
-} // HibernateTestPackage
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_MainImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_MainImpl.java
deleted file mode 100644
index 867870e354..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_MainImpl.java
+++ /dev/null
@@ -1,394 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz356181 Main</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_MainImpl#getTransient <em>Transient</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_MainImpl#getNonTransient <em>Non Transient</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_MainImpl#getTransientRef <em>Transient Ref</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_MainImpl#getTransientOtherRef <em>Transient Other Ref</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz356181_MainImpl extends EObjectImpl implements Bz356181_Main
-{
- /**
- * The default value of the '{@link #getTransient() <em>Transient</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransient()
- * @generated
- * @ordered
- */
- protected static final String TRANSIENT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTransient() <em>Transient</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransient()
- * @generated
- * @ordered
- */
- protected String transient_ = TRANSIENT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getNonTransient() <em>Non Transient</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNonTransient()
- * @generated
- * @ordered
- */
- protected static final String NON_TRANSIENT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getNonTransient() <em>Non Transient</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getNonTransient()
- * @generated
- * @ordered
- */
- protected String nonTransient = NON_TRANSIENT_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getTransientRef() <em>Transient Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransientRef()
- * @generated
- * @ordered
- */
- protected Bz356181_Transient transientRef;
-
- /**
- * The cached value of the '{@link #getTransientOtherRef() <em>Transient Other Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransientOtherRef()
- * @generated
- * @ordered
- */
- protected Bz356181_NonTransient transientOtherRef;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz356181_MainImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ356181_MAIN;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTransient()
- {
- return transient_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTransient(String newTransient)
- {
- String oldTransient = transient_;
- transient_ = newTransient;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ356181_MAIN__TRANSIENT, oldTransient, transient_));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getNonTransient()
- {
- return nonTransient;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setNonTransient(String newNonTransient)
- {
- String oldNonTransient = nonTransient;
- nonTransient = newNonTransient;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ356181_MAIN__NON_TRANSIENT, oldNonTransient, nonTransient));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz356181_Transient getTransientRef()
- {
- if (transientRef != null && transientRef.eIsProxy())
- {
- InternalEObject oldTransientRef = (InternalEObject)transientRef;
- transientRef = (Bz356181_Transient)eResolveProxy(oldTransientRef);
- if (transientRef != oldTransientRef)
- {
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, HibernateTestPackage.BZ356181_MAIN__TRANSIENT_REF, oldTransientRef, transientRef));
- }
- }
- }
- return transientRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz356181_Transient basicGetTransientRef()
- {
- return transientRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTransientRef(Bz356181_Transient newTransientRef)
- {
- Bz356181_Transient oldTransientRef = transientRef;
- transientRef = newTransientRef;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ356181_MAIN__TRANSIENT_REF, oldTransientRef, transientRef));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz356181_NonTransient getTransientOtherRef()
- {
- if (transientOtherRef != null && transientOtherRef.eIsProxy())
- {
- InternalEObject oldTransientOtherRef = (InternalEObject)transientOtherRef;
- transientOtherRef = (Bz356181_NonTransient)eResolveProxy(oldTransientOtherRef);
- if (transientOtherRef != oldTransientOtherRef)
- {
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, HibernateTestPackage.BZ356181_MAIN__TRANSIENT_OTHER_REF, oldTransientOtherRef,
- transientOtherRef));
- }
- }
- }
- return transientOtherRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz356181_NonTransient basicGetTransientOtherRef()
- {
- return transientOtherRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTransientOtherRef(Bz356181_NonTransient newTransientOtherRef)
- {
- Bz356181_NonTransient oldTransientOtherRef = transientOtherRef;
- transientOtherRef = newTransientOtherRef;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ356181_MAIN__TRANSIENT_OTHER_REF, oldTransientOtherRef, transientOtherRef));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT:
- return getTransient();
- case HibernateTestPackage.BZ356181_MAIN__NON_TRANSIENT:
- return getNonTransient();
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT_REF:
- if (resolve)
- {
- return getTransientRef();
- }
- return basicGetTransientRef();
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT_OTHER_REF:
- if (resolve)
- {
- return getTransientOtherRef();
- }
- return basicGetTransientOtherRef();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT:
- setTransient((String)newValue);
- return;
- case HibernateTestPackage.BZ356181_MAIN__NON_TRANSIENT:
- setNonTransient((String)newValue);
- return;
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT_REF:
- setTransientRef((Bz356181_Transient)newValue);
- return;
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT_OTHER_REF:
- setTransientOtherRef((Bz356181_NonTransient)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT:
- setTransient(TRANSIENT_EDEFAULT);
- return;
- case HibernateTestPackage.BZ356181_MAIN__NON_TRANSIENT:
- setNonTransient(NON_TRANSIENT_EDEFAULT);
- return;
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT_REF:
- setTransientRef((Bz356181_Transient)null);
- return;
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT_OTHER_REF:
- setTransientOtherRef((Bz356181_NonTransient)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT:
- return TRANSIENT_EDEFAULT == null ? transient_ != null : !TRANSIENT_EDEFAULT.equals(transient_);
- case HibernateTestPackage.BZ356181_MAIN__NON_TRANSIENT:
- return NON_TRANSIENT_EDEFAULT == null ? nonTransient != null : !NON_TRANSIENT_EDEFAULT.equals(nonTransient);
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT_REF:
- return transientRef != null;
- case HibernateTestPackage.BZ356181_MAIN__TRANSIENT_OTHER_REF:
- return transientOtherRef != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (transient: ");
- result.append(transient_);
- result.append(", nonTransient: ");
- result.append(nonTransient);
- result.append(')');
- return result.toString();
- }
-
-} // Bz356181_MainImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_NonTransientImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_NonTransientImpl.java
deleted file mode 100644
index eeb47c6833..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_NonTransientImpl.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz356181 Non Transient</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz356181_NonTransientImpl#getMain <em>Main</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz356181_NonTransientImpl extends EObjectImpl implements Bz356181_NonTransient
-{
- /**
- * The cached value of the '{@link #getMain() <em>Main</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMain()
- * @generated
- * @ordered
- */
- protected Bz356181_Main main;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz356181_NonTransientImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ356181_NON_TRANSIENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz356181_Main getMain()
- {
- if (main != null && main.eIsProxy())
- {
- InternalEObject oldMain = (InternalEObject)main;
- main = (Bz356181_Main)eResolveProxy(oldMain);
- if (main != oldMain)
- {
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, HibernateTestPackage.BZ356181_NON_TRANSIENT__MAIN, oldMain, main));
- }
- }
- }
- return main;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz356181_Main basicGetMain()
- {
- return main;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setMain(Bz356181_Main newMain)
- {
- Bz356181_Main oldMain = main;
- main = newMain;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ356181_NON_TRANSIENT__MAIN, oldMain, main));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ356181_NON_TRANSIENT__MAIN:
- if (resolve)
- {
- return getMain();
- }
- return basicGetMain();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ356181_NON_TRANSIENT__MAIN:
- setMain((Bz356181_Main)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ356181_NON_TRANSIENT__MAIN:
- setMain((Bz356181_Main)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ356181_NON_TRANSIENT__MAIN:
- return main != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // Bz356181_NonTransientImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_TransientImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_TransientImpl.java
deleted file mode 100644
index 15f7880cd9..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz356181_TransientImpl.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz356181 Transient</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class Bz356181_TransientImpl extends EObjectImpl implements Bz356181_Transient
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz356181_TransientImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ356181_TRANSIENT;
- }
-
-} // Bz356181_TransientImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_GroupImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_GroupImpl.java
deleted file mode 100644
index faaf3eb8bc..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_GroupImpl.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz380987 Group</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_GroupImpl#getPeople <em>People</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz380987_GroupImpl extends EObjectImpl implements Bz380987_Group
-{
- /**
- * The cached value of the '{@link #getPeople() <em>People</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPeople()
- * @generated
- * @ordered
- */
- protected EList<Bz380987_Person> people;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz380987_GroupImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ380987_GROUP;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Bz380987_Person> getPeople()
- {
- if (people == null)
- {
- people = new EObjectWithInverseResolvingEList.ManyInverse<Bz380987_Person>(Bz380987_Person.class, this, HibernateTestPackage.BZ380987_GROUP__PEOPLE,
- HibernateTestPackage.BZ380987_PERSON__GROUP);
- }
- return people;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_GROUP__PEOPLE:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getPeople()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_GROUP__PEOPLE:
- return ((InternalEList<?>)getPeople()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_GROUP__PEOPLE:
- return getPeople();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_GROUP__PEOPLE:
- getPeople().clear();
- getPeople().addAll((Collection<? extends Bz380987_Person>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_GROUP__PEOPLE:
- getPeople().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_GROUP__PEOPLE:
- return people != null && !people.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // Bz380987_GroupImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PersonImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PersonImpl.java
deleted file mode 100644
index 04e0be2d20..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PersonImpl.java
+++ /dev/null
@@ -1,309 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz380987 Person</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PersonImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PersonImpl#getGroup <em>Group</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PersonImpl#getPlaces <em>Places</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz380987_PersonImpl extends EObjectImpl implements Bz380987_Person
-{
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getGroup() <em>Group</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getGroup()
- * @generated
- * @ordered
- */
- protected EList<Bz380987_Group> group;
-
- /**
- * The cached value of the '{@link #getPlaces() <em>Places</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPlaces()
- * @generated
- * @ordered
- */
- protected EList<Bz380987_Place> places;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz380987_PersonImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ380987_PERSON;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ380987_PERSON__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Bz380987_Group> getGroup()
- {
- if (group == null)
- {
- group = new EObjectWithInverseResolvingEList.ManyInverse<Bz380987_Group>(Bz380987_Group.class, this, HibernateTestPackage.BZ380987_PERSON__GROUP,
- HibernateTestPackage.BZ380987_GROUP__PEOPLE);
- }
- return group;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Bz380987_Place> getPlaces()
- {
- if (places == null)
- {
- places = new EObjectWithInverseResolvingEList.ManyInverse<Bz380987_Place>(Bz380987_Place.class, this, HibernateTestPackage.BZ380987_PERSON__PLACES,
- HibernateTestPackage.BZ380987_PLACE__PEOPLE);
- }
- return places;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PERSON__GROUP:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getGroup()).basicAdd(otherEnd, msgs);
- case HibernateTestPackage.BZ380987_PERSON__PLACES:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getPlaces()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PERSON__GROUP:
- return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
- case HibernateTestPackage.BZ380987_PERSON__PLACES:
- return ((InternalEList<?>)getPlaces()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PERSON__NAME:
- return getName();
- case HibernateTestPackage.BZ380987_PERSON__GROUP:
- return getGroup();
- case HibernateTestPackage.BZ380987_PERSON__PLACES:
- return getPlaces();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PERSON__NAME:
- setName((String)newValue);
- return;
- case HibernateTestPackage.BZ380987_PERSON__GROUP:
- getGroup().clear();
- getGroup().addAll((Collection<? extends Bz380987_Group>)newValue);
- return;
- case HibernateTestPackage.BZ380987_PERSON__PLACES:
- getPlaces().clear();
- getPlaces().addAll((Collection<? extends Bz380987_Place>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PERSON__NAME:
- setName(NAME_EDEFAULT);
- return;
- case HibernateTestPackage.BZ380987_PERSON__GROUP:
- getGroup().clear();
- return;
- case HibernateTestPackage.BZ380987_PERSON__PLACES:
- getPlaces().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PERSON__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case HibernateTestPackage.BZ380987_PERSON__GROUP:
- return group != null && !group.isEmpty();
- case HibernateTestPackage.BZ380987_PERSON__PLACES:
- return places != null && !places.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} // Bz380987_PersonImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PlaceImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PlaceImpl.java
deleted file mode 100644
index 9da7b3a854..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz380987_PlaceImpl.java
+++ /dev/null
@@ -1,267 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz380987 Place</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PlaceImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz380987_PlaceImpl#getPeople <em>People</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz380987_PlaceImpl extends EObjectImpl implements Bz380987_Place
-{
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getPeople() <em>People</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPeople()
- * @generated
- * @ordered
- */
- protected EList<Bz380987_Person> people;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz380987_PlaceImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ380987_PLACE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ380987_PLACE__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Bz380987_Person> getPeople()
- {
- if (people == null)
- {
- people = new EObjectWithInverseResolvingEList.ManyInverse<Bz380987_Person>(Bz380987_Person.class, this, HibernateTestPackage.BZ380987_PLACE__PEOPLE,
- HibernateTestPackage.BZ380987_PERSON__PLACES);
- }
- return people;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PLACE__PEOPLE:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getPeople()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PLACE__PEOPLE:
- return ((InternalEList<?>)getPeople()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PLACE__NAME:
- return getName();
- case HibernateTestPackage.BZ380987_PLACE__PEOPLE:
- return getPeople();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PLACE__NAME:
- setName((String)newValue);
- return;
- case HibernateTestPackage.BZ380987_PLACE__PEOPLE:
- getPeople().clear();
- getPeople().addAll((Collection<? extends Bz380987_Person>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PLACE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case HibernateTestPackage.BZ380987_PLACE__PEOPLE:
- getPeople().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ380987_PLACE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case HibernateTestPackage.BZ380987_PLACE__PEOPLE:
- return people != null && !people.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} // Bz380987_PlaceImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz387752_MainImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz387752_MainImpl.java
deleted file mode 100644
index 25027f6eb9..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz387752_MainImpl.java
+++ /dev/null
@@ -1,458 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz387752 Main</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz387752_MainImpl#getStrUnsettable <em>Str Unsettable</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz387752_MainImpl#getStrSettable <em>Str Settable</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz387752_MainImpl#getEnumSettable <em>Enum Settable</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz387752_MainImpl#getEnumUnsettable <em>Enum Unsettable</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz387752_MainImpl extends EObjectImpl implements Bz387752_Main
-{
- /**
- * The default value of the '{@link #getStrUnsettable() <em>Str Unsettable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStrUnsettable()
- * @generated
- * @ordered
- */
- protected static final String STR_UNSETTABLE_EDEFAULT = "def_value";
-
- /**
- * The cached value of the '{@link #getStrUnsettable() <em>Str Unsettable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStrUnsettable()
- * @generated
- * @ordered
- */
- protected String strUnsettable = STR_UNSETTABLE_EDEFAULT;
-
- /**
- * This is true if the Str Unsettable attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean strUnsettableESet;
-
- /**
- * The default value of the '{@link #getStrSettable() <em>Str Settable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStrSettable()
- * @generated
- * @ordered
- */
- protected static final String STR_SETTABLE_EDEFAULT = "value";
-
- /**
- * The cached value of the '{@link #getStrSettable() <em>Str Settable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStrSettable()
- * @generated
- * @ordered
- */
- protected String strSettable = STR_SETTABLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEnumSettable() <em>Enum Settable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumSettable()
- * @generated
- * @ordered
- */
- protected static final Bz387752_Enum ENUM_SETTABLE_EDEFAULT = Bz387752_Enum.VAL0;
-
- /**
- * The cached value of the '{@link #getEnumSettable() <em>Enum Settable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumSettable()
- * @generated
- * @ordered
- */
- protected Bz387752_Enum enumSettable = ENUM_SETTABLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getEnumUnsettable() <em>Enum Unsettable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumUnsettable()
- * @generated
- * @ordered
- */
- protected static final Bz387752_Enum ENUM_UNSETTABLE_EDEFAULT = Bz387752_Enum.VAL1;
-
- /**
- * The cached value of the '{@link #getEnumUnsettable() <em>Enum Unsettable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getEnumUnsettable()
- * @generated
- * @ordered
- */
- protected Bz387752_Enum enumUnsettable = ENUM_UNSETTABLE_EDEFAULT;
-
- /**
- * This is true if the Enum Unsettable attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean enumUnsettableESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz387752_MainImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ387752_MAIN;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getStrUnsettable()
- {
- return strUnsettable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStrUnsettable(String newStrUnsettable)
- {
- String oldStrUnsettable = strUnsettable;
- strUnsettable = newStrUnsettable;
- boolean oldStrUnsettableESet = strUnsettableESet;
- strUnsettableESet = true;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ387752_MAIN__STR_UNSETTABLE, oldStrUnsettable, strUnsettable,
- !oldStrUnsettableESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetStrUnsettable()
- {
- String oldStrUnsettable = strUnsettable;
- boolean oldStrUnsettableESet = strUnsettableESet;
- strUnsettable = STR_UNSETTABLE_EDEFAULT;
- strUnsettableESet = false;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.UNSET, HibernateTestPackage.BZ387752_MAIN__STR_UNSETTABLE, oldStrUnsettable, STR_UNSETTABLE_EDEFAULT,
- oldStrUnsettableESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetStrUnsettable()
- {
- return strUnsettableESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getStrSettable()
- {
- return strSettable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStrSettable(String newStrSettable)
- {
- String oldStrSettable = strSettable;
- strSettable = newStrSettable;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ387752_MAIN__STR_SETTABLE, oldStrSettable, strSettable));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz387752_Enum getEnumSettable()
- {
- return enumSettable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEnumSettable(Bz387752_Enum newEnumSettable)
- {
- Bz387752_Enum oldEnumSettable = enumSettable;
- enumSettable = newEnumSettable == null ? ENUM_SETTABLE_EDEFAULT : newEnumSettable;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ387752_MAIN__ENUM_SETTABLE, oldEnumSettable, enumSettable));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz387752_Enum getEnumUnsettable()
- {
- return enumUnsettable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setEnumUnsettable(Bz387752_Enum newEnumUnsettable)
- {
- Bz387752_Enum oldEnumUnsettable = enumUnsettable;
- enumUnsettable = newEnumUnsettable == null ? ENUM_UNSETTABLE_EDEFAULT : newEnumUnsettable;
- boolean oldEnumUnsettableESet = enumUnsettableESet;
- enumUnsettableESet = true;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ387752_MAIN__ENUM_UNSETTABLE, oldEnumUnsettable, enumUnsettable,
- !oldEnumUnsettableESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetEnumUnsettable()
- {
- Bz387752_Enum oldEnumUnsettable = enumUnsettable;
- boolean oldEnumUnsettableESet = enumUnsettableESet;
- enumUnsettable = ENUM_UNSETTABLE_EDEFAULT;
- enumUnsettableESet = false;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.UNSET, HibernateTestPackage.BZ387752_MAIN__ENUM_UNSETTABLE, oldEnumUnsettable, ENUM_UNSETTABLE_EDEFAULT,
- oldEnumUnsettableESet));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetEnumUnsettable()
- {
- return enumUnsettableESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ387752_MAIN__STR_UNSETTABLE:
- return getStrUnsettable();
- case HibernateTestPackage.BZ387752_MAIN__STR_SETTABLE:
- return getStrSettable();
- case HibernateTestPackage.BZ387752_MAIN__ENUM_SETTABLE:
- return getEnumSettable();
- case HibernateTestPackage.BZ387752_MAIN__ENUM_UNSETTABLE:
- return getEnumUnsettable();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ387752_MAIN__STR_UNSETTABLE:
- setStrUnsettable((String)newValue);
- return;
- case HibernateTestPackage.BZ387752_MAIN__STR_SETTABLE:
- setStrSettable((String)newValue);
- return;
- case HibernateTestPackage.BZ387752_MAIN__ENUM_SETTABLE:
- setEnumSettable((Bz387752_Enum)newValue);
- return;
- case HibernateTestPackage.BZ387752_MAIN__ENUM_UNSETTABLE:
- setEnumUnsettable((Bz387752_Enum)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ387752_MAIN__STR_UNSETTABLE:
- unsetStrUnsettable();
- return;
- case HibernateTestPackage.BZ387752_MAIN__STR_SETTABLE:
- setStrSettable(STR_SETTABLE_EDEFAULT);
- return;
- case HibernateTestPackage.BZ387752_MAIN__ENUM_SETTABLE:
- setEnumSettable(ENUM_SETTABLE_EDEFAULT);
- return;
- case HibernateTestPackage.BZ387752_MAIN__ENUM_UNSETTABLE:
- unsetEnumUnsettable();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("null")
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ387752_MAIN__STR_UNSETTABLE:
- return isSetStrUnsettable();
- case HibernateTestPackage.BZ387752_MAIN__STR_SETTABLE:
- return STR_SETTABLE_EDEFAULT == null ? strSettable != null : !STR_SETTABLE_EDEFAULT.equals(strSettable);
- case HibernateTestPackage.BZ387752_MAIN__ENUM_SETTABLE:
- return enumSettable != ENUM_SETTABLE_EDEFAULT;
- case HibernateTestPackage.BZ387752_MAIN__ENUM_UNSETTABLE:
- return isSetEnumUnsettable();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (strUnsettable: ");
- if (strUnsettableESet)
- {
- result.append(strUnsettable);
- }
- else
- {
- result.append("<unset>");
- }
- result.append(", strSettable: ");
- result.append(strSettable);
- result.append(", enumSettable: ");
- result.append(enumSettable);
- result.append(", enumUnsettable: ");
- if (enumUnsettableESet)
- {
- result.append(enumUnsettable);
- }
- else
- {
- result.append("<unset>");
- }
- result.append(')');
- return result.toString();
- }
-
-} // Bz387752_MainImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682CImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682CImpl.java
deleted file mode 100644
index 291612519c..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682CImpl.java
+++ /dev/null
@@ -1,386 +0,0 @@
-/*
- * Copyright (c) 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz397682 C</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682CImpl#getRefToP <em>Ref To P</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682CImpl#getRefToC <em>Ref To C</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682CImpl#getDbId <em>Db Id</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz397682CImpl extends EObjectImpl implements Bz397682C
-{
- /**
- * The cached value of the '{@link #getRefToC() <em>Ref To C</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRefToC()
- * @generated
- * @ordered
- */
- protected Bz397682C refToC;
-
- /**
- * The default value of the '{@link #getDbId() <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDbId()
- * @generated
- * @ordered
- */
- protected static final String DB_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDbId() <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDbId()
- * @generated
- * @ordered
- */
- protected String dbId = DB_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz397682CImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ397682_C;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz397682P getRefToP()
- {
- if (eContainerFeatureID() != HibernateTestPackage.BZ397682_C__REF_TO_P)
- {
- return null;
- }
- return (Bz397682P)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRefToP(Bz397682P newRefToP, NotificationChain msgs)
- {
- msgs = eBasicSetContainer((InternalEObject)newRefToP, HibernateTestPackage.BZ397682_C__REF_TO_P, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRefToP(Bz397682P newRefToP)
- {
- if (newRefToP != eInternalContainer() || eContainerFeatureID() != HibernateTestPackage.BZ397682_C__REF_TO_P && newRefToP != null)
- {
- if (EcoreUtil.isAncestor(this, newRefToP))
- {
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- }
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- {
- msgs = eBasicRemoveFromContainer(msgs);
- }
- if (newRefToP != null)
- {
- msgs = ((InternalEObject)newRefToP).eInverseAdd(this, HibernateTestPackage.BZ397682_P__LIST_OF_C, Bz397682P.class, msgs);
- }
- msgs = basicSetRefToP(newRefToP, msgs);
- if (msgs != null)
- {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ397682_C__REF_TO_P, newRefToP, newRefToP));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz397682C getRefToC()
- {
- if (refToC != null && refToC.eIsProxy())
- {
- InternalEObject oldRefToC = (InternalEObject)refToC;
- refToC = (Bz397682C)eResolveProxy(oldRefToC);
- if (refToC != oldRefToC)
- {
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, HibernateTestPackage.BZ397682_C__REF_TO_C, oldRefToC, refToC));
- }
- }
- }
- return refToC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz397682C basicGetRefToC()
- {
- return refToC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRefToC(Bz397682C newRefToC)
- {
- Bz397682C oldRefToC = refToC;
- refToC = newRefToC;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ397682_C__REF_TO_C, oldRefToC, refToC));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDbId()
- {
- return dbId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDbId(String newDbId)
- {
- String oldDbId = dbId;
- dbId = newDbId;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ397682_C__DB_ID, oldDbId, dbId));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_C__REF_TO_P:
- if (eInternalContainer() != null)
- {
- msgs = eBasicRemoveFromContainer(msgs);
- }
- return basicSetRefToP((Bz397682P)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_C__REF_TO_P:
- return basicSetRefToP(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- {
- switch (eContainerFeatureID())
- {
- case HibernateTestPackage.BZ397682_C__REF_TO_P:
- return eInternalContainer().eInverseRemove(this, HibernateTestPackage.BZ397682_P__LIST_OF_C, Bz397682P.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_C__REF_TO_P:
- return getRefToP();
- case HibernateTestPackage.BZ397682_C__REF_TO_C:
- if (resolve)
- {
- return getRefToC();
- }
- return basicGetRefToC();
- case HibernateTestPackage.BZ397682_C__DB_ID:
- return getDbId();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_C__REF_TO_P:
- setRefToP((Bz397682P)newValue);
- return;
- case HibernateTestPackage.BZ397682_C__REF_TO_C:
- setRefToC((Bz397682C)newValue);
- return;
- case HibernateTestPackage.BZ397682_C__DB_ID:
- setDbId((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_C__REF_TO_P:
- setRefToP((Bz397682P)null);
- return;
- case HibernateTestPackage.BZ397682_C__REF_TO_C:
- setRefToC((Bz397682C)null);
- return;
- case HibernateTestPackage.BZ397682_C__DB_ID:
- setDbId(DB_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_C__REF_TO_P:
- return getRefToP() != null;
- case HibernateTestPackage.BZ397682_C__REF_TO_C:
- return refToC != null;
- case HibernateTestPackage.BZ397682_C__DB_ID:
- return DB_ID_EDEFAULT == null ? dbId != null : !DB_ID_EDEFAULT.equals(dbId);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (dbId: ");
- result.append(dbId);
- result.append(')');
- return result.toString();
- }
-
-} // Bz397682CImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682PImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682PImpl.java
deleted file mode 100644
index b6cb0ca18b..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz397682PImpl.java
+++ /dev/null
@@ -1,267 +0,0 @@
-/*
- * Copyright (c) 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz397682 P</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682PImpl#getDbId <em>Db Id</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz397682PImpl#getListOfC <em>List Of C</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz397682PImpl extends EObjectImpl implements Bz397682P
-{
- /**
- * The default value of the '{@link #getDbId() <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDbId()
- * @generated
- * @ordered
- */
- protected static final String DB_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDbId() <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDbId()
- * @generated
- * @ordered
- */
- protected String dbId = DB_ID_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getListOfC() <em>List Of C</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getListOfC()
- * @generated
- * @ordered
- */
- protected EList<Bz397682C> listOfC;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz397682PImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ397682_P;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDbId()
- {
- return dbId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDbId(String newDbId)
- {
- String oldDbId = dbId;
- dbId = newDbId;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ397682_P__DB_ID, oldDbId, dbId));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Bz397682C> getListOfC()
- {
- if (listOfC == null)
- {
- listOfC = new EObjectContainmentWithInverseEList<Bz397682C>(Bz397682C.class, this, HibernateTestPackage.BZ397682_P__LIST_OF_C,
- HibernateTestPackage.BZ397682_C__REF_TO_P);
- }
- return listOfC;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_P__LIST_OF_C:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getListOfC()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_P__LIST_OF_C:
- return ((InternalEList<?>)getListOfC()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_P__DB_ID:
- return getDbId();
- case HibernateTestPackage.BZ397682_P__LIST_OF_C:
- return getListOfC();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_P__DB_ID:
- setDbId((String)newValue);
- return;
- case HibernateTestPackage.BZ397682_P__LIST_OF_C:
- getListOfC().clear();
- getListOfC().addAll((Collection<? extends Bz397682C>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_P__DB_ID:
- setDbId(DB_ID_EDEFAULT);
- return;
- case HibernateTestPackage.BZ397682_P__LIST_OF_C:
- getListOfC().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ397682_P__DB_ID:
- return DB_ID_EDEFAULT == null ? dbId != null : !DB_ID_EDEFAULT.equals(dbId);
- case HibernateTestPackage.BZ397682_P__LIST_OF_C:
- return listOfC != null && !listOfC.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (dbId: ");
- result.append(dbId);
- result.append(')');
- return result.toString();
- }
-
-} // Bz397682PImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057A1Impl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057A1Impl.java
deleted file mode 100644
index 21bb0e1e19..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057A1Impl.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz398057 A1</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class Bz398057A1Impl extends Bz398057AImpl implements Bz398057A1
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz398057A1Impl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ398057_A1;
- }
-
-} // Bz398057A1Impl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057AImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057AImpl.java
deleted file mode 100644
index 2a269e8c5d..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057AImpl.java
+++ /dev/null
@@ -1,267 +0,0 @@
-/*
- * Copyright (c) 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import java.util.Collection;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz398057 A</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057AImpl#getListOfB <em>List Of B</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057AImpl#getDbId <em>Db Id</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz398057AImpl extends EObjectImpl implements Bz398057A
-{
- /**
- * The cached value of the '{@link #getListOfB() <em>List Of B</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getListOfB()
- * @generated
- * @ordered
- */
- protected EList<Bz398057B> listOfB;
-
- /**
- * The default value of the '{@link #getDbId() <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDbId()
- * @generated
- * @ordered
- */
- protected static final String DB_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDbId() <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDbId()
- * @generated
- * @ordered
- */
- protected String dbId = DB_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz398057AImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ398057_A;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Bz398057B> getListOfB()
- {
- if (listOfB == null)
- {
- listOfB = new EObjectContainmentWithInverseEList<Bz398057B>(Bz398057B.class, this, HibernateTestPackage.BZ398057_A__LIST_OF_B,
- HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A);
- }
- return listOfB;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDbId()
- {
- return dbId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDbId(String newDbId)
- {
- String oldDbId = dbId;
- dbId = newDbId;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ398057_A__DB_ID, oldDbId, dbId));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_A__LIST_OF_B:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getListOfB()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_A__LIST_OF_B:
- return ((InternalEList<?>)getListOfB()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_A__LIST_OF_B:
- return getListOfB();
- case HibernateTestPackage.BZ398057_A__DB_ID:
- return getDbId();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_A__LIST_OF_B:
- getListOfB().clear();
- getListOfB().addAll((Collection<? extends Bz398057B>)newValue);
- return;
- case HibernateTestPackage.BZ398057_A__DB_ID:
- setDbId((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_A__LIST_OF_B:
- getListOfB().clear();
- return;
- case HibernateTestPackage.BZ398057_A__DB_ID:
- setDbId(DB_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_A__LIST_OF_B:
- return listOfB != null && !listOfB.isEmpty();
- case HibernateTestPackage.BZ398057_A__DB_ID:
- return DB_ID_EDEFAULT == null ? dbId != null : !DB_ID_EDEFAULT.equals(dbId);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (dbId: ");
- result.append(dbId);
- result.append(')');
- return result.toString();
- }
-
-} // Bz398057AImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057B1Impl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057B1Impl.java
deleted file mode 100644
index 97eda2c2f7..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057B1Impl.java
+++ /dev/null
@@ -1,187 +0,0 @@
-/*
- * Copyright (c) 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz398057 B1</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057B1Impl#getValueStr <em>Value Str</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz398057B1Impl extends Bz398057BImpl implements Bz398057B1
-{
- /**
- * The default value of the '{@link #getValueStr() <em>Value Str</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValueStr()
- * @generated
- * @ordered
- */
- protected static final String VALUE_STR_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValueStr() <em>Value Str</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValueStr()
- * @generated
- * @ordered
- */
- protected String valueStr = VALUE_STR_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz398057B1Impl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ398057_B1;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValueStr()
- {
- return valueStr;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValueStr(String newValueStr)
- {
- String oldValueStr = valueStr;
- valueStr = newValueStr;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ398057_B1__VALUE_STR, oldValueStr, valueStr));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B1__VALUE_STR:
- return getValueStr();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B1__VALUE_STR:
- setValueStr((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B1__VALUE_STR:
- setValueStr(VALUE_STR_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B1__VALUE_STR:
- return VALUE_STR_EDEFAULT == null ? valueStr != null : !VALUE_STR_EDEFAULT.equals(valueStr);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (valueStr: ");
- result.append(valueStr);
- result.append(')');
- return result.toString();
- }
-
-} // Bz398057B1Impl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057BImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057BImpl.java
deleted file mode 100644
index 09223b0cb9..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/Bz398057BImpl.java
+++ /dev/null
@@ -1,372 +0,0 @@
-/*
- * Copyright (c) 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Bz398057 B</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057BImpl#getRefToClassA <em>Ref To Class A</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057BImpl#getValue <em>Value</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl.Bz398057BImpl#getDbId <em>Db Id</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class Bz398057BImpl extends EObjectImpl implements Bz398057B
-{
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final double VALUE_EDEFAULT = 0.0;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected double value = VALUE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getDbId() <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDbId()
- * @generated
- * @ordered
- */
- protected static final String DB_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDbId() <em>Db Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDbId()
- * @generated
- * @ordered
- */
- protected String dbId = DB_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Bz398057BImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return HibernateTestPackage.Literals.BZ398057_B;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz398057A getRefToClassA()
- {
- if (eContainerFeatureID() != HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A)
- {
- return null;
- }
- return (Bz398057A)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRefToClassA(Bz398057A newRefToClassA, NotificationChain msgs)
- {
- msgs = eBasicSetContainer((InternalEObject)newRefToClassA, HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRefToClassA(Bz398057A newRefToClassA)
- {
- if (newRefToClassA != eInternalContainer() || eContainerFeatureID() != HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A && newRefToClassA != null)
- {
- if (EcoreUtil.isAncestor(this, newRefToClassA))
- {
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- }
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- {
- msgs = eBasicRemoveFromContainer(msgs);
- }
- if (newRefToClassA != null)
- {
- msgs = ((InternalEObject)newRefToClassA).eInverseAdd(this, HibernateTestPackage.BZ398057_A__LIST_OF_B, Bz398057A.class, msgs);
- }
- msgs = basicSetRefToClassA(newRefToClassA, msgs);
- if (msgs != null)
- {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A, newRefToClassA, newRefToClassA));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public double getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(double newValue)
- {
- double oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ398057_B__VALUE, oldValue, value));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDbId()
- {
- return dbId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDbId(String newDbId)
- {
- String oldDbId = dbId;
- dbId = newDbId;
- if (eNotificationRequired())
- {
- eNotify(new ENotificationImpl(this, Notification.SET, HibernateTestPackage.BZ398057_B__DB_ID, oldDbId, dbId));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A:
- if (eInternalContainer() != null)
- {
- msgs = eBasicRemoveFromContainer(msgs);
- }
- return basicSetRefToClassA((Bz398057A)otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A:
- return basicSetRefToClassA(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
- {
- switch (eContainerFeatureID())
- {
- case HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A:
- return eInternalContainer().eInverseRemove(this, HibernateTestPackage.BZ398057_A__LIST_OF_B, Bz398057A.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A:
- return getRefToClassA();
- case HibernateTestPackage.BZ398057_B__VALUE:
- return getValue();
- case HibernateTestPackage.BZ398057_B__DB_ID:
- return getDbId();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A:
- setRefToClassA((Bz398057A)newValue);
- return;
- case HibernateTestPackage.BZ398057_B__VALUE:
- setValue((Double)newValue);
- return;
- case HibernateTestPackage.BZ398057_B__DB_ID:
- setDbId((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A:
- setRefToClassA((Bz398057A)null);
- return;
- case HibernateTestPackage.BZ398057_B__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- case HibernateTestPackage.BZ398057_B__DB_ID:
- setDbId(DB_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case HibernateTestPackage.BZ398057_B__REF_TO_CLASS_A:
- return getRefToClassA() != null;
- case HibernateTestPackage.BZ398057_B__VALUE:
- return value != VALUE_EDEFAULT;
- case HibernateTestPackage.BZ398057_B__DB_ID:
- return DB_ID_EDEFAULT == null ? dbId != null : !DB_ID_EDEFAULT.equals(dbId);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy())
- {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(", dbId: ");
- result.append(dbId);
- result.append(')');
- return result.toString();
- }
-
-} // Bz398057BImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestFactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestFactoryImpl.java
deleted file mode 100644
index bec3ca1f2a..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestFactoryImpl.java
+++ /dev/null
@@ -1,344 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class HibernateTestFactoryImpl extends EFactoryImpl implements HibernateTestFactory
-{
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static HibernateTestFactory init()
- {
- try
- {
- HibernateTestFactory theHibernateTestFactory = (HibernateTestFactory)EPackage.Registry.INSTANCE.getEFactory(HibernateTestPackage.eNS_URI);
- if (theHibernateTestFactory != null)
- {
- return theHibernateTestFactory;
- }
- }
- catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new HibernateTestFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HibernateTestFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case HibernateTestPackage.BZ356181_MAIN:
- return createBz356181_Main();
- case HibernateTestPackage.BZ356181_TRANSIENT:
- return createBz356181_Transient();
- case HibernateTestPackage.BZ356181_NON_TRANSIENT:
- return createBz356181_NonTransient();
- case HibernateTestPackage.BZ387752_MAIN:
- return createBz387752_Main();
- case HibernateTestPackage.BZ380987_GROUP:
- return createBz380987_Group();
- case HibernateTestPackage.BZ380987_PLACE:
- return createBz380987_Place();
- case HibernateTestPackage.BZ380987_PERSON:
- return createBz380987_Person();
- case HibernateTestPackage.BZ398057_A:
- return createBz398057A();
- case HibernateTestPackage.BZ398057_A1:
- return createBz398057A1();
- case HibernateTestPackage.BZ398057_B:
- return createBz398057B();
- case HibernateTestPackage.BZ398057_B1:
- return createBz398057B1();
- case HibernateTestPackage.BZ397682_P:
- return createBz397682P();
- case HibernateTestPackage.BZ397682_C:
- return createBz397682C();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
- case HibernateTestPackage.BZ387752_ENUM:
- return createBz387752_EnumFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
- case HibernateTestPackage.BZ387752_ENUM:
- return convertBz387752_EnumToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz356181_Main createBz356181_Main()
- {
- Bz356181_MainImpl bz356181_Main = new Bz356181_MainImpl();
- return bz356181_Main;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz356181_Transient createBz356181_Transient()
- {
- Bz356181_TransientImpl bz356181_Transient = new Bz356181_TransientImpl();
- return bz356181_Transient;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz356181_NonTransient createBz356181_NonTransient()
- {
- Bz356181_NonTransientImpl bz356181_NonTransient = new Bz356181_NonTransientImpl();
- return bz356181_NonTransient;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz387752_Main createBz387752_Main()
- {
- Bz387752_MainImpl bz387752_Main = new Bz387752_MainImpl();
- return bz387752_Main;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz380987_Group createBz380987_Group()
- {
- Bz380987_GroupImpl bz380987_Group = new Bz380987_GroupImpl();
- return bz380987_Group;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz380987_Place createBz380987_Place()
- {
- Bz380987_PlaceImpl bz380987_Place = new Bz380987_PlaceImpl();
- return bz380987_Place;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz380987_Person createBz380987_Person()
- {
- Bz380987_PersonImpl bz380987_Person = new Bz380987_PersonImpl();
- return bz380987_Person;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz398057A createBz398057A()
- {
- Bz398057AImpl bz398057A = new Bz398057AImpl();
- return bz398057A;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz398057A1 createBz398057A1()
- {
- Bz398057A1Impl bz398057A1 = new Bz398057A1Impl();
- return bz398057A1;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz398057B createBz398057B()
- {
- Bz398057BImpl bz398057B = new Bz398057BImpl();
- return bz398057B;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz398057B1 createBz398057B1()
- {
- Bz398057B1Impl bz398057B1 = new Bz398057B1Impl();
- return bz398057B1;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz397682P createBz397682P()
- {
- Bz397682PImpl bz397682P = new Bz397682PImpl();
- return bz397682P;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz397682C createBz397682C()
- {
- Bz397682CImpl bz397682C = new Bz397682CImpl();
- return bz397682C;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Bz387752_Enum createBz387752_EnumFromString(EDataType eDataType, String initialValue)
- {
- Bz387752_Enum result = Bz387752_Enum.get(initialValue);
- if (result == null)
- {
- throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- }
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertBz387752_EnumToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HibernateTestPackage getHibernateTestPackage()
- {
- return (HibernateTestPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static HibernateTestPackage getPackage()
- {
- return HibernateTestPackage.eINSTANCE;
- }
-
-} // HibernateTestFactoryImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestPackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestPackageImpl.java
deleted file mode 100644
index 1fdae12f29..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/impl/HibernateTestPackageImpl.java
+++ /dev/null
@@ -1,845 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015, 2016 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.impl;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Enum;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestFactory;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class HibernateTestPackageImpl extends EPackageImpl implements HibernateTestPackage
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz356181_MainEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz356181_TransientEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz356181_NonTransientEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz387752_MainEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz380987_GroupEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz380987_PlaceEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz380987_PersonEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz398057AEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz398057A1EClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz398057BEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz398057B1EClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz397682PEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bz397682CEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum bz387752_EnumEEnum = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private HibernateTestPackageImpl()
- {
- super(eNS_URI, HibernateTestFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link HibernateTestPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static HibernateTestPackage init()
- {
- if (isInited)
- {
- return (HibernateTestPackage)EPackage.Registry.INSTANCE.getEPackage(HibernateTestPackage.eNS_URI);
- }
-
- // Obtain or create and register package
- HibernateTestPackageImpl theHibernateTestPackage = (HibernateTestPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof HibernateTestPackageImpl
- ? EPackage.Registry.INSTANCE.get(eNS_URI) : new HibernateTestPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theHibernateTestPackage.createPackageContents();
-
- // Initialize created meta-data
- theHibernateTestPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theHibernateTestPackage.freeze();
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(HibernateTestPackage.eNS_URI, theHibernateTestPackage);
- return theHibernateTestPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz356181_Main()
- {
- return bz356181_MainEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz356181_Main_Transient()
- {
- return (EAttribute)bz356181_MainEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz356181_Main_NonTransient()
- {
- return (EAttribute)bz356181_MainEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz356181_Main_TransientRef()
- {
- return (EReference)bz356181_MainEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz356181_Main_TransientOtherRef()
- {
- return (EReference)bz356181_MainEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz356181_Transient()
- {
- return bz356181_TransientEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz356181_NonTransient()
- {
- return bz356181_NonTransientEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz356181_NonTransient_Main()
- {
- return (EReference)bz356181_NonTransientEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz387752_Main()
- {
- return bz387752_MainEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz387752_Main_StrUnsettable()
- {
- return (EAttribute)bz387752_MainEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz387752_Main_StrSettable()
- {
- return (EAttribute)bz387752_MainEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz387752_Main_EnumSettable()
- {
- return (EAttribute)bz387752_MainEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz387752_Main_EnumUnsettable()
- {
- return (EAttribute)bz387752_MainEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz380987_Group()
- {
- return bz380987_GroupEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz380987_Group_People()
- {
- return (EReference)bz380987_GroupEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz380987_Place()
- {
- return bz380987_PlaceEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz380987_Place_Name()
- {
- return (EAttribute)bz380987_PlaceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz380987_Place_People()
- {
- return (EReference)bz380987_PlaceEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz380987_Person()
- {
- return bz380987_PersonEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz380987_Person_Name()
- {
- return (EAttribute)bz380987_PersonEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz380987_Person_Group()
- {
- return (EReference)bz380987_PersonEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz380987_Person_Places()
- {
- return (EReference)bz380987_PersonEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz398057A()
- {
- return bz398057AEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz398057A_ListOfB()
- {
- return (EReference)bz398057AEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz398057A_DbId()
- {
- return (EAttribute)bz398057AEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz398057A1()
- {
- return bz398057A1EClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz398057B()
- {
- return bz398057BEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz398057B_RefToClassA()
- {
- return (EReference)bz398057BEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz398057B_Value()
- {
- return (EAttribute)bz398057BEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz398057B_DbId()
- {
- return (EAttribute)bz398057BEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz398057B1()
- {
- return bz398057B1EClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz398057B1_ValueStr()
- {
- return (EAttribute)bz398057B1EClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz397682P()
- {
- return bz397682PEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz397682P_DbId()
- {
- return (EAttribute)bz397682PEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz397682P_ListOfC()
- {
- return (EReference)bz397682PEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBz397682C()
- {
- return bz397682CEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz397682C_RefToP()
- {
- return (EReference)bz397682CEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBz397682C_RefToC()
- {
- return (EReference)bz397682CEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBz397682C_DbId()
- {
- return (EAttribute)bz397682CEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getBz387752_Enum()
- {
- return bz387752_EnumEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HibernateTestFactory getHibernateTestFactory()
- {
- return (HibernateTestFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated)
- {
- return;
- }
- isCreated = true;
-
- // Create classes and their features
- bz356181_MainEClass = createEClass(BZ356181_MAIN);
- createEAttribute(bz356181_MainEClass, BZ356181_MAIN__TRANSIENT);
- createEAttribute(bz356181_MainEClass, BZ356181_MAIN__NON_TRANSIENT);
- createEReference(bz356181_MainEClass, BZ356181_MAIN__TRANSIENT_REF);
- createEReference(bz356181_MainEClass, BZ356181_MAIN__TRANSIENT_OTHER_REF);
-
- bz356181_TransientEClass = createEClass(BZ356181_TRANSIENT);
-
- bz356181_NonTransientEClass = createEClass(BZ356181_NON_TRANSIENT);
- createEReference(bz356181_NonTransientEClass, BZ356181_NON_TRANSIENT__MAIN);
-
- bz387752_MainEClass = createEClass(BZ387752_MAIN);
- createEAttribute(bz387752_MainEClass, BZ387752_MAIN__STR_UNSETTABLE);
- createEAttribute(bz387752_MainEClass, BZ387752_MAIN__STR_SETTABLE);
- createEAttribute(bz387752_MainEClass, BZ387752_MAIN__ENUM_SETTABLE);
- createEAttribute(bz387752_MainEClass, BZ387752_MAIN__ENUM_UNSETTABLE);
-
- bz380987_GroupEClass = createEClass(BZ380987_GROUP);
- createEReference(bz380987_GroupEClass, BZ380987_GROUP__PEOPLE);
-
- bz380987_PlaceEClass = createEClass(BZ380987_PLACE);
- createEAttribute(bz380987_PlaceEClass, BZ380987_PLACE__NAME);
- createEReference(bz380987_PlaceEClass, BZ380987_PLACE__PEOPLE);
-
- bz380987_PersonEClass = createEClass(BZ380987_PERSON);
- createEAttribute(bz380987_PersonEClass, BZ380987_PERSON__NAME);
- createEReference(bz380987_PersonEClass, BZ380987_PERSON__GROUP);
- createEReference(bz380987_PersonEClass, BZ380987_PERSON__PLACES);
-
- bz398057AEClass = createEClass(BZ398057_A);
- createEReference(bz398057AEClass, BZ398057_A__LIST_OF_B);
- createEAttribute(bz398057AEClass, BZ398057_A__DB_ID);
-
- bz398057A1EClass = createEClass(BZ398057_A1);
-
- bz398057BEClass = createEClass(BZ398057_B);
- createEReference(bz398057BEClass, BZ398057_B__REF_TO_CLASS_A);
- createEAttribute(bz398057BEClass, BZ398057_B__VALUE);
- createEAttribute(bz398057BEClass, BZ398057_B__DB_ID);
-
- bz398057B1EClass = createEClass(BZ398057_B1);
- createEAttribute(bz398057B1EClass, BZ398057_B1__VALUE_STR);
-
- bz397682PEClass = createEClass(BZ397682_P);
- createEAttribute(bz397682PEClass, BZ397682_P__DB_ID);
- createEReference(bz397682PEClass, BZ397682_P__LIST_OF_C);
-
- bz397682CEClass = createEClass(BZ397682_C);
- createEReference(bz397682CEClass, BZ397682_C__REF_TO_P);
- createEReference(bz397682CEClass, BZ397682_C__REF_TO_C);
- createEAttribute(bz397682CEClass, BZ397682_C__DB_ID);
-
- // Create enums
- bz387752_EnumEEnum = createEEnum(BZ387752_ENUM);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized)
- {
- return;
- }
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- bz398057A1EClass.getESuperTypes().add(getBz398057A());
- bz398057B1EClass.getESuperTypes().add(getBz398057B());
-
- // Initialize classes and features; add operations and parameters
- initEClass(bz356181_MainEClass, Bz356181_Main.class, "Bz356181_Main", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz356181_Main_Transient(), ecorePackage.getEString(), "transient", null, 0, 1, Bz356181_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz356181_Main_NonTransient(), ecorePackage.getEString(), "nonTransient", null, 0, 1, Bz356181_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz356181_Main_TransientRef(), getBz356181_Transient(), null, "transientRef", null, 0, 1, Bz356181_Main.class, IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz356181_Main_TransientOtherRef(), getBz356181_NonTransient(), null, "transientOtherRef", null, 0, 1, Bz356181_Main.class, IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz356181_TransientEClass, Bz356181_Transient.class, "Bz356181_Transient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(bz356181_NonTransientEClass, Bz356181_NonTransient.class, "Bz356181_NonTransient", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz356181_NonTransient_Main(), getBz356181_Main(), null, "main", null, 0, 1, Bz356181_NonTransient.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz387752_MainEClass, Bz387752_Main.class, "Bz387752_Main", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz387752_Main_StrUnsettable(), ecorePackage.getEString(), "strUnsettable", "def_value", 0, 1, Bz387752_Main.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz387752_Main_StrSettable(), ecorePackage.getEString(), "strSettable", "value", 0, 1, Bz387752_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz387752_Main_EnumSettable(), getBz387752_Enum(), "enumSettable", null, 0, 1, Bz387752_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz387752_Main_EnumUnsettable(), getBz387752_Enum(), "enumUnsettable", "VAL1", 0, 1, Bz387752_Main.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz380987_GroupEClass, Bz380987_Group.class, "Bz380987_Group", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz380987_Group_People(), getBz380987_Person(), getBz380987_Person_Group(), "people", null, 0, -1, Bz380987_Group.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz380987_PlaceEClass, Bz380987_Place.class, "Bz380987_Place", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz380987_Place_Name(), ecorePackage.getEString(), "name", null, 0, 1, Bz380987_Place.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz380987_Place_People(), getBz380987_Person(), getBz380987_Person_Places(), "people", null, 0, -1, Bz380987_Place.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz380987_PersonEClass, Bz380987_Person.class, "Bz380987_Person", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz380987_Person_Name(), ecorePackage.getEString(), "name", null, 0, 1, Bz380987_Person.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz380987_Person_Group(), getBz380987_Group(), getBz380987_Group_People(), "group", null, 0, -1, Bz380987_Person.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz380987_Person_Places(), getBz380987_Place(), getBz380987_Place_People(), "places", null, 0, -1, Bz380987_Person.class, !IS_TRANSIENT,
- !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz398057AEClass, Bz398057A.class, "Bz398057A", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz398057A_ListOfB(), getBz398057B(), getBz398057B_RefToClassA(), "listOfB", null, 0, -1, Bz398057A.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz398057A_DbId(), ecorePackage.getEString(), "dbId", null, 1, 1, Bz398057A.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz398057A1EClass, Bz398057A1.class, "Bz398057A1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(bz398057BEClass, Bz398057B.class, "Bz398057B", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz398057B_RefToClassA(), getBz398057A(), getBz398057A_ListOfB(), "refToClassA", null, 0, 1, Bz398057B.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz398057B_Value(), ecorePackage.getEDouble(), "value", null, 0, 1, Bz398057B.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz398057B_DbId(), ecorePackage.getEString(), "dbId", null, 1, 1, Bz398057B.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz398057B1EClass, Bz398057B1.class, "Bz398057B1", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz398057B1_ValueStr(), ecorePackage.getEString(), "valueStr", null, 0, 1, Bz398057B1.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz397682PEClass, Bz397682P.class, "Bz397682P", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBz397682P_DbId(), ecorePackage.getEString(), "dbId", null, 1, 1, Bz397682P.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz397682P_ListOfC(), getBz397682C(), getBz397682C_RefToP(), "listOfC", null, 0, -1, Bz397682P.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bz397682CEClass, Bz397682C.class, "Bz397682C", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBz397682C_RefToP(), getBz397682P(), getBz397682P_ListOfC(), "refToP", null, 0, 1, Bz397682C.class, !IS_TRANSIENT, !IS_VOLATILE,
- IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getBz397682C_RefToC(), getBz397682C(), null, "refToC", null, 0, 1, Bz397682C.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBz397682C_DbId(), ecorePackage.getEString(), "dbId", null, 1, 1, Bz397682C.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(bz387752_EnumEEnum, Bz387752_Enum.class, "Bz387752_Enum");
- addEEnumLiteral(bz387752_EnumEEnum, Bz387752_Enum.VAL0);
- addEEnumLiteral(bz387752_EnumEEnum, Bz387752_Enum.VAL1);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // teneo.jpa
- createTeneoAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>teneo.jpa</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createTeneoAnnotations()
- {
- String source = "teneo.jpa";
- addAnnotation(getBz356181_Main_Transient(), source, new String[] { "value", "@Transient" });
- addAnnotation(bz356181_TransientEClass, source, new String[] { "value", "@Transient" });
- addAnnotation(bz398057AEClass, source, new String[] { "value", "@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)" });
- addAnnotation(getBz398057A_DbId(), source, new String[] { "value", "@Id" });
- addAnnotation(bz398057BEClass, source, new String[] { "value", "@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)" });
- addAnnotation(getBz398057B_DbId(), source, new String[] { "value", "@Id" });
- addAnnotation(bz397682PEClass, source, new String[] { "value", "@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)" });
- addAnnotation(getBz397682P_DbId(), source, new String[] { "value", "@Id" });
- addAnnotation(getBz397682C_DbId(), source, new String[] { "value", "@Id" });
- }
-
-} // HibernateTestPackageImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestAdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestAdapterFactory.java
deleted file mode 100644
index 2ec105e1ee..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestAdapterFactory.java
+++ /dev/null
@@ -1,402 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.util;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage
- * @generated
- */
-public class HibernateTestAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static HibernateTestPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HibernateTestAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = HibernateTestPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected HibernateTestSwitch<Adapter> modelSwitch = new HibernateTestSwitch<Adapter>()
- {
- @Override
- public Adapter caseBz356181_Main(Bz356181_Main object)
- {
- return createBz356181_MainAdapter();
- }
-
- @Override
- public Adapter caseBz356181_Transient(Bz356181_Transient object)
- {
- return createBz356181_TransientAdapter();
- }
-
- @Override
- public Adapter caseBz356181_NonTransient(Bz356181_NonTransient object)
- {
- return createBz356181_NonTransientAdapter();
- }
-
- @Override
- public Adapter caseBz387752_Main(Bz387752_Main object)
- {
- return createBz387752_MainAdapter();
- }
-
- @Override
- public Adapter caseBz380987_Group(Bz380987_Group object)
- {
- return createBz380987_GroupAdapter();
- }
-
- @Override
- public Adapter caseBz380987_Place(Bz380987_Place object)
- {
- return createBz380987_PlaceAdapter();
- }
-
- @Override
- public Adapter caseBz380987_Person(Bz380987_Person object)
- {
- return createBz380987_PersonAdapter();
- }
-
- @Override
- public Adapter caseBz398057A(Bz398057A object)
- {
- return createBz398057AAdapter();
- }
-
- @Override
- public Adapter caseBz398057A1(Bz398057A1 object)
- {
- return createBz398057A1Adapter();
- }
-
- @Override
- public Adapter caseBz398057B(Bz398057B object)
- {
- return createBz398057BAdapter();
- }
-
- @Override
- public Adapter caseBz398057B1(Bz398057B1 object)
- {
- return createBz398057B1Adapter();
- }
-
- @Override
- public Adapter caseBz397682P(Bz397682P object)
- {
- return createBz397682PAdapter();
- }
-
- @Override
- public Adapter caseBz397682C(Bz397682C object)
- {
- return createBz397682CAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main <em>Bz356181 Main</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main
- * @generated
- */
- public Adapter createBz356181_MainAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient <em>Bz356181 Transient</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient
- * @generated
- */
- public Adapter createBz356181_TransientAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient <em>Bz356181 Non Transient</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient
- * @generated
- */
- public Adapter createBz356181_NonTransientAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main <em>Bz387752 Main</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main
- * @generated
- */
- public Adapter createBz387752_MainAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group <em>Bz380987 Group</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group
- * @generated
- */
- public Adapter createBz380987_GroupAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place <em>Bz380987 Place</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place
- * @generated
- */
- public Adapter createBz380987_PlaceAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person <em>Bz380987 Person</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person
- * @generated
- */
- public Adapter createBz380987_PersonAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A <em>Bz398057 A</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A
- * @generated
- */
- public Adapter createBz398057AAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1 <em>Bz398057 A1</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1
- * @generated
- */
- public Adapter createBz398057A1Adapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B <em>Bz398057 B</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B
- * @generated
- */
- public Adapter createBz398057BAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1 <em>Bz398057 B1</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1
- * @generated
- */
- public Adapter createBz398057B1Adapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P <em>Bz397682 P</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P
- * @generated
- */
- public Adapter createBz397682PAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C <em>Bz397682 C</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C
- * @generated
- */
- public Adapter createBz397682CAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} // HibernateTestAdapterFactory
diff --git a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestSwitch.java b/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestSwitch.java
deleted file mode 100644
index e9308089ea..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.hibernate/src/org/eclipse/emf/cdo/tests/hibernate/model/HibernateTest/util/HibernateTestSwitch.java
+++ /dev/null
@@ -1,463 +0,0 @@
-/*
- * Copyright (c) 2012, 2013, 2015 Eike Stepper (Loehne, Germany) and others.
- * 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.util;
-
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_NonTransient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz356181_Transient;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Group;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Person;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz380987_Place;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz387752_Main;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682C;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz397682P;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057A1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.Bz398057B1;
-import org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.hibernate.model.HibernateTest.HibernateTestPackage
- * @generated
- */
-public class HibernateTestSwitch<T> extends Switch<T>
-{
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static HibernateTestPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public HibernateTestSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = HibernateTestPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage)
- {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case HibernateTestPackage.BZ356181_MAIN:
- {
- Bz356181_Main bz356181_Main = (Bz356181_Main)theEObject;
- T result = caseBz356181_Main(bz356181_Main);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ356181_TRANSIENT:
- {
- Bz356181_Transient bz356181_Transient = (Bz356181_Transient)theEObject;
- T result = caseBz356181_Transient(bz356181_Transient);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ356181_NON_TRANSIENT:
- {
- Bz356181_NonTransient bz356181_NonTransient = (Bz356181_NonTransient)theEObject;
- T result = caseBz356181_NonTransient(bz356181_NonTransient);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ387752_MAIN:
- {
- Bz387752_Main bz387752_Main = (Bz387752_Main)theEObject;
- T result = caseBz387752_Main(bz387752_Main);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ380987_GROUP:
- {
- Bz380987_Group bz380987_Group = (Bz380987_Group)theEObject;
- T result = caseBz380987_Group(bz380987_Group);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ380987_PLACE:
- {
- Bz380987_Place bz380987_Place = (Bz380987_Place)theEObject;
- T result = caseBz380987_Place(bz380987_Place);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ380987_PERSON:
- {
- Bz380987_Person bz380987_Person = (Bz380987_Person)theEObject;
- T result = caseBz380987_Person(bz380987_Person);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ398057_A:
- {
- Bz398057A bz398057A = (Bz398057A)theEObject;
- T result = caseBz398057A(bz398057A);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ398057_A1:
- {
- Bz398057A1 bz398057A1 = (Bz398057A1)theEObject;
- T result = caseBz398057A1(bz398057A1);
- if (result == null)
- {
- result = caseBz398057A(bz398057A1);
- }
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ398057_B:
- {
- Bz398057B bz398057B = (Bz398057B)theEObject;
- T result = caseBz398057B(bz398057B);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ398057_B1:
- {
- Bz398057B1 bz398057B1 = (Bz398057B1)theEObject;
- T result = caseBz398057B1(bz398057B1);
- if (result == null)
- {
- result = caseBz398057B(bz398057B1);
- }
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ397682_P:
- {
- Bz397682P bz397682P = (Bz397682P)theEObject;
- T result = caseBz397682P(bz397682P);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case HibernateTestPackage.BZ397682_C:
- {
- Bz397682C bz397682C = (Bz397682C)theEObject;
- T result = caseBz397682C(bz397682C);
- if (result == null)
- {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz356181 Main</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz356181 Main</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz356181_Main(Bz356181_Main object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz356181 Transient</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz356181 Transient</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz356181_Transient(Bz356181_Transient object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz356181 Non Transient</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz356181 Non Transient</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz356181_NonTransient(Bz356181_NonTransient object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz387752 Main</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz387752 Main</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz387752_Main(Bz387752_Main object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz380987 Group</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz380987 Group</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz380987_Group(Bz380987_Group object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz380987 Place</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz380987 Place</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz380987_Place(Bz380987_Place object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz380987 Person</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz380987 Person</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz380987_Person(Bz380987_Person object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz398057 A</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz398057 A</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz398057A(Bz398057A object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz398057 A1</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz398057 A1</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz398057A1(Bz398057A1 object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz398057 B</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz398057 B</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz398057B(Bz398057B object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz398057 B1</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz398057 B1</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz398057B1(Bz398057B1 object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz397682 P</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz397682 P</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz397682P(Bz397682P object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Bz397682 C</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Bz397682 C</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBz397682C(Bz397682C object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} // HibernateTestSwitch

Back to the top