merge-update from trunk
authorPatric Plitzner <p.plitzner@bgbm.org>
Mon, 27 Oct 2014 13:45:51 +0000 (13:45 +0000)
committerPatric Plitzner <p.plitzner@bgbm.org>
Mon, 27 Oct 2014 13:45:51 +0000 (13:45 +0000)
121 files changed:
.gitattributes
.gitignore
eu.etaxonomy.taxeditor.application/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.application/pom.xml
eu.etaxonomy.taxeditor.bulkeditor/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.bulkeditor/plugin.xml
eu.etaxonomy.taxeditor.bulkeditor/pom.xml
eu.etaxonomy.taxeditor.editor/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.editor/plugin.xml
eu.etaxonomy.taxeditor.editor/pom.xml
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/molecular/AlignmentEditor.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/DataImportEditorContextMenu.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/SpecimenImportView.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/dataimport/transientServices/TransientOccurenceService.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateContentProvider.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateDropListener.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/contextMenu/CreateDerivateContextMenu.java
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/handler/DeleteDerivateHandler.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/operation/DeleteDerivateOperation.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.feature.platform/LICENSE.TXT [new file with mode: 0644]
eu.etaxonomy.taxeditor.feature.platform/feature.xml
eu.etaxonomy.taxeditor.feature.platform/pom.xml
eu.etaxonomy.taxeditor.feature/LICENSE.TXT [new file with mode: 0644]
eu.etaxonomy.taxeditor.feature/feature.xml
eu.etaxonomy.taxeditor.feature/pom.xml
eu.etaxonomy.taxeditor.help/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.help/pom.xml
eu.etaxonomy.taxeditor.navigation/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.navigation/pom.xml
eu.etaxonomy.taxeditor.printpublisher/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.printpublisher/pom.xml
eu.etaxonomy.taxeditor.remoting/.classpath [deleted file]
eu.etaxonomy.taxeditor.remoting/.project [deleted file]
eu.etaxonomy.taxeditor.remoting/.settings/org.eclipse.jdt.core.prefs [deleted file]
eu.etaxonomy.taxeditor.remoting/.settings/org.eclipse.pde.core.prefs [deleted file]
eu.etaxonomy.taxeditor.remoting/META-INF/MANIFEST.MF [deleted file]
eu.etaxonomy.taxeditor.remoting/build.properties [deleted file]
eu.etaxonomy.taxeditor.remoting/pom.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteConfiguration.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteController.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/cache/CdmServiceCacher.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmPersistentRemoteSource.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSource.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSourceBase.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSourceException.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/ICdmRemoteSource.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/taxeditor/remoting/RemotingTestPluginActivator.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/jetty-runner-9.2.3.v20140905.jar [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/start-9.2.3.v20140905.jar [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/config.properties [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/httpInvokerServiceClients.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/localApplicationContext.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remotingApplicationContext.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remoting_persistence_security.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remoting_services_security.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/exception/CDMServerException.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/BaseRemotingTest.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CDMServer.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmPersistentRemoteSourceTest.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmRemoteSourceTest.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmServerTest.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/HttpInvokerServicesTest.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/AbstractLazyInitializerTest.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/CdmServiceCacherTest.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/RemoteLazyLoadingTest.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/RemotePersistentCollectionTest.java [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/resources/datasources.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/cdm/cdm.datasources.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/cdm/testRemotingApplicationContext.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/taxeditor/lazyloading/AbstractLazyInitializerTest.xml [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/resources/h2/cdmTest.h2.db [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/resources/h2/cdmTest.trace.db [deleted file]
eu.etaxonomy.taxeditor.remoting/src/test/resources/unitils.properties [deleted file]
eu.etaxonomy.taxeditor.store/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.store/icons/character_data_derivate-16x16-32.png [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/pom.xml
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/wizard/AbstractImportWizard.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/ImageResources.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/parser/ParseHandler.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/store/CdmStore.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/ReferenceSelectionDialog.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/NumberWithLabelElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/OriginalLabelDataElement.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataController.java [deleted file]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataElement.java [deleted file]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataField.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/element/DateElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/openurl/OpenUrlSelectorWizard.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/CurrentDeterminationDetailSection.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/DerivedUnitGeneralDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/FieldUnitGeneralDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/OriginalLabelDataSection.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AbstractSampleDesignationDetailSection.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/CurrentSampleDesignationDetailSection.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/DnaQualityDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/DnaSampleGeneralDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/PrimerGeneralDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationDetailElement.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationDetailSection.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationHistoryDetailSection.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationTextDetailElement.java [new file with mode: 0644]
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SequenceGeneralDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/TissueSampleGeneralDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/TissueSampleGeneralDetailSection.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/media/MediaSpecimenGeneralDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/reference/ReferenceDetailElement.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/datasource/handler/UpdateDataSourceHandler.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/derivateSearch/DerivateLabelProvider.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/derivateSearch/DerivateSearchCompositeController.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/derivateSearch/DerivateSearchView.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/CdmSectionPart.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewer.java
eu.etaxonomy.taxeditor.test/META-INF/MANIFEST.MF
eu.etaxonomy.taxeditor.test/pom.xml
eu.etaxonomy.taxeditor/eu.etaxonomy.taxeditor.product
eu.etaxonomy.taxeditor/pom.xml
pom.xml

index 602aaca4f08bfb72d12850cf13c115a07ebc3382..b784f78f8a5a880c0f409c51759c8a9355a7591c 100644 (file)
@@ -548,6 +548,8 @@ eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/d
 eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/contextMenu/CreateDerivateContextMenu.java -text
 eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/contextMenu/DerivateViewContextMenu.java -text
 eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/contextMenu/SingleReadSequenceContextMenu.java -text
+eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/handler/DeleteDerivateHandler.java -text
+eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/operation/DeleteDerivateOperation.java -text
 eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/DescriptionElementDragListener.java -text
 eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/DescriptionElementDropAdapter.java -text
 eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/DescriptionElementTransfer.java -text
@@ -623,10 +625,12 @@ eu.etaxonomy.taxeditor.editor/src/test/java/eu/etaxonomy/taxeditor/editor/name/o
 eu.etaxonomy.taxeditor.editor/src/test/java/eu/etaxonomy/taxeditor/editor/name/operation/MoveTaxonOperationTest.java -text
 eu.etaxonomy.taxeditor.editor/src/test/java/eu/etaxonomy/taxeditor/editor/name/operation/SwapSynonymAndAcceptedOperationTest.java -text
 eu.etaxonomy.taxeditor.feature.platform/.project -text
+eu.etaxonomy.taxeditor.feature.platform/LICENSE.TXT -text
 eu.etaxonomy.taxeditor.feature.platform/build.properties -text
 eu.etaxonomy.taxeditor.feature.platform/feature.xml -text
 eu.etaxonomy.taxeditor.feature.platform/pom.xml -text
 eu.etaxonomy.taxeditor.feature/.project -text
+eu.etaxonomy.taxeditor.feature/LICENSE.TXT -text
 eu.etaxonomy.taxeditor.feature/build.properties -text
 eu.etaxonomy.taxeditor.feature/feature.xml -text
 eu.etaxonomy.taxeditor.feature/pom.xml -text
@@ -1015,50 +1019,6 @@ eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/print
 eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectServiceWizardPage.java -text
 eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectStylesheetWizardPage.java -text
 eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/SelectTaxaWizardPage.java -text
-eu.etaxonomy.taxeditor.remoting/.classpath -text
-eu.etaxonomy.taxeditor.remoting/.project -text
-eu.etaxonomy.taxeditor.remoting/.settings/org.eclipse.jdt.core.prefs -text
-eu.etaxonomy.taxeditor.remoting/.settings/org.eclipse.pde.core.prefs -text
-eu.etaxonomy.taxeditor.remoting/META-INF/MANIFEST.MF -text
-eu.etaxonomy.taxeditor.remoting/build.properties -text
-eu.etaxonomy.taxeditor.remoting/pom.xml -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteConfiguration.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteController.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/cache/CdmServiceCacher.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmPersistentRemoteSource.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSource.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSourceBase.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSourceException.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/ICdmRemoteSource.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/taxeditor/remoting/RemotingTestPluginActivator.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java -text
-eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/jetty-runner-9.2.3.v20140905.jar -text
-eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/start-9.2.3.v20140905.jar -text
-eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/config.properties -text
-eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/httpInvokerServiceClients.xml -text
-eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/localApplicationContext.xml -text
-eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remotingApplicationContext.xml -text
-eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remoting_persistence_security.xml -text
-eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remoting_services_security.xml -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/exception/CDMServerException.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/BaseRemotingTest.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CDMServer.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmPersistentRemoteSourceTest.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmRemoteSourceTest.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmServerTest.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/HttpInvokerServicesTest.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/AbstractLazyInitializerTest.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/CdmServiceCacherTest.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/RemoteLazyLoadingTest.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/RemotePersistentCollectionTest.java -text
-eu.etaxonomy.taxeditor.remoting/src/test/resources/datasources.xml -text
-eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/cdm/cdm.datasources.xml -text
-eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/cdm/testRemotingApplicationContext.xml -text
-eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/taxeditor/lazyloading/AbstractLazyInitializerTest.xml -text
-eu.etaxonomy.taxeditor.remoting/src/test/resources/h2/cdmTest.h2.db -text
-eu.etaxonomy.taxeditor.remoting/src/test/resources/h2/cdmTest.trace.db -text
-eu.etaxonomy.taxeditor.remoting/src/test/resources/unitils.properties -text
 eu.etaxonomy.taxeditor.store/.classpath -text
 eu.etaxonomy.taxeditor.store/.project -text
 eu.etaxonomy.taxeditor.store/META-INF/MANIFEST.MF -text
@@ -1099,6 +1059,7 @@ eu.etaxonomy.taxeditor.store/icons/binary.gif -text
 eu.etaxonomy.taxeditor.store/icons/bookmark.gif -text
 eu.etaxonomy.taxeditor.store/icons/category.gif -text
 eu.etaxonomy.taxeditor.store/icons/change.gif -text
+eu.etaxonomy.taxeditor.store/icons/character_data_derivate-16x16-32.png -text
 eu.etaxonomy.taxeditor.store/icons/clear.gif -text
 eu.etaxonomy.taxeditor.store/icons/close.gif -text
 eu.etaxonomy.taxeditor.store/icons/close_view.gif -text
@@ -1492,6 +1453,7 @@ eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/Lay
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/MinMaxTextSection.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/MultilanguageTextElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/NumberWithLabelElement.java -text
+eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/OriginalLabelDataElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/PartialElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/PointElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/RootElement.java -text
@@ -1509,8 +1471,7 @@ eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/group/grant
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/AbstractCdmComposite.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/DerivedUnitGeneralDetailElementMVC.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/GeographicPointElement.java -text
-eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataController.java -text
-eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataElement.java -text
+eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataField.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/combo/EnumTermCombo.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/combo/EnumTermComboController.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/element/DateElement.java -text
@@ -1687,6 +1648,7 @@ eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occ
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/derivedUnit/PreservedSpecimenGeneralDetailElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/derivedUnit/PreservedSpecimenGeneralDetailSection.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/derivedUnit/PreservedSpecimenSourceCollectionDetailSection.java -text
+eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AbstractSampleDesignationDetailSection.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AbstractUnboundEntityCollectionSection.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AmplificationCloningDetailElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AmplificationCloningDetailSection.java -text
@@ -1696,11 +1658,16 @@ eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occ
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AmplificationGeneralDetailSection.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AmplificationPrimerDetailElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AmplificationPrimerDetailSection.java -text
+eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/CurrentSampleDesignationDetailSection.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/DnaQualityDetailElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/DnaQualityDetailSection.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/DnaSampleGeneralDetailElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/DnaSampleGeneralDetailSection.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/PrimerGeneralDetailElement.java -text
+eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationDetailElement.java -text
+eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationDetailSection.java -text
+eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationHistoryDetailSection.java -text
+eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationTextDetailElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SequenceContigFileCollectionDetailSection.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SequenceGeneralDetailElement.java -text
 eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SequenceGeneralDetailSection.java -text
index 15187a3bd1e92944a0cc4086f50ff556e3bb9f93..5c8b928b8e9810e6ba3615b0efdeead665c5c54d 100644 (file)
@@ -31,8 +31,6 @@ eu.etaxonomy.taxeditor.navigation/.settings
 eu.etaxonomy.taxeditor.navigation/target
 eu.etaxonomy.taxeditor.printpublisher/.settings
 eu.etaxonomy.taxeditor.printpublisher/target
-eu.etaxonomy.taxeditor.remoting/lib/*
-eu.etaxonomy.taxeditor.remoting/target
 eu.etaxonomy.taxeditor.store/.settings
 eu.etaxonomy.taxeditor.store/hibernate.log
 eu.etaxonomy.taxeditor.store/target
index d4c616a67dcc0f4318f0bf772f4204e3eebe6d7d..c0a1e5305a51085dc4c3b011580435e32ee755ba 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Application
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.application;singleton:=true
-Bundle-Version: 3.3.8.qualifier
+Bundle-Version: 3.4.0.qualifier
 Bundle-Activator: eu.etaxonomy.taxeditor.TaxonomicEditorPlugin
 Bundle-Vendor: EDIT
 Bundle-Localization: OSGI-INF/l10n/plugin
index 20e1dfcca44cd067df817318071270dc06a4858d..eade0b2f589707db8585fb8e4915d315235c0840 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>3.3.8-SNAPSHOT</version>
+    <version>3.4.0-SNAPSHOT</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
index 46562b2ce1c2e895a8ebcbdbe6dde4b775112bf5..8baea95b92bab2b281a65f9e050699c8a0fa8fed 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Bulkeditor Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.bulkeditor;singleton:=true
-Bundle-Version: 3.3.8.qualifier
+Bundle-Version: 3.4.0.qualifier
 Bundle-Activator: eu.etaxonomy.taxeditor.bulkeditor.internal.TaxeditorBulkeditorPlugin
 Bundle-Vendor: EDIT
 Export-Package: eu.etaxonomy.taxeditor.annotatedlineeditor,
index 7d069767e433d913a04255aa971e2cb8ef3f84ea..4da979c0167b55bc9c1a085b492f3b0b26bd3c84 100644 (file)
             id="taxeditor-bulkeditor.command.setMarkerFlag"\r
             name="Set Marker Flag">\r
       </command>\r
-      <command\r
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.derivedunit.handler.AddDerivedUnitMediaHandler"\r
-            id="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addDerivedUnitMedia"\r
-            name="Add Derived Unit Media">\r
-      </command>\r
-      <command\r
-            defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.derivedunit.handler.AddFieldObjectMediaHandler"\r
-            id="eu.etaxonomy.taxeditor.bulkeditor.command.derivedunit.addFieldObjectMedia"\r
-            name="Add Field Object Media">\r
-      </command>\r
       <!--command\r
             defaultHandler="eu.etaxonomy.taxeditor.bulkeditor.handler.NewEntityHandler"\r
             id="eu.etaxonomy.taxeditor.bulkeditor.command.new"\r
index adaebb3e7a0461837642faebeb7cfaffc71a9f12..f3242396cf6859591351e57e55b93bd46d8f1519 100644 (file)
@@ -4,7 +4,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>taxeditor-parent</artifactId>
-               <version>3.3.8-SNAPSHOT</version>
+               <version>3.4.0-SNAPSHOT</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
index 15fa5be38f8768556325778e282a93c04e3c563f..dc6052e58354e72374afe2c06509a278c4609b13 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Editor Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.editor;singleton:=true
-Bundle-Version: 3.3.8.qualifier
+Bundle-Version: 3.4.0.qualifier
 Bundle-Activator: eu.etaxonomy.taxeditor.editor.internal.TaxeditorEditorPlugin
 Bundle-Vendor: %Bundle-Vendor.0
 Bundle-Localization: OSGI-INF/l10n/plugin
index 7f039453439c0511918de252ff0d9b96bccd3078..90254eae65b947e6dc43b11b8ee6cf88f9afc98e 100644 (file)
                commandId="taxeditor-editor.useExistingImage"
                label="%command.label.50"
                style="push">
-            <visibleWhen
-                  checkEnabled="false">
+            <visibleWhen>
                <reference
                      definitionId="isImageGallery">
                </reference>
                    <equals
                          value="eu.etaxonomy.taxeditor.editor.view.media">
                    </equals>
-                   <equals
-                         value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
-                   </equals>
                 </or>
              </with>
           </activeWhen>
             class="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler"
             commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistEditorHandler">
       </handler>
-      <handler
+            <handler
             class="eu.etaxonomy.taxeditor.editor.handler.LoadPherogramHandler"
             commandId="eu.etaxonomy.taxeditor.editor.molecular.AlignmentEditor.loadPherogram">
          <activeWhen>
             </with>
          </activeWhen>
       </handler>
+      <handler
+            class="eu.etaxonomy.taxeditor.editor.view.derivate.handler.DeleteDerivateHandler"
+            commandId="org.eclipse.ui.edit.delete">
+         <activeWhen>
+            <with
+                  variable="activePartId">
+               <equals
+                     value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
+               </equals>
+            </with>
+         </activeWhen>
+      </handler>
    </extension>
    <extension
          name="%extension.name"
index 1c6e3e8c5e0945045713ef8b7d3562dd4d50760e..da6a8af2debc17899cd751175c23fe4640af33b8 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
        <groupId>eu.etaxonomy</groupId>
        <artifactId>taxeditor-parent</artifactId>
-    <version>3.3.8-SNAPSHOT</version>
+    <version>3.4.0-SNAPSHOT</version>
   </parent>
   
   <modelVersion>4.0.0</modelVersion>
index ce1c9384d814bba961ad68dc1b5adecbc2f24366..ab3c65165c05a0f9c6ba9c2229459122593c5fa9 100644 (file)
@@ -98,17 +98,17 @@ public class AlignmentEditor extends EditorPart {
 //                     result.getDataAreas().getSequenceAreas(sequenceProvider.sequenceIDByName("Sequence 4")).add(pherogramArea);
 
                        PherogramProvider pherogramProvider = new BioJavaPherogramProvider(ChromatogramFactory.create(
-                                   new File("D:\\Users\\BenStoever\\Documents\\Studium\\Projekte\\Promotion\\EDITor\\Quelltexte\\LibrAlign branch\\Repository\\eu.etaxonomy.taxeditor.editor\\src\\main\\resources\\AlignmentTestData\\JR430_JR-P01.ab1")));
-                       PherogramArea pherogramArea = new PherogramArea(result.getContentArea(), pherogramProvider);
-                       pherogramArea.setFirstSeqPos(1);
-                       pherogramArea.setLeftCutPosition(13);
-                       pherogramArea.setRightCutPosition(697);
-                       pherogramArea.getAlignmentModel().setShiftChange(14, 1);
-                       pherogramArea.getAlignmentModel().setShiftChange(35, 1);
-                       result.getContentArea().getDataAreas().getSequenceAreas(sequenceProvider.sequenceIDByName("Read 1")).add(pherogramArea);
-
-                       pherogramProvider = new ReverseComplementPherogramProvider(new BioJavaPherogramProvider(ChromatogramFactory.create(
-                               new File("D:\\Users\\BenStoever\\Documents\\Studium\\Projekte\\Promotion\\EDITor\\Quelltexte\\LibrAlign branch\\Repository\\eu.etaxonomy.taxeditor.editor\\src\\main\\resources\\AlignmentTestData\\JR444_JR-P05.ab1"))));
+                    new File("/home/pplitzner/svn/LibrAlign/taxeditor/eu.etaxonomy.taxeditor.editor/src/main/resources/AlignmentTestData/JR430_JR-P01.ab1")));
+            PherogramArea pherogramArea = new PherogramArea(result.getContentArea(), pherogramProvider);
+            pherogramArea.setFirstSeqPos(1);
+            pherogramArea.setLeftCutPosition(13);
+            pherogramArea.setRightCutPosition(697);
+            pherogramArea.getAlignmentModel().setShiftChange(14, 1);
+            pherogramArea.getAlignmentModel().setShiftChange(35, 1);
+            result.getContentArea().getDataAreas().getSequenceAreas(sequenceProvider.sequenceIDByName("Read 1")).add(pherogramArea);
+
+            pherogramProvider = new ReverseComplementPherogramProvider(new BioJavaPherogramProvider(ChromatogramFactory.create(
+                new File("/home/pplitzner/svn/LibrAlign/taxeditor/eu.etaxonomy.taxeditor.editor/src/main/resources/AlignmentTestData/JR444_JR-P05.ab1"))));
                        pherogramArea = new PherogramArea(result.getContentArea(), pherogramProvider);
                        pherogramArea.setFirstSeqPos(1);
                        pherogramArea.setLeftCutPosition(267);
index d556221c8047671c0d13d992bea81a35e6644b08..4c2735fc52620dc6847b40af8def4416b37f497e 100644 (file)
@@ -31,6 +31,7 @@ import eu.etaxonomy.cdm.ext.occurrence.gbif.GbifQueryServiceWrapper;
 import eu.etaxonomy.cdm.ext.occurrence.gbif.GbifResponse;
 import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
 import eu.etaxonomy.taxeditor.editor.EditorUtil;
+import eu.etaxonomy.taxeditor.model.AbstractUtility;
 import eu.etaxonomy.taxeditor.store.CdmStore;
 
 public class DataImportEditorContextMenu extends CompoundContributionItem {
@@ -47,7 +48,7 @@ public class DataImportEditorContextMenu extends CompoundContributionItem {
                     @Override
                     public void fill(Menu menu, int index) {
                         final IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
-                        final IEditorPart activeEditor = window.getActivePage().getActiveEditor();
+                        final IEditorPart activeEditor = AbstractUtility.getActiveEditor();
                         final ISelection selection = window.getActivePage().getSelection();
                         if(selection instanceof StructuredSelection){
                             final StructuredSelection structuredSelection = (StructuredSelection)selection;
index 264e23b8469ebe1fa80c6903e6571dc1fed0410e..7c47c3151ea32736c41d834889839ffecac4d333 100644 (file)
@@ -69,6 +69,8 @@ public class SpecimenImportView extends DataImportView<SpecimenOrObservationBase
             TransientCdmRepository repo =
                     new TransientCdmRepository(CdmStore.getCurrentApplicationConfiguration());
             configurator.setCdmAppController(repo);
+            configurator.setAddMediaAsMediaSpecimen(true);
+            configurator.setDeterminationOnFieldUnitLevel(true);
 
             CdmDefaultImport<Abcd206ImportConfigurator> importer = new CdmDefaultImport<Abcd206ImportConfigurator>();
             importer.invoke(configurator);
index 9d915e29ad188b8063b81a1a381cabe460d9885b..ec743254295cc25407643fd674219102a1f6bfc1 100644 (file)
@@ -31,6 +31,7 @@ import eu.etaxonomy.cdm.api.service.DeleteResult;
 import eu.etaxonomy.cdm.api.service.IOccurrenceService;
 import eu.etaxonomy.cdm.api.service.config.DeleteConfiguratorBase;
 import eu.etaxonomy.cdm.api.service.config.IIdentifiableEntityServiceConfigurator;
+import eu.etaxonomy.cdm.api.service.dto.DerivateHierarchyDTO;
 import eu.etaxonomy.cdm.api.service.pager.Pager;
 import eu.etaxonomy.cdm.api.service.search.SearchResult;
 import eu.etaxonomy.cdm.api.service.util.TaxonRelationshipEdge;
@@ -915,6 +916,24 @@ public class TransientOccurenceService implements IOccurrenceService {
                return defaultService.findWithoutFlush(uuid);
        }
 
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.cdm.api.service.IOccurrenceService#listFieldUnitsByAssociatedTaxon(java.util.Set, eu.etaxonomy.cdm.model.taxon.Taxon, java.lang.Integer, java.lang.Integer, java.lang.Integer, java.util.List, java.util.List)
+     */
+    @Override
+    public Collection<FieldUnit> listFieldUnitsByAssociatedTaxon(Set<TaxonRelationshipEdge> includeRelationships,
+            Taxon associatedTaxon, Integer maxDepth, Integer pageSize, Integer pageNumber, List<OrderHint> orderHints,
+            List<String> propertyPaths) {
+        return defaultService.listFieldUnitsByAssociatedTaxon(includeRelationships, associatedTaxon, maxDepth, pageSize, pageNumber, orderHints, propertyPaths);
+    }
+
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.cdm.api.service.IOccurrenceService#assembleDerivateHierarchyDTO(eu.etaxonomy.cdm.model.occurrence.FieldUnit, java.util.UUID)
+     */
+    @Override
+    public DerivateHierarchyDTO assembleDerivateHierarchyDTO(FieldUnit fieldUnit, UUID associatedTaxonUuid) {
+        return defaultService.assembleDerivateHierarchyDTO(fieldUnit, associatedTaxonUuid);
+    }
+
     /* (non-Javadoc)
      * @see eu.etaxonomy.cdm.api.service.IOccurrenceService#getNonCascadedAssociatedElements(eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase, eu.etaxonomy.cdm.api.conversation.ConversationHolder)
      */
@@ -923,4 +942,12 @@ public class TransientOccurenceService implements IOccurrenceService {
         return defaultService.getNonCascadedAssociatedElements(specimen);
     }
 
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.cdm.api.service.IOccurrenceService#deleteDerivateHierarchy(eu.etaxonomy.cdm.model.common.ICdmBase)
+     */
+    @Override
+    public DeleteResult deleteDerivateHierarchy(ICdmBase arg0) {
+        return defaultService.deleteDerivateHierarchy(arg0);
+    }
+
 }
index 3d27e75c8f5ae1459f5ff177f5d97b5cf044f945..263d12a243fb7f5dd281ed1cef05cb5a4cc47aca 100644 (file)
@@ -16,6 +16,7 @@ import eu.etaxonomy.cdm.model.molecular.SingleRead;
 import eu.etaxonomy.cdm.model.occurrence.DerivationEvent;
 import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
 import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
+import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
 import eu.etaxonomy.taxeditor.editor.EditorUtil;
 
 public class DerivateContentProvider implements ITreeContentProvider {
@@ -56,7 +57,7 @@ public class DerivateContentProvider implements ITreeContentProvider {
             value = ((TreeNode) element).getValue();
         }
         Set<Object> children = new LinkedHashSet<Object>();
-        if(value instanceof DnaSample){
+        if(value instanceof DnaSample && ((DnaSample) value).getRecordBasis()==SpecimenOrObservationType.DnaSample){
             DnaSample dnaSample = (DnaSample)value;
             Set<Sequence> sequences = dnaSample.getSequences();
             for (Sequence sequence : sequences) {
@@ -101,7 +102,7 @@ public class DerivateContentProvider implements ITreeContentProvider {
             element = ((TreeNode) element).getValue();
         }
 
-        if(element instanceof DnaSample){
+        if(element instanceof DnaSample && ((DnaSample) element).getRecordBasis()==SpecimenOrObservationType.DnaSample){
             DnaSample dnaSample = (DnaSample)element;
             if(!dnaSample.getSequences().isEmpty()){// || !dnaSample.getAmplifications().isEmpty()){
                 return true;
index 69f175743e030568b3e904015de829284f4a00b2..6f6967c038f948167626c97871efeac87f0ddfe3 100644 (file)
@@ -21,6 +21,7 @@ import eu.etaxonomy.cdm.model.molecular.Sequence;
 import eu.etaxonomy.cdm.model.molecular.SingleRead;
 import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
 import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
+import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType;
 import eu.etaxonomy.taxeditor.editor.EditorUtil;
 import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.store.CdmStore;
@@ -103,7 +104,7 @@ public class DerivateDropListener extends ViewerDropAdapter {
         TreeNode fromParentNode = draggedNode.getParent();
         Object fromParentSpecimen = null;
         if(fromParentNode!=null){
-            fromParentNode.getValue();
+            fromParentSpecimen = fromParentNode.getValue();
         }
 
         // drag'n'drop for SpecimenOrObservationBase
@@ -112,8 +113,9 @@ public class DerivateDropListener extends ViewerDropAdapter {
             DerivedUnit draggedSpecimen = (DerivedUnit) draggedNodeValue;
             SpecimenOrObservationBase<?> targetSpecimen = (SpecimenOrObservationBase<?>) targetNodeValue;
             //check if type is a sub derivate type
-            if(!fromParentNode.equals(targetNode)//don't drag on direct parent node
-                    && fromParentSpecimen instanceof SpecimenOrObservationBase<?>){
+            if(fromParentSpecimen instanceof SpecimenOrObservationBase<?>
+            && fromParentNode!=null
+            && !fromParentNode.equals(targetNode)){//don't drag on direct parent node)
                 return occurrenceService.moveDerivate((SpecimenOrObservationBase<?>)fromParentSpecimen, targetSpecimen, draggedSpecimen);
             }
         }
@@ -127,7 +129,7 @@ public class DerivateDropListener extends ViewerDropAdapter {
         }
 
         // drag'n'drop for Sequence
-        else if(draggedNodeValue instanceof Sequence && targetNodeValue instanceof DnaSample ){
+        else if(draggedNodeValue instanceof Sequence && targetNodeValue instanceof DnaSample && ((SpecimenOrObservationBase<?>) targetNodeValue).getRecordBasis()==SpecimenOrObservationType.DnaSample){
             Sequence sequence = (Sequence)draggedNodeValue;
             if(fromParentSpecimen instanceof DnaSample){
                 return occurrenceService.moveSequence((DnaSample)fromParentSpecimen, (DnaSample)targetNodeValue, sequence);
index ad5c4f329930de15aadd744f362cdff36b6be940..a971784de2b3d74d020967abaf6011d9ce70a2de 100644 (file)
@@ -14,6 +14,7 @@ import org.eclipse.jface.viewers.ISelectionChangedListener;
 import org.eclipse.jface.viewers.SelectionChangedEvent;
 import org.eclipse.jface.viewers.StructuredSelection;
 import org.eclipse.jface.viewers.TreeNode;
+import org.eclipse.jface.viewers.TreeSelection;
 import org.eclipse.jface.viewers.TreeViewer;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.dnd.DND;
@@ -25,7 +26,6 @@ import org.eclipse.swt.widgets.Tree;
 import org.eclipse.ui.IEditorInput;
 import org.eclipse.ui.IEditorPart;
 import org.eclipse.ui.IEditorSite;
-import org.eclipse.ui.IMemento;
 import org.eclipse.ui.PartInitException;
 import org.eclipse.ui.part.EditorPart;
 
@@ -36,7 +36,6 @@ import eu.etaxonomy.cdm.model.molecular.Sequence;
 import eu.etaxonomy.cdm.model.molecular.SingleRead;
 import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
 import eu.etaxonomy.cdm.persistence.hibernate.CdmDataChangeMap;
-import eu.etaxonomy.taxeditor.model.IContextListener;
 import eu.etaxonomy.taxeditor.model.IDirtyMarkable;
 import eu.etaxonomy.taxeditor.model.IPartContentHasDetails;
 import eu.etaxonomy.taxeditor.model.IPartContentHasFactualData;
@@ -51,7 +50,7 @@ import eu.etaxonomy.taxeditor.view.derivateSearch.DerivateLabelProvider;
  */
 public class DerivateView extends EditorPart implements IPartContentHasFactualData, IDirtyMarkable,
         IConversationEnabled, IPartContentHasDetails, IPartContentHasMedia, IPartContentHasSupplementalData,
-        IContextListener, ISelectionChangedListener {
+        ISelectionChangedListener {
 
        /**
      * Key used for storing a single DerivateView in a memento
@@ -83,7 +82,6 @@ public class DerivateView extends EditorPart implements IPartContentHasFactualDa
      * Default constructor
      */
     public DerivateView() {
-        CdmStore.getContextManager().addContextListener(this);
     }
 
     /* (non-Javadoc)
@@ -251,6 +249,19 @@ public class DerivateView extends EditorPart implements IPartContentHasFactualDa
         changed(null);
     }
 
+    /**
+     * Refreshes the derivate hierarchy tree and expands the tree
+     * to show and select the given object.
+     *
+     * @param expandTo the object to which the tree should be expanded
+     */
+    public void refreshTree(Object expandTo){
+        refreshTree();
+        TreeSelection selection = (TreeSelection) viewer.getSelection();
+        viewer.expandToLevel(selection.getFirstElement(), 1);
+        viewer.setSelection(new StructuredSelection(new TreeNode(expandTo)));
+    }
+
     /**
      * Refreshes the derivate hierarchy tree
      */
@@ -260,6 +271,7 @@ public class DerivateView extends EditorPart implements IPartContentHasFactualDa
         viewer.refresh();
     }
 
+
     private void generateMultiLinkSingleReads() {
         Set<SingleRead> multiLinkSingleReads = new HashSet<SingleRead>();
         for(Entry<SingleRead, Collection<Sequence>> entry:CdmStore.getService(ISequenceService.class).getSingleReadSequencesMap().entrySet()){
@@ -277,64 +289,6 @@ public class DerivateView extends EditorPart implements IPartContentHasFactualDa
         return this.multiLinkSingleReads;
     }
 
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.model.IContextListener#contextAboutToStop(org.eclipse.ui.IMemento, org.eclipse.core.runtime.IProgressMonitor)
-     */
-    @Override
-    public void contextAboutToStop(IMemento memento, IProgressMonitor monitor) {
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.model.IContextListener#contextStop(org.eclipse.ui.IMemento, org.eclipse.core.runtime.IProgressMonitor)
-     */
-    @Override
-    public void contextStop(IMemento memento, IProgressMonitor monitor) {
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.model.IContextListener#contextStart(org.eclipse.ui.IMemento, org.eclipse.core.runtime.IProgressMonitor)
-     */
-    @Override
-    public void contextStart(IMemento memento, IProgressMonitor monitor) {
-//        if(memento == null){
-//            return;
-//        }
-//        IMemento editorMementos = memento.getChild(DERIVATE_VIEW_MEMENTO_KEY);
-//            DerivateViewEditorInput input = new DerivateViewEditorInput(UUID.fromString(editorInput.getString(DerivateViewEditorInput.UUID_MEMENTO_KEY)));
-//                try {
-//                    EditorUtil.open(input);
-//                } catch (PartInitException e) {
-//                    AbstractUtility.error(getClass(), "Error opening an editor window", e);
-//                }
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.model.IContextListener#contextRefresh(org.eclipse.core.runtime.IProgressMonitor)
-     */
-    @Override
-    public void contextRefresh(IProgressMonitor monitor) {
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.model.IContextListener#workbenchShutdown(org.eclipse.ui.IMemento, org.eclipse.core.runtime.IProgressMonitor)
-     */
-    @Override
-    public void workbenchShutdown(IMemento memento, IProgressMonitor monitor) {
-//        if (!conversation.isBound()) {
-//            conversation.bind();
-//        }
-//        conversation.close();
-//        if(memento == null){
-//            return;
-//        }
-//
-//        IEditorInput input = getEditorInput();
-//        if(input instanceof IPersistable){
-//            memento.createChild(DERIVATE_VIEW_MEMENTO_KEY);
-//            ((IPersistable) input).saveState(memento);
-//        }
-    }
-
     /* (non-Javadoc)
      * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
      */
index b956e86c779337c9dc9e6335f021c44b07749fe0..9c65824d4ca8af488788ae8978e07b318adefd25 100644 (file)
@@ -57,24 +57,26 @@ public class CreateDerivateContextMenu extends CompoundContributionItem {
                             if(selectedTreeNode.getValue() instanceof FieldUnit){
                                 createMenuItem(addMenu, "Specimen", selectedTreeNode, DerivedUnit.class, SpecimenOrObservationType.PreservedSpecimen);
                                 new MenuItem(addMenu, SWT.SEPARATOR);
-                                createMenuItem(addMenu, "Tissue Sample", selectedTreeNode, DerivedUnit.class, SpecimenOrObservationType.TissueSample);
+                                createMenuItem(addMenu, "Tissue Sample", selectedTreeNode, DnaSample.class, SpecimenOrObservationType.TissueSample);
                                 createMenuItem(addMenu, "DNA Sample", selectedTreeNode, DnaSample.class, SpecimenOrObservationType.DnaSample);
                                 createMenuItem(addMenu, "Media Specimen", selectedTreeNode, MediaSpecimen.class, SpecimenOrObservationType.Media);
                             }
                             //context menu for Specimen
                             else if(selectedTreeNode.getValue() instanceof DerivedUnit && ((DerivedUnit)selectedTreeNode.getValue()).getRecordBasis()==SpecimenOrObservationType.PreservedSpecimen){
 
-                                createMenuItem(addMenu, "Tissue Sample", selectedTreeNode, DerivedUnit.class, SpecimenOrObservationType.TissueSample);
+                                createMenuItem(addMenu, "Tissue Sample", selectedTreeNode, DnaSample.class, SpecimenOrObservationType.TissueSample);
                                 createMenuItem(addMenu, "DNA Sample", selectedTreeNode, DnaSample.class, SpecimenOrObservationType.DnaSample);
                                 createMenuItem(addMenu, "Media Specimen", selectedTreeNode, MediaSpecimen.class, SpecimenOrObservationType.Media);
                             }
                             //context menu for TissueSample
-                            else if(selectedTreeNode.getValue() instanceof DerivedUnit && ((DerivedUnit)selectedTreeNode.getValue()).getRecordBasis()==SpecimenOrObservationType.TissueSample){
+                            else if(selectedTreeNode.getValue() instanceof DnaSample && ((DnaSample)selectedTreeNode.getValue()).getRecordBasis()==SpecimenOrObservationType.TissueSample){
                                createMenuItem(addMenu, "DnaSample", selectedTreeNode, DnaSample.class, null);
+                               createMenuItem(addMenu, "Media Specimen", selectedTreeNode, MediaSpecimen.class, SpecimenOrObservationType.Media);
                             }
                             //context menu for DnaSample
-                            else if(selectedTreeNode.getValue() instanceof DnaSample){
+                            else if(selectedTreeNode.getValue() instanceof DnaSample && ((DnaSample)selectedTreeNode.getValue()).getRecordBasis()==SpecimenOrObservationType.DnaSample){
                                 createMenuItem(addMenu, "Consensus Sequence", selectedTreeNode, Sequence.class, null);
+                                createMenuItem(addMenu, "Media Specimen", selectedTreeNode, MediaSpecimen.class, SpecimenOrObservationType.Media);
                             }
                             //context menu for Sequence
                             else if(selectedTreeNode.getValue() instanceof Sequence){
@@ -123,21 +125,32 @@ public class CreateDerivateContextMenu extends CompoundContributionItem {
          */
         @Override
         public void widgetSelected(SelectionEvent e) {
+            Object createdElement = null;
             Object selectedDerivate = selectedNode.getValue();
-            if(selectedDerivate instanceof DnaSample){
+            if(selectedDerivate instanceof DnaSample && ((DnaSample) selectedDerivate).getRecordBasis()==SpecimenOrObservationType.DnaSample){
                 DnaSample dnaSample = (DnaSample)selectedDerivate;
                 if(childClass.equals(Sequence.class)){
-                    dnaSample.addSequence(Sequence.NewInstance(""));//why does this not have DnaSample as constructor parameter?
+                    Sequence newInstance = Sequence.NewInstance("");
+                    dnaSample.addSequence(newInstance);//why does this not have DnaSample as constructor parameter?
+                    createdElement = newInstance;
                 }
             }
             else if(selectedDerivate instanceof Sequence){
-                ((Sequence) selectedDerivate).addSingleRead(SingleRead.NewInstance());
+                SingleRead newInstance = SingleRead.NewInstance();
+                ((Sequence) selectedDerivate).addSingleRead(newInstance);
+                createdElement = newInstance;
             }
             else if(selectedDerivate instanceof SpecimenOrObservationBase && DerivedUnit.class.isAssignableFrom(childClass)){
                 SpecimenOrObservationBase<?> specimenOrObservationBase = (SpecimenOrObservationBase<?>)selectedDerivate;
                 DerivedUnit derivedUnit;
                 if(childClass.equals(DnaSample.class)){
                     derivedUnit = DnaSample.NewInstance();
+                    if(specimenType==SpecimenOrObservationType.DnaSample){
+                        derivedUnit.setRecordBasis(SpecimenOrObservationType.DnaSample);
+                    }
+                    else if(specimenType==SpecimenOrObservationType.TissueSample){
+                        derivedUnit.setRecordBasis(SpecimenOrObservationType.TissueSample);
+                    }
                 }
                 else if(childClass.equals(MediaSpecimen.class)){
                     derivedUnit = MediaSpecimen.NewInstance(specimenType);
@@ -150,6 +163,7 @@ public class CreateDerivateContextMenu extends CompoundContributionItem {
                 specimenOrObservationBase.addDerivationEvent(DerivationEvent.NewSimpleInstance(specimenOrObservationBase, derivedUnit, DerivationEventType.GATHERING_IN_SITU()));
                 derivedUnit.setCacheStrategy(new DerivedUnitFacadeCacheStrategy());
                 derivedUnit.getTitleCache(); //update title cache
+                createdElement = derivedUnit;
             }
 
             //refresh view
@@ -157,7 +171,7 @@ public class CreateDerivateContextMenu extends CompoundContributionItem {
             if(activePart instanceof DerivateView){
                 DerivateView derivateView = (DerivateView)activePart;
                 derivateView.changed(null);
-                derivateView.refreshTree();
+                derivateView.refreshTree(createdElement);
             }
         }
     }
diff --git a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/handler/DeleteDerivateHandler.java b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/handler/DeleteDerivateHandler.java
new file mode 100644 (file)
index 0000000..1542fb2
--- /dev/null
@@ -0,0 +1,78 @@
+// $Id$
+/**
+ * Copyright (C) 2007 EDIT
+ * European Distributed Institute of Taxonomy
+ * http://www.e-taxonomy.eu
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * See LICENSE.TXT at the top of this package for the full license terms.
+ */
+
+package eu.etaxonomy.taxeditor.editor.view.derivate.handler;
+
+import org.eclipse.core.commands.AbstractHandler;
+import org.eclipse.core.commands.ExecutionEvent;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.commands.common.NotDefinedException;
+import org.eclipse.core.commands.operations.IUndoContext;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.viewers.TreeNode;
+import org.eclipse.ui.IWorkbenchPart;
+import org.eclipse.ui.handlers.HandlerUtil;
+
+import eu.etaxonomy.cdm.model.common.CdmBase;
+import eu.etaxonomy.cdm.model.molecular.Sequence;
+import eu.etaxonomy.cdm.model.molecular.SingleRead;
+import eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase;
+import eu.etaxonomy.taxeditor.editor.EditorUtil;
+import eu.etaxonomy.taxeditor.editor.view.derivate.operation.DeleteDerivateOperation;
+import eu.etaxonomy.taxeditor.model.AbstractUtility;
+import eu.etaxonomy.taxeditor.model.MessagingUtils;
+import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
+
+/**
+ *
+ * @author pplitzner
+ * @date Oct 21, 2014
+ *
+ */
+public class DeleteDerivateHandler extends AbstractHandler {
+
+    /* (non-Javadoc)
+     * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
+     */
+    /** {@inheritDoc} */
+    @Override
+    public Object execute(ExecutionEvent event) throws ExecutionException {
+        IStructuredSelection selection = (IStructuredSelection) HandlerUtil.getActiveSite(event).getSelectionProvider().getSelection();
+
+        IWorkbenchPart part = HandlerUtil.getActivePart(event);
+        IPostOperationEnabled postOperationEnabled = (part instanceof IPostOperationEnabled) ? (IPostOperationEnabled) part : null;
+
+        try {
+            String label = event.getCommand().getName();
+
+            IUndoContext undoContext = EditorUtil.getUndoContext();
+
+            if(selection.size()>0){
+                Object object = selection.iterator().next();
+
+                if(object instanceof TreeNode){
+                    TreeNode treeNode = (TreeNode)object;
+                    Object value = ((TreeNode) object).getValue();
+                    if(value instanceof SpecimenOrObservationBase<?> || value instanceof Sequence || value instanceof SingleRead){
+                        DeleteDerivateOperation deleteDerivateOperation = new DeleteDerivateOperation(label, undoContext, (CdmBase) object, postOperationEnabled);
+                        AbstractUtility.executeOperation(deleteDerivateOperation);
+                    }
+                }
+                else{
+                    MessagingUtils.error(getClass(), "Selection is not valid for this delete handler", null);
+                }
+            }
+
+        } catch (NotDefinedException e) {
+            MessagingUtils.warn(getClass(), "Command name not set.");
+        }
+        return null;
+    }
+}
diff --git a/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/operation/DeleteDerivateOperation.java b/eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/operation/DeleteDerivateOperation.java
new file mode 100644 (file)
index 0000000..9ef9450
--- /dev/null
@@ -0,0 +1,73 @@
+/**
+ * Copyright (C) 2007 EDIT
+ * European Distributed Institute of Taxonomy
+ * http://www.e-taxonomy.eu
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * See LICENSE.TXT at the top of this package for the full license terms.
+ */
+
+package eu.etaxonomy.taxeditor.editor.view.derivate.operation;
+
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.commands.operations.IUndoContext;
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+
+import eu.etaxonomy.cdm.model.common.CdmBase;
+import eu.etaxonomy.taxeditor.operation.AbstractPostOperation;
+import eu.etaxonomy.taxeditor.operation.IPostOperationEnabled;
+
+/**
+ *
+ * @author pplitzner
+ * @date Oct 21, 2014
+ *
+ */
+public class DeleteDerivateOperation extends AbstractPostOperation<CdmBase> {
+
+    public DeleteDerivateOperation(String label, IUndoContext undoContext, CdmBase element,
+            IPostOperationEnabled postOperationEnabled) {
+        super(label, undoContext, element, postOperationEnabled);
+    }
+
+    /*
+     * (non-Javadoc)
+     *
+     * @see
+     * org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse
+     * .core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
+     */
+    /** {@inheritDoc} */
+    @Override
+    public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
+        return postExecute(null);
+    }
+
+    /*
+     * (non-Javadoc)
+     *
+     * @see
+     * org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse
+     * .core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
+     */
+    /** {@inheritDoc} */
+    @Override
+    public IStatus redo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
+        return execute(monitor, info);
+    }
+
+    /*
+     * (non-Javadoc)
+     *
+     * @see
+     * org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse
+     * .core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
+     */
+    /** {@inheritDoc} */
+    @Override
+    public IStatus undo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
+        return postExecute(element);
+    }
+}
diff --git a/eu.etaxonomy.taxeditor.feature.platform/LICENSE.TXT b/eu.etaxonomy.taxeditor.feature.platform/LICENSE.TXT
new file mode 100644 (file)
index 0000000..e56def0
--- /dev/null
@@ -0,0 +1,4 @@
+The contents of this feature are subject to the Eclipse Public License Version 1.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+http://www.eclipse.org/legal/epl-v10.html
+
+Software distributed under the License is distributed on an &quot;AS IS&quot; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
\ No newline at end of file
index 21e0de374261e6dca5b2368943d8c95d95e2cccd..79596d803cae8b712484510a082650a04108ede2 100644 (file)
@@ -2,18 +2,11 @@
 <feature
       id="eu.etaxonomy.taxeditor.feature.platform"
       label="Taxeditor Dependencies"
-      version="3.3.8.qualifier"
+      version="3.4.0.qualifier"
       os="linux,macosx,win32"
       ws="cocoa,gtk,win32"
       arch="x86,x86_64">
 
-   <!--license url="http://www.eclipse.org/legal/epl-v10.html">
-      The contents of this file are subject to the Eclipse Public License Version 1.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
-http://www.eclipse.org/legal/epl-v10.html
-
-Software distributed under the License is distributed on an &quot;AS IS&quot; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
-   </license-->
-
    <url>
       <update label="EDIT Taxonomic Editor" url="http://wp5.e-taxonomy.eu/taxeditor/update"/>
    </url>
index 61024e776b5de89afd893b7a695745dfb3255c7a..d7e0536d4226d8700b8ea8a7babc4c1ddbbd0039 100644 (file)
@@ -3,7 +3,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>taxeditor-parent</artifactId>
-               <version>3.3.8-SNAPSHOT</version>
+               <version>3.4.0-SNAPSHOT</version>
        </parent>
        <modelVersion>4.0.0</modelVersion>
        <artifactId>eu.etaxonomy.taxeditor.feature.platform</artifactId>
diff --git a/eu.etaxonomy.taxeditor.feature/LICENSE.TXT b/eu.etaxonomy.taxeditor.feature/LICENSE.TXT
new file mode 100644 (file)
index 0000000..e56def0
--- /dev/null
@@ -0,0 +1,4 @@
+The contents of this feature are subject to the Eclipse Public License Version 1.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
+http://www.eclipse.org/legal/epl-v10.html
+
+Software distributed under the License is distributed on an &quot;AS IS&quot; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
\ No newline at end of file
index e16cb13673bd132098479969c5a3aaa917593e30..df501596241cb7adca55d5d4fa705bdef4692091 100644 (file)
@@ -2,7 +2,7 @@
 <feature
       id="eu.etaxonomy.taxeditor.feature"
       label="Taxonomic Editor"
-      version="3.3.8.qualifier"
+      version="3.4.0.qualifier"
       provider-name="EDIT"
       plugin="eu.etaxonomy.taxeditor.application"
       os="linux,macosx,win32"
       [Enter Copyright Description here.]
    </copyright>
 
-   <!--license url="http://www.mozilla.org/MPL/">
-      The contents of this file are subject to the Mozilla Public License Version 1.1 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
-http://www.mozilla.org/MPL/
-
-Software distributed under the License is distributed on an &quot;AS IS&quot; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
-   </license-->
-
    <url>
       <update label="EDIT Taxonomic Editor" url="http://cybertaxonomy.eu/download/taxeditor/update/"/>
    </url>
index 5633fac66b7d60787e4779d07a21aac986a44ff0..d553aec651a999eb45752257d101155d75466219 100644 (file)
@@ -3,7 +3,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>taxeditor-parent</artifactId>
-               <version>3.3.8-SNAPSHOT</version>
+               <version>3.4.0-SNAPSHOT</version>
        </parent>
        <modelVersion>4.0.0</modelVersion>
        <artifactId>eu.etaxonomy.taxeditor.feature</artifactId>
index 543e164e2bfbdc01ca2b27d0bc6cdee4063b0d1c..9af1f6d9c2abec616084ccf4c992c33de9bfcc19 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Help
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.help; singleton:=true
-Bundle-Version: 3.3.8.qualifier
+Bundle-Version: 3.4.0.qualifier
 Bundle-Activator: eu.etaxonomy.taxeditor.help.Activator
 Bundle-Vendor: EDIT
 Require-Bundle: org.eclipse.ui,
index 8fa6ae67c98550ac1471f2d804fd90ae844ed08b..be078cd807b17934d07a6c351953d59202178476 100644 (file)
@@ -4,7 +4,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>taxeditor-parent</artifactId>
-               <version>3.3.8-SNAPSHOT</version>
+               <version>3.4.0-SNAPSHOT</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
index 87cf5d4596b9e0294d9fee96eab4a56b1aad733f..0c596eaf6ed7f8c0009e30663ecf54ac6041d3b9 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Navigation Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.navigation;singleton:=true
-Bundle-Version: 3.3.8.qualifier
+Bundle-Version: 3.4.0.qualifier
 Bundle-Vendor: EDIT
 Export-Package: eu.etaxonomy.cdm,
  eu.etaxonomy.taxeditor.navigation,
index 3ff2a55770b900f0e28aa40378d3d4d574488a43..67c35d572774424ab4cbbbe485c8dd12ccaee1af 100644 (file)
@@ -4,7 +4,7 @@
        <parent>
                <groupId>eu.etaxonomy</groupId>
                <artifactId>taxeditor-parent</artifactId>
-               <version>3.3.8-SNAPSHOT</version>
+               <version>3.4.0-SNAPSHOT</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
index 99e8e0c56b64293f199b2a1da07d258434f8c337..2b4b2ade6f166a2da787877be7bc7ccb268e6b41 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: Printpublisher Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.printpublisher;singleton:=true
-Bundle-Version: 3.3.8.qualifier
+Bundle-Version: 3.4.0.qualifier
 Require-Bundle: org.eclipse.osgi,
  org.eclipse.ui,
  eu.etaxonomy.taxeditor.cdmlib,
index a200a1a507910be7aae177184f2377bc33fd3ed5..6aaf4e7fcdb68fbe6d895282a06f041d6543e7b0 100644 (file)
@@ -4,7 +4,7 @@
        <parent>
                <artifactId>taxeditor-parent</artifactId>
                <groupId>eu.etaxonomy</groupId>
-               <version>3.3.8-SNAPSHOT</version>
+               <version>3.4.0-SNAPSHOT</version>
        </parent>
 
        <modelVersion>4.0.0</modelVersion>
diff --git a/eu.etaxonomy.taxeditor.remoting/.classpath b/eu.etaxonomy.taxeditor.remoting/.classpath
deleted file mode 100644 (file)
index b26afa6..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-       <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
-       <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
-       <classpathentry including="**/*.java" kind="src" output="target/test-classes" path="src/test/java"/>
-       <classpathentry excluding="**/*.java" kind="src" output="target/test-classes" path="src/test/resources"/>
-       <classpathentry exported="true" kind="lib" path="lib/dbunit-2.4.9.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/cdmlib-persistence-3.3.8-SNAPSHOT.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.aop-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.aspects-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.beans-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.core-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.expression-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.jdbc-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.orm-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.transaction-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.web-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/org.springframework.context-3.2.2.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/hibernate-commons-annotations-4.0.1.Final.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/hibernate-core-4.1.10.Final.jar" sourcepath="/home/cmathew/Temp/hibernate-core-4.1.10.Final-sources.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/hibernate-entitymanager-4.1.10.Final.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/hibernate-envers-4.1.10.Final.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/hibernate-search-engine-4.2.0.Final.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/hibernate-jpa-2.0-api-1.0.1.Final.jar"/>
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-       <classpathentry exported="true" kind="lib" path="lib/aspectjrt-1.7.1.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/c3p0-0.9.2.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/cdmlib-commons-3.3.8-SNAPSHOT.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/cdmlib-ext-3.3.8-SNAPSHOT.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/cdmlib-model-3.3.8-SNAPSHOT.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/cdmlib-services-3.3.8-SNAPSHOT.jar" sourcepath="/home/cmathew/.m2/repository/eu/etaxonomy/cdmlib-services/3.3.8-SNAPSHOT/cdmlib-services-3.3.8-SNAPSHOT-sources.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/ehcache-core-2.4.3.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/hamcrest-core-1.3.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/jboss-logging-3.1.3.GA.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/jboss-transaction-api_1.1_spec-1.0.0.Final.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/jdom-1.1.3.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/junit-4.11.jar" sourcepath="/home/cmathew/Downloads/junit-4.11-sources.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/log4j-1.2.17.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/spring-security-config-3.1.3.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/spring-security-core-3.1.3.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/spring-security-remoting-3.1.3.RELEASE.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/unitils-core-3.4.2.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/commons-logging-1.1.1.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/commons-lang-2.6.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/aopalliance-1.0.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/joda-time-2.1.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/lsid-client-1.1.2.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/lucene-core-3.6.2.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/lsid-server-1.1.2.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/slf4j-api-1.7.2.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/javassist-3.17.1-GA.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/unitils-spring-3.4.2.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/unitils-database-3.4.2.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/commons-dbcp-1.4.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/commons-pool-1.5.4.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/unitils-dbmaintainer-3.4.2.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/h2-1.4.181.jar"/>
-       <classpathentry exported="true" kind="lib" path="lib/unitils-dbunit-3.4.2.jar"/>
-       <classpathentry kind="output" path="target/classes"/>
-</classpath>
diff --git a/eu.etaxonomy.taxeditor.remoting/.project b/eu.etaxonomy.taxeditor.remoting/.project
deleted file mode 100644 (file)
index a73967e..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>eu.etaxonomy.taxeditor.remoting</name>
-       <comment>Holds all UI tests for the Taxonomic Editor. NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>org.eclipse.jdt.core.javabuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.ManifestBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.SchemaBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.jdt.core.javanature</nature>
-               <nature>org.eclipse.pde.PluginNature</nature>
-       </natures>
-</projectDescription>
diff --git a/eu.etaxonomy.taxeditor.remoting/.settings/org.eclipse.jdt.core.prefs b/eu.etaxonomy.taxeditor.remoting/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644 (file)
index c537b63..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
diff --git a/eu.etaxonomy.taxeditor.remoting/.settings/org.eclipse.pde.core.prefs b/eu.etaxonomy.taxeditor.remoting/.settings/org.eclipse.pde.core.prefs
deleted file mode 100644 (file)
index f29e940..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-eclipse.preferences.version=1
-pluginProject.extensions=false
-resolve.requirebundle=false
diff --git a/eu.etaxonomy.taxeditor.remoting/META-INF/MANIFEST.MF b/eu.etaxonomy.taxeditor.remoting/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index 05c0c2d..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: UI Test Bundle
-Bundle-SymbolicName: eu.etaxonomy.taxeditor.remoting;singleton:=true
-Bundle-Version: 3.3.8.qualifier
-Bundle-Activator: eu.etaxonomy.taxeditor.remoting.RemotingTestPluginActivator
-Bundle-Vendor: EDIT
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Bundle-ActivationPolicy: lazy
-Export-Package: eu.etaxonomy.cdm.api.application,
- eu.etaxonomy.cdm.remote,
- eu.etaxonomy.taxeditor.httpinvoker,
- org.hibernate.collection.internal,
- org.hibernate.proxy
-Bundle-ClassPath: lib/aspectjrt-1.7.1.jar,
- lib/c3p0-0.9.2.jar,
- lib/cdmlib-commons-3.3.8-SNAPSHOT.jar,
- lib/cdmlib-ext-3.3.8-SNAPSHOT.jar,
- lib/cdmlib-model-3.3.8-SNAPSHOT.jar,
- lib/cdmlib-services-3.3.8-SNAPSHOT.jar,
- lib/ehcache-core-2.4.3.jar,
- lib/hamcrest-core-1.3.jar,
- lib/jboss-logging-3.1.3.GA.jar,
- lib/jboss-transaction-api_1.1_spec-1.0.0.Final.jar,
- lib/jdom-1.1.3.jar,
- lib/junit-4.11.jar,
- lib/log4j-1.2.17.jar,
- lib/spring-security-config-3.1.3.RELEASE.jar,
- lib/spring-security-core-3.1.3.RELEASE.jar,
- lib/spring-security-remoting-3.1.3.RELEASE.jar,
- lib/unitils-core-3.4.2.jar,
- lib/commons-logging-1.1.1.jar,
- lib/commons-lang-2.6.jar,
- lib/aopalliance-1.0.jar,
- lib/joda-time-2.1.jar,
- lib/lsid-client-1.1.2.jar,
- lib/lucene-core-3.6.2.jar,
- lib/lsid-server-1.1.2.jar,
- lib/slf4j-api-1.7.2.jar,
- lib/javassist-3.17.1-GA.jar,
- lib/unitils-spring-3.4.2.jar,
- lib/unitils-database-3.4.2.jar,
- lib/commons-dbcp-1.4.jar,
- lib/commons-pool-1.5.4.jar,
- lib/unitils-dbmaintainer-3.4.2.jar,
- lib/h2-1.4.181.jar,
- lib/unitils-dbunit-3.4.2.jar,
- lib/hibernate-jpa-2.0-api-1.0.1.Final.jar,
- lib/hibernate-commons-annotations-4.0.1.Final.jar,
- lib/hibernate-core-4.1.10.Final.jar,
- lib/hibernate-entitymanager-4.1.10.Final.jar,
- lib/hibernate-envers-4.1.10.Final.jar,
- lib/hibernate-search-engine-4.2.0.Final.jar,
- lib/org.springframework.context-3.2.2.RELEASE.jar,
- lib/org.springframework.aop-3.2.2.RELEASE.jar,
- lib/org.springframework.aspects-3.2.2.RELEASE.jar,
- lib/org.springframework.beans-3.2.2.RELEASE.jar,
- lib/org.springframework.core-3.2.2.RELEASE.jar,
- lib/org.springframework.expression-3.2.2.RELEASE.jar,
- lib/org.springframework.jdbc-3.2.2.RELEASE.jar,
- lib/org.springframework.orm-3.2.2.RELEASE.jar,
- lib/org.springframework.transaction-3.2.2.RELEASE.jar,
- lib/org.springframework.web-3.2.2.RELEASE.jar,
- lib/cdmlib-persistence-3.3.8-SNAPSHOT.jar,
- lib/dbunit-2.4.9.jar
-Import-Package: org.osgi.framework
-Require-Bundle: org.eclipse.osgi
-
diff --git a/eu.etaxonomy.taxeditor.remoting/build.properties b/eu.etaxonomy.taxeditor.remoting/build.properties
deleted file mode 100644 (file)
index 5385cab..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-output.. = target/classes/
-bin.includes = META-INF/,\
-               lib/aspectjrt-1.7.1.jar,\
-               lib/c3p0-0.9.2.jar,\
-               lib/cdmlib-commons-3.3.8-SNAPSHOT.jar,\
-               lib/cdmlib-ext-3.3.8-SNAPSHOT.jar,\
-               lib/cdmlib-model-3.3.8-SNAPSHOT.jar,\
-               lib/cdmlib-services-3.3.8-SNAPSHOT.jar,\
-               lib/ehcache-core-2.4.3.jar,\
-               lib/hamcrest-core-1.3.jar,\
-               lib/jboss-logging-3.1.3.GA.jar,\
-               lib/jboss-transaction-api_1.1_spec-1.0.0.Final.jar,\
-               lib/jdom-1.1.3.jar,\
-               lib/junit-4.11.jar,\
-               lib/log4j-1.2.17.jar,\
-               lib/spring-security-config-3.1.3.RELEASE.jar,\
-               lib/spring-security-core-3.1.3.RELEASE.jar,\
-               lib/spring-security-remoting-3.1.3.RELEASE.jar,\
-               lib/unitils-core-3.4.2.jar,\
-               lib/commons-logging-1.1.1.jar,\
-               lib/commons-lang-2.6.jar,\
-               lib/aopalliance-1.0.jar,\
-               lib/joda-time-2.1.jar,\
-               lib/lsid-client-1.1.2.jar,\
-               lib/lucene-core-3.6.2.jar,\
-               lib/lsid-server-1.1.2.jar,\
-               lib/slf4j-api-1.7.2.jar,\
-               lib/javassist-3.17.1-GA.jar,\
-               src/main/resources/etc/jetty/cdmlib-remote-webapp.war,\
-               lib/unitils-spring-3.4.2.jar,\
-               lib/unitils-database-3.4.2.jar,\
-               lib/commons-dbcp-1.4.jar,\
-               lib/commons-pool-1.5.4.jar,\
-               lib/unitils-dbmaintainer-3.4.2.jar,\
-               lib/h2-1.4.181.jar,\
-               lib/unitils-dbunit-3.4.2.jar,\
-               lib/hibernate-jpa-2.0-api-1.0.1.Final.jar,\
-               lib/hibernate-commons-annotations-4.0.1.Final.jar,\
-               lib/hibernate-core-4.1.10.Final.jar,\
-               lib/hibernate-entitymanager-4.1.10.Final.jar,\
-               lib/hibernate-envers-4.1.10.Final.jar,\
-               lib/hibernate-search-engine-4.2.0.Final.jar,\
-               lib/org.springframework.context-3.2.2.RELEASE.jar,\
-               lib/org.springframework.aop-3.2.2.RELEASE.jar,\
-               lib/org.springframework.aspects-3.2.2.RELEASE.jar,\
-               lib/org.springframework.beans-3.2.2.RELEASE.jar,\
-               lib/org.springframework.core-3.2.2.RELEASE.jar,\
-               lib/org.springframework.expression-3.2.2.RELEASE.jar,\
-               lib/org.springframework.jdbc-3.2.2.RELEASE.jar,\
-               lib/org.springframework.orm-3.2.2.RELEASE.jar,\
-               lib/org.springframework.transaction-3.2.2.RELEASE.jar,\
-               lib/org.springframework.web-3.2.2.RELEASE.jar,\
-               src/main/resources/etc/jetty/jetty-runner-9.1.5.v20140505.jar,\
-               lib/cdmlib-persistence-3.3.8-SNAPSHOT.jar,\
-               lib/dbunit-2.4.9.jar
diff --git a/eu.etaxonomy.taxeditor.remoting/pom.xml b/eu.etaxonomy.taxeditor.remoting/pom.xml
deleted file mode 100644 (file)
index 6df07fe..0000000
+++ /dev/null
@@ -1,539 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
-
-  <parent>
-    <groupId>eu.etaxonomy</groupId>
-    <artifactId>taxeditor-parent</artifactId>
-    <version>3.3.8-SNAPSHOT</version>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-  <artifactId>eu.etaxonomy.taxeditor.remoting</artifactId>
-  <packaging>eclipse-plugin</packaging>
-  <name>Remoting Bundle</name>
-  <description>Remoting Plugin Taxonomic Editor</description>
-
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.7</version>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <version>2.4</version>
-        <executions>
-          <execution>
-            <id>copy-dependencies</id>
-            <phase>validate</phase>
-            <goals>
-              <goal>copy-dependencies</goal>
-            </goals>
-            <configuration>
-              <excludeArtifactIds>
-                cdmlib-remote-webapp
-              </excludeArtifactIds>
-              <includeArtifactIds>
-                cdmlib-services,cdmlib-commons,cdmlib-persistence,cdmlib-ext,cdmlib-model
-              </includeArtifactIds>
-              <outputDirectory>${basedir}/lib</outputDirectory>
-              <overWriteReleases>true</overWriteReleases>
-              <overWriteSnapshots>true</overWriteSnapshots>
-              <excludeTransitive>true</excludeTransitive>
-            </configuration>
-          </execution>
-          <execution>
-            <id>copy-dependency-war</id>
-            <phase>validate</phase>
-            <goals>
-              <goal>copy-dependencies</goal>
-            </goals>
-            <configuration>
-              <includeArtifactIds>
-                cdmlib-remote-webapp
-              </includeArtifactIds>
-              <outputDirectory>
-                ${basedir}/src/main/resources/etc/jetty
-              </outputDirectory>
-              <overWriteReleases>true</overWriteReleases>
-              <overWriteSnapshots>true</overWriteSnapshots>
-              <excludeTransitive>true</excludeTransitive>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.7</version>
-        <executions>
-          <execution>
-            <id>update-snapshot-jar-names</id>
-            <phase>validate</phase>
-            <goals>
-              <goal>run</goal>
-            </goals>
-            <configuration>
-              <target>
-                <echo>Anonymizing war</echo>
-                <move todir="./src/main/resources/etc/jetty">
-                  <fileset dir="./src/main/resources/etc/jetty" />
-                  <mapper type="regexp"
-                    from="(^cdmlib\-.*)\-[0-9]\.[0-9]\.[0-9]\-SNAPSHOT(\.war)"
-                    to="\1\2" />
-                </move>
-                <move todir="./src/main/resources/etc/jetty">
-                  <fileset dir="./src/main/resources/etc/jetty" />
-                  <mapper type="regexp"
-                    from="(^cdmlib\-.*)\-[0-9]\.[0-9]\.[0-9]\-[0-9.-]+(\.war)"
-                    to="\1\2" />
-                </move>
-                <echo>Update cdmlib jars to SNAPSHOT when build with
-                  timestamp
-                </echo>
-                <move todir="./lib">
-                  <fileset dir="./lib" />
-                  <mapper type="regexp"
-                    from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\.jar)"
-                    to="\1SNAPSHOT\2" />
-                </move>
-                <move todir="./lib">
-                  <fileset dir="./lib" />
-                  <mapper type="regexp"
-                    from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\-sources\.jar)"
-                    to="\1SNAPSHOT\2" />
-                </move>
-              </target>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-  <profiles>
-    <profile>
-      <id>cleanCdmlibJars</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-clean-plugin</artifactId>
-            <version>2.3</version>
-            <configuration>
-              <filesets>
-                <fileset>
-                  <directory>${basedir}/lib</directory>
-                  <includes>
-                    <include>cdmlib-*</include>
-                  </includes>
-                  <followSymlinks>false</followSymlinks>
-                </fileset>
-              </filesets>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <id>cleanAllJars</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-clean-plugin</artifactId>
-            <version>2.3</version>
-            <configuration>
-              <filesets>
-                <fileset>
-                  <directory>${basedir}/lib</directory>
-                  <includes>
-                    <include>*</include>
-                  </includes>
-                  <followSymlinks>false</followSymlinks>
-                </fileset>
-              </filesets>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <id>copyAllJars</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <version>2.4</version>
-            <executions>
-              <execution>
-                <id>copy-all-dependencies</id>
-                <phase>validate</phase>
-                <goals>
-                  <goal>copy-dependencies</goal>
-                </goals>
-                <configuration>
-                  <excludeArtifactIds>
-                    cdmlib-remote-webapp
-                  </excludeArtifactIds>
-                  <outputDirectory>${basedir}/lib</outputDirectory>
-                  <overWriteReleases>true</overWriteReleases>
-                  <overWriteSnapshots>true</overWriteSnapshots>
-                  <excludeTransitive>true</excludeTransitive>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-  <repositories>
-    <repository>
-      <id>SpringSource Enterprise Bundle Repository - External Bundle
-        Milestones</id>
-      <url>http://repository.springsource.com/maven/bundles/milestone
-      </url>
-    </repository>
-    <repository>
-      <id>SpringSource Enterprise Bundle Repository - SpringSource
-        Bundle Releases</id>
-      <url>http://repository.springsource.com/maven/bundles/release
-      </url>
-    </repository>
-    <repository>
-      <id>SpringSource Enterprise Bundle Repository - External Bundle
-        Releases</id>
-      <url>http://repository.springsource.com/maven/bundles/external
-      </url>
-    </repository>
-  </repositories>
-  <dependencies>
-    <dependency>
-      <groupId>eu.etaxonomy</groupId>
-      <artifactId>cdmlib-remote-webapp</artifactId>
-      <version>${cdmlib.version}</version>
-      <type>war</type>
-    </dependency>
-    <dependency>
-      <groupId>eu.etaxonomy</groupId>
-      <artifactId>cdmlib-services</artifactId>
-      <version>${cdmlib.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>eu.etaxonomy</groupId>
-      <artifactId>cdmlib-commons</artifactId>
-      <version>${cdmlib.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>eu.etaxonomy</groupId>
-      <artifactId>cdmlib-persistence</artifactId>
-      <version>${cdmlib.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>eu.etaxonomy</groupId>
-      <artifactId>cdmlib-ext</artifactId>
-      <version>${cdmlib.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>eu.etaxonomy</groupId>
-      <artifactId>cdmlib-model</artifactId>
-      <version>${cdmlib.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.unitils</groupId>
-      <artifactId>unitils-core</artifactId>
-      <version>3.4.2</version>
-    </dependency>
-    <!-- <dependency> -->
-    <!-- <groupId>org.eclipse.jetty</groupId> -->
-    <!-- <artifactId>jetty-server</artifactId> -->
-    <!-- <version>9.1.3.v20140225</version> -->
-    <!-- </dependency> -->
-    <!-- <dependency> -->
-    <!-- <groupId>org.eclipse.jetty</groupId> -->
-    <!-- <artifactId>jetty-util</artifactId> -->
-    <!-- <version>9.1.3.v20140225</version> -->
-    <!-- </dependency> -->
-    <!-- <dependency> -->
-    <!-- <groupId>org.eclipse.jetty</groupId> -->
-    <!-- <artifactId>jetty-xml</artifactId> -->
-    <!-- <version>9.1.3.v20140225</version> -->
-    <!-- </dependency> -->
-    <!-- <dependency> -->
-    <!-- <groupId>org.eclipse.jetty</groupId> -->
-    <!-- <artifactId>jetty-servlet</artifactId> -->
-    <!-- <version>9.1.3.v20140225</version> -->
-    <!-- </dependency> -->
-    <!-- <dependency> -->
-    <!-- <groupId>org.eclipse.jetty</groupId> -->
-    <!-- <artifactId>jetty-webapp</artifactId> -->
-    <!-- <version>9.1.3.v20140225</version> -->
-    <!-- </dependency> -->
-    <!-- <dependency> -->
-    <!-- <groupId>org.eclipse.jetty</groupId> -->
-    <!-- <artifactId>jetty-security</artifactId> -->
-    <!-- <version>9.1.3.v20140225</version> -->
-    <!-- </dependency> -->
-    <!-- <dependency> -->
-    <!-- <groupId>org.eclipse.jetty</groupId> -->
-    <!-- <artifactId>jetty-http</artifactId> -->
-    <!-- <version>${jetty.version}</version> -->
-    <!-- </dependency> -->
-    <!-- <dependency> -->
-    <!-- <groupId>org.eclipse.jetty</groupId> -->
-    <!-- <artifactId>jetty-io</artifactId> -->
-    <!-- <version>${jetty.version}</version> -->
-    <!-- </dependency> -->
-    <!-- <dependency> -->
-    <!-- <groupId>javax.servlet</groupId> -->
-    <!-- <artifactId>javax.servlet-api</artifactId> -->
-    <!-- <version>3.1.0</version> -->
-    <!-- </dependency> -->
-
-    <!-- <dependency> -->
-    <!-- <groupId>javax.servlet</groupId> -->
-    <!-- <artifactId>jsp-api</artifactId> -->
-    <!-- <version>2.0</version> -->
-    <!-- </dependency> -->
-
-    <dependency>
-      <groupId>net.sf.ehcache</groupId>
-      <artifactId>ehcache-core</artifactId>
-      <version>2.4.3</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-core</artifactId>
-      <version>4.1.10.Final</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate.common</groupId>
-      <artifactId>hibernate-commons-annotations</artifactId>
-      <version>4.0.1.Final</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-search-engine</artifactId>
-      <version>4.2.0.Final</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate.javax.persistence</groupId>
-      <artifactId>hibernate-jpa-2.0-api</artifactId>
-      <version>1.0.1.Final</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-envers</artifactId>
-      <version>4.1.10.Final</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-entitymanager</artifactId>
-      <version>4.1.10.Final</version>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.11</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-      <version>1.2.17</version>
-    </dependency>
-    <dependency>
-      <groupId>org.jdom</groupId>
-      <artifactId>jdom</artifactId>
-      <version>1.1.3</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.context</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.aspects</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.beans</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.transaction</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.web</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.core</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.aop</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.expression</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.orm</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>org.springframework.jdbc</artifactId>
-      <version>3.2.2.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.security</groupId>
-      <artifactId>spring-security-core</artifactId>
-      <version>3.1.3.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.security</groupId>
-      <artifactId>spring-security-config</artifactId>
-      <version>3.1.3.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.security</groupId>
-      <artifactId>spring-security-remoting</artifactId>
-      <version>3.1.3.RELEASE</version>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.logging</groupId>
-      <artifactId>jboss-logging</artifactId>
-      <version>3.1.3.GA</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hamcrest</groupId>
-      <artifactId>hamcrest-core</artifactId>
-      <version>1.3</version>
-    </dependency>
-    <dependency>
-      <groupId>com.mchange</groupId>
-      <artifactId>c3p0</artifactId>
-      <version>0.9.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.spec.javax.transaction</groupId>
-      <artifactId>jboss-transaction-api_1.1_spec</artifactId>
-      <version>1.0.0.Final</version>
-    </dependency>
-    <dependency>
-      <groupId>org.aspectj</groupId>
-      <artifactId>aspectjrt</artifactId>
-      <version>1.7.1</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-      <version>1.1.1</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-lang</groupId>
-      <artifactId>commons-lang</artifactId>
-      <version>2.6</version>
-    </dependency>
-    <dependency>
-      <groupId>aopalliance</groupId>
-      <artifactId>aopalliance</artifactId>
-      <version>1.0</version>
-    </dependency>
-    <dependency>
-      <groupId>joda-time</groupId>
-      <artifactId>joda-time</artifactId>
-      <version>2.1</version>
-    </dependency>
-    <dependency>
-      <groupId>com.ibm.lsid</groupId>
-      <artifactId>lsid-client</artifactId>
-      <version>1.1.2</version>
-    </dependency>
-    <dependency>
-      <groupId>com.ibm.lsid</groupId>
-      <artifactId>lsid-server</artifactId>
-      <version>1.1.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-core</artifactId>
-      <version>3.6.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-      <version>1.7.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.javassist</groupId>
-      <artifactId>javassist</artifactId>
-      <version>3.17.1-GA</version>
-    </dependency>
-    <dependency>
-      <groupId>au.com.bytecode</groupId>
-      <artifactId>opencsv</artifactId>
-      <version>2.4</version>
-    </dependency>
-
-
-    <!-- For Unit Tests -->
-    <dependency>
-      <groupId>org.unitils</groupId>
-      <artifactId>unitils-spring</artifactId>
-      <version>3.4.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.unitils</groupId>
-      <artifactId>unitils-database</artifactId>
-      <version>3.4.2</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-dbcp</groupId>
-      <artifactId>commons-dbcp</artifactId>
-      <version>1.4</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-pool</groupId>
-      <artifactId>commons-pool</artifactId>
-      <version>1.5.4</version>
-    </dependency>
-    <dependency>
-      <groupId>org.unitils</groupId>
-      <artifactId>unitils-dbmaintainer</artifactId>
-      <version>3.4.2</version>
-    </dependency>
-    <dependency>
-      <groupId>com.h2database</groupId>
-      <artifactId>h2</artifactId>
-      <version>1.4.181</version>
-    </dependency>
-    <dependency>
-      <groupId>org.unitils</groupId>
-      <artifactId>unitils-dbunit</artifactId>
-      <version>3.4.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.dbunit</groupId>
-      <artifactId>dbunit</artifactId>
-      <version>2.4.9</version>
-    </dependency>
-  </dependencies>
-</project>
\ No newline at end of file
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteConfiguration.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteConfiguration.java
deleted file mode 100644 (file)
index 90cfc09..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-/**\r
-* Copyright (C) 2014 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.cdm.api.application;\r
-\r
-import javax.sql.DataSource;\r
-\r
-import org.hibernate.SessionFactory;\r
-\r
-import org.apache.log4j.Logger;\r
-import org.springframework.beans.factory.annotation.Autowired;\r
-import org.springframework.stereotype.Component;\r
-import org.springframework.transaction.PlatformTransactionManager;\r
-import org.springframework.transaction.TransactionStatus;\r
-\r
-import eu.etaxonomy.cdm.api.conversation.ConversationHolder;\r
-import eu.etaxonomy.cdm.api.conversation.ConversationHolderMock;\r
-import eu.etaxonomy.cdm.api.service.IDatabaseService;\r
-import eu.etaxonomy.cdm.ext.geo.IEditGeoService;\r
-\r
-\r
-/**\r
- * CDM Application Configuration class which manages the configuration for remoting\r
- * clients\r
- *\r
- */\r
-@Component\r
-public class CdmApplicationRemoteConfiguration extends CdmApplicationDefaultConfiguration {\r
-       \r
-       @SuppressWarnings("unused")\r
-       private static final Logger logger = Logger.getLogger(CdmApplicationRemoteConfiguration.class);\r
-\r
-       @Autowired\r
-       IEditGeoService editGeoService;\r
-       \r
-       public CdmApplicationRemoteConfiguration() {\r
-       }\r
-       \r
-    /* (non-Javadoc)\r
-     * @see eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration#getTransactionManager()\r
-     */\r
-    @Override\r
-    public PlatformTransactionManager getTransactionManager() throws UnsupportedOperationException {\r
-               throw new UnsupportedOperationException("getTransactionManager is not implemented for CdmApplicationRemoteConfiguration");\r
-       }\r
-\r
-\r
-    /* (non-Javadoc)\r
-     * @see eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration#startTransaction()\r
-     */\r
-    @Override\r
-    public TransactionStatus startTransaction() throws UnsupportedOperationException {\r
-               throw new UnsupportedOperationException("startTransaction is not implemented for CdmApplicationRemoteConfiguration");\r
-       }\r
-\r
-\r
-    /* (non-Javadoc)\r
-     * @see eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration#startTransaction()\r
-     */\r
-    @Override\r
-    public TransactionStatus startTransaction(Boolean readOnly) throws UnsupportedOperationException {\r
-               throw new UnsupportedOperationException("startTransaction is not implemented for CdmApplicationRemoteConfiguration");\r
-       }\r
-\r
-\r
-    /* (non-Javadoc)\r
-     * @see eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration#commitTransaction(org.springframework.transaction.TransactionStatus)\r
-     */\r
-    @Override\r
-    public void commitTransaction(TransactionStatus txStatus) throws UnsupportedOperationException {\r
-               throw new UnsupportedOperationException("commitTransaction is not implemented for CdmApplicationRemoteConfiguration");\r
-       }\r
-                       \r
-       /* (non-Javadoc)\r
-        * @see eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration#NewConversation()\r
-        */\r
-       @Override\r
-       public ConversationHolder NewConversation() {           \r
-               return new ConversationHolderMock();\r
-       }\r
-       \r
-       /**\r
-        * @return\r
-        */\r
-       public IEditGeoService getEditGeoService() {\r
-               return this.editGeoService;\r
-       }\r
-       \r
-       /* (non-Javadoc)\r
-        * @see eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration#setDataSource(javax.sql.DataSource)\r
-        */\r
-       @Override\r
-       public void setDataSource(DataSource dataSource) {                      \r
-    }\r
-       \r
-       /* (non-Javadoc)\r
-        * @see eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration#setTransactionManager(org.springframework.transaction.PlatformTransactionManager)\r
-        */\r
-       @Override\r
-       public void setTransactionManager(PlatformTransactionManager transactionManager) {        \r
-    }\r
-       \r
-       /* (non-Javadoc)\r
-        * @see eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration#setSessionFactory(org.hibernate.SessionFactory)\r
-        */\r
-       @Override\r
-    public void setSessionFactory(SessionFactory sessionFactory) {     \r
-    }\r
-}\r
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteController.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/application/CdmApplicationRemoteController.java
deleted file mode 100644 (file)
index 26a5ba9..0000000
+++ /dev/null
@@ -1,194 +0,0 @@
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-
-
-package eu.etaxonomy.cdm.api.application;
-
-import java.util.List;
-import java.util.Properties;
-
-import org.apache.log4j.Logger;
-import org.hibernate.collection.internal.AbstractPersistentCollection;
-import org.hibernate.proxy.AbstractLazyInitializer;
-import org.springframework.beans.MutablePropertyValues;
-import org.springframework.beans.factory.config.BeanDefinition;
-import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
-import org.springframework.context.ApplicationListener;
-import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
-import org.springframework.core.io.ClassPathResource;
-import org.springframework.core.io.Resource;
-
-import eu.etaxonomy.cdm.common.monitor.IProgressMonitor;
-import eu.etaxonomy.cdm.common.monitor.NullProgressMonitor;
-import eu.etaxonomy.cdm.common.monitor.SubProgressMonitor;
-import eu.etaxonomy.cdm.remote.ICdmRemoteSource;
-
-/**
- * CDM Application Controller class for remoting clients
- *
- * FIXME:Remoting extending {@link CdmApplicationController} is a temporary workaround.
- * The {@link CdmApplicationController} should be split into a CdmApplicationControllerBase
- * class with {@link CdmApplicationController} and this class as subclasses
- *
- */
-public class CdmApplicationRemoteController  extends CdmApplicationController {
-
-    private static final Logger logger = Logger.getLogger(CdmApplicationRemoteController.class);
-
-    public static final Resource DEFAULT_REMOTE_APPLICATION_CONTEXT_RESOURCE =
-               new ClassPathResource("/eu/etaxonomy/cdm/remotingApplicationContext.xml");
-    private final Resource applicationContextResource;
-    private final IProgressMonitor progressMonitor;
-
-    /**
-     * Creates new instance of CdmApplicationRemoteController
-     *
-     * @param applicationContextResource
-     * @param remoteSource
-     * @param omitTermLoading
-     * @param progressMonitor
-     * @param listeners
-     * @return
-     */
-    public static CdmApplicationRemoteController NewInstance(Resource applicationContextResource,
-                       ICdmRemoteSource remoteSource,
-                       boolean omitTermLoading,
-                       IProgressMonitor progressMonitor,
-                       List<ApplicationListener> listeners) {
-       return new CdmApplicationRemoteController(applicationContextResource,
-                       remoteSource,
-                       omitTermLoading,
-                       progressMonitor,
-                               listeners);
-
-    }
-    /**
-     * Creates new instance of CdmApplicationRemoteController
-     *
-     * @param applicationContextResource
-     * @param remoteSource
-     * @param omitTermLoading
-     * @param progressMonitor
-     * @param listeners
-     * @return
-     */
-    public static CdmApplicationRemoteController NewInstance(ICdmRemoteSource remoteSource,
-                       boolean omitTermLoading,
-                       IProgressMonitor progressMonitor,
-                       List<ApplicationListener> listeners) {
-
-       return new CdmApplicationRemoteController(DEFAULT_REMOTE_APPLICATION_CONTEXT_RESOURCE,
-                       remoteSource,
-                       omitTermLoading,
-                       progressMonitor,
-                               listeners);
-
-    }
-
-       /**
-        * Constructs CdmApplicationRemoteController
-        *
-        * @param applicationContextResource
-        * @param remoteSource
-        * @param omitTermLoading
-        * @param progressMonitor
-        * @param listeners
-        */
-       private CdmApplicationRemoteController(Resource applicationContextResource,
-                               ICdmRemoteSource remoteSource,
-                               boolean omitTermLoading,
-                               IProgressMonitor progressMonitor,
-                               List<ApplicationListener> listeners){
-               logger.info("Start CdmApplicationRemoteController with remote source: " + remoteSource.getName());
-        this.applicationContextResource =
-                       applicationContextResource != null ? applicationContextResource : DEFAULT_REMOTE_APPLICATION_CONTEXT_RESOURCE;
-        this.progressMonitor = progressMonitor != null ? progressMonitor : new NullProgressMonitor();
-
-        setNewRemoteSource(remoteSource, omitTermLoading, listeners);
-
-       }
-
-
-
-
-    /**
-     * Creates and starts a new spring application context
-     *
-     * @param remoteSource object for connecting to an http-invoker server
-     * @param omitTermLoading
-     * @param listeners
-     * @return
-     */
-    protected boolean setNewRemoteSource(ICdmRemoteSource remoteSource,
-               boolean omitTermLoading,
-               List<ApplicationListener> listeners){
-
-        logger.info("Connecting to '" + remoteSource.getName() + "'");
-
-        MonitoredGenericApplicationContext applicationContext =  new MonitoredGenericApplicationContext();
-        int refreshTasks = 45;
-        int nTasks = 5 + refreshTasks;
-
-        progressMonitor.beginTask("Connecting to '" + remoteSource.getName() + "'", nTasks);
-
-        progressMonitor.subTask("Registering remote source.");
-        PropertySourcesPlaceholderConfigurer pspc = new PropertySourcesPlaceholderConfigurer();
-        Properties properties = new Properties();
-        properties.setProperty("remoteServer", remoteSource.getServer());
-        properties.setProperty("remotePort", String.valueOf(remoteSource.getPort()));
-        properties.setProperty("remoteContext", remoteSource.getContextPath());
-        pspc.setProperties(properties);
-        applicationContext.addBeanFactoryPostProcessor(pspc);
-        applicationContext.getEnvironment().setActiveProfiles("remoting");
-        progressMonitor.worked(1);
-
-        XmlBeanDefinitionReader xmlReader = new XmlBeanDefinitionReader(applicationContext);
-        //xmlReader.setValidationMode(XmlBeanDefinitionReader.VALIDATION_NONE);
-        progressMonitor.subTask("Registering resources.");
-        xmlReader.loadBeanDefinitions(applicationContextResource);
-        progressMonitor.worked(1);
-
-        //omitTerms
-        if (omitTermLoading == true){
-            String initializerName = "persistentTermInitializer";
-            BeanDefinition beanDef = applicationContext.getBeanDefinition(initializerName);
-            MutablePropertyValues values = beanDef.getPropertyValues();
-            values.addPropertyValue("omit", omitTermLoading);
-        }
-
-        if (listeners != null){
-            for(ApplicationListener listener : listeners){
-                applicationContext.addApplicationListener(listener);
-            }
-        }
-
-
-        applicationContext.refresh(new SubProgressMonitor(progressMonitor, refreshTasks));
-        applicationContext.start();
-
-        progressMonitor.subTask("Cleaning up.");
-        setApplicationContext(applicationContext);
-        progressMonitor.worked(1);
-
-        progressMonitor.done();
-        return true;
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.cdm.api.application.CdmApplicationController#init()
-     */
-    @Override
-    protected void init(){
-        configuration = (ICdmApplicationConfiguration)applicationContext.getBean("cdmApplicationRemoteConfiguration");
-               AbstractLazyInitializer.setConfiguration(this);
-               AbstractPersistentCollection.setConfiguration(this);
-
-    }
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/cache/CdmServiceCacher.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/api/cache/CdmServiceCacher.java
deleted file mode 100644 (file)
index 6be6919..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-package eu.etaxonomy.cdm.api.cache;
-
-import java.util.UUID;
-
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Component;
-
-import eu.etaxonomy.cdm.api.service.ITermService;
-import eu.etaxonomy.cdm.model.common.CdmBase;
-
-/**
- * Class which uses CDM services to cache cdm entities
- * 
- * FIXME: Currently only handles terms entities. It would be 
- *        interesting to have a generic method which finds the
- *        correct service to load / cache the entity.
- * 
- * @author cmathew
- *
- * @param <T>
- */
-@Component
-public class CdmServiceCacher<T extends CdmBase> extends CdmCacher<T> {
-
-       @Autowired
-       ITermService termService;
-       
-       @Override
-       protected T findByUuid(UUID uuid) {
-               return (T)termService.findWithoutFlush(uuid);
-       }
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmPersistentRemoteSource.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmPersistentRemoteSource.java
deleted file mode 100644 (file)
index 854643d..0000000
+++ /dev/null
@@ -1,242 +0,0 @@
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-
-package eu.etaxonomy.cdm.remote;
-
-import static eu.etaxonomy.cdm.common.XmlHelp.getBeansRoot;
-import static eu.etaxonomy.cdm.common.XmlHelp.insertXmlBean;
-import static eu.etaxonomy.cdm.common.XmlHelp.insertXmlValueProperty;
-import static eu.etaxonomy.cdm.common.XmlHelp.saveToXml;
-
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.List;
-import java.util.Properties;
-
-import org.apache.log4j.Logger;
-import org.jdom.Attribute;
-import org.jdom.Element;
-
-import eu.etaxonomy.cdm.common.CdmUtils;
-import eu.etaxonomy.cdm.common.XmlHelp;
-import eu.etaxonomy.cdm.config.CdmPersistentSourceUtils;
-import eu.etaxonomy.cdm.config.CdmPersistentXMLSource;
-import eu.etaxonomy.cdm.config.CdmPersistentXMLSource.CdmSourceProperties;
-import eu.etaxonomy.cdm.config.ICdmPersistentSource;
-import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
-
-/**
- * Class representing a CDM remote source which can be persisted to a source config file
- *
- */
-public class CdmPersistentRemoteSource extends CdmRemoteSourceBase implements ICdmPersistentSource{
-       private static final Logger logger = Logger.getLogger(CdmPersistentRemoteSource.class);
-
-       public static final String REMOTESOURCE_BEAN_POSTFIX = "RemoteSource";
-       private String beanName;
-       private Properties cdmSourceProperties;
-       private List<Attribute> cdmSourceAttributes;
-
-       /**
-        * Creates a new instance of CdmPersistentRemoteSource
-        *
-        * @param name
-        * @param server
-        * @param port
-        * @param contextPath
-        * @param nomenclaturalCode
-        * @return
-        * @throws CdmRemoteSourceException
-        */
-       public static CdmPersistentRemoteSource NewInstance(String remoteSource) throws CdmRemoteSourceException {
-               if(exists(remoteSource)) {
-                       return new CdmPersistentRemoteSource(remoteSource);
-               } else {
-                       throw new CdmRemoteSourceException("Remote source '" + remoteSource + "' does not exist in sources setting file");
-               }
-
-       }
-
-       /**S
-        * Creates a new CdmPersistentRemoteSource
-        *
-        * @param name
-        * @param server
-        * @param port
-        * @param contextPath
-        * @param nomenclaturalCode
-        * @throws CdmRemoteSourceException
-        */
-       private CdmPersistentRemoteSource(String remoteSource) throws CdmRemoteSourceException {
-
-               CdmPersistentXMLSource cdmPersistentXMLSource = CdmPersistentXMLSource.NewInstance(remoteSource, REMOTESOURCE_BEAN_POSTFIX);
-               if(cdmPersistentXMLSource.getElement() != null) {
-                       beanName = cdmPersistentXMLSource.getBeanName();
-                       // properties from the persistent xml file
-                       cdmSourceProperties = cdmPersistentXMLSource.getCdmSourceProperties();
-                       cdmSourceAttributes = cdmPersistentXMLSource.getCdmSourceAttributes();
-                       checkProperties(cdmSourceProperties);
-               } else {
-                       throw new CdmRemoteSourceException("Remote source '" + remoteSource + "' does not exist in settings file");
-               }
-               initDatabaseConnection();
-       }
-
-       private static void checkProperties(Properties cdmSourceProperties) throws CdmRemoteSourceException {
-               if(!cdmSourceProperties.containsKey(CdmSourceProperties.SERVER.toString())) {
-                       throw new CdmRemoteSourceException("Could not initialise remote source. Required property '" + CdmSourceProperties.SERVER.toString() + "' is missing");
-               }
-               String port = (String)cdmSourceProperties.get(CdmSourceProperties.PORT.toString());
-               if(port == null || port.isEmpty()) {
-                       throw new CdmRemoteSourceException("Could not initialise remote source. Required property '" + CdmSourceProperties.SERVER.toString() + "' is missing");
-               }
-               if(!cdmSourceProperties.containsKey(CdmSourceProperties.CONTEXTPATH.toString())) {
-                       throw new CdmRemoteSourceException("Could not initialise remote source. Required property '" + CdmSourceProperties.SERVER.toString() + "' is missing");
-               }
-               // default NomenclaturalCode is always ICNAFP
-               if(!cdmSourceProperties.containsKey(CdmSourceProperties.NOMENCLATURAL_CODE.toString())) {
-                       cdmSourceProperties.put(CdmSourceProperties.NOMENCLATURAL_CODE.toString(), NomenclaturalCode.ICNAFP.name());
-               }
-       }
-
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.cdm.config.ICdmPersistentSource#getBeanName()
-        */
-       @Override
-       public String getBeanName() {
-               return beanName;
-       }
-
-       @Override
-       public String getServer() {
-               return cdmSourceProperties.getProperty(CdmSourceProperties.SERVER.toString());
-       }
-
-       @Override
-       public int getPort() {
-               String port = CdmUtils.Nz(cdmSourceProperties.getProperty(CdmSourceProperties.PORT.toString()));
-               if (port == null || "".equals(port)){
-                       return -1;
-               }else{
-                       //TODO exception if non integer
-                       return Integer.valueOf(port);
-               }
-       }
-
-       @Override
-       public String getContextPath() {
-               return cdmSourceProperties.getProperty(CdmSourceProperties.CONTEXTPATH.toString());
-       }
-
-       @Override
-       public NomenclaturalCode getNomenclaturalCode() {
-               return NomenclaturalCode.fromString(cdmSourceProperties.getProperty(CdmSourceProperties.NOMENCLATURAL_CODE.toString()));
-       }
-
-       public static CdmPersistentRemoteSource save(String strRemoteSourceName, ICdmRemoteSource remoteSource) throws CdmRemoteSourceException {
-               Properties cdmSourceProperties = new Properties();
-               cdmSourceProperties.put(CdmSourceProperties.SERVER.toString(), remoteSource.getServer());
-               cdmSourceProperties.put(CdmSourceProperties.PORT.toString(), String.valueOf(remoteSource.getPort()));
-               cdmSourceProperties.put(CdmSourceProperties.CONTEXTPATH.toString(), remoteSource.getContextPath());
-               cdmSourceProperties.put(CdmSourceProperties.NOMENCLATURAL_CODE.toString(), remoteSource.getNomenclaturalCode().name());
-               checkProperties(cdmSourceProperties);
-               return save(strRemoteSourceName, cdmSourceProperties);
-       }
-
-       private static CdmPersistentRemoteSource save(String strRemoteSourceName,Properties cdmSourceProperties) throws CdmRemoteSourceException {
-
-               //root
-               Element root = getBeansRoot(CdmPersistentSourceUtils.getCdmSourceInputStream());
-               if (root == null){
-                       return null;
-               }
-               //bean
-               Element bean = XmlHelp.getFirstAttributedChild(root, "bean", "id", CdmPersistentSourceUtils.getBeanName(strRemoteSourceName, REMOTESOURCE_BEAN_POSTFIX));
-               if (bean != null){
-                       bean.detach();  //delete old version if necessary
-               }
-               bean = insertXmlBean(root, CdmPersistentSourceUtils.getBeanName(strRemoteSourceName, REMOTESOURCE_BEAN_POSTFIX), CdmPersistentRemoteSource.class.getName());
-
-
-               Properties props = cdmSourceProperties;
-               Enumeration e = props.propertyNames();
-
-               while (e.hasMoreElements()) {
-                       String key = (String) e.nextElement();
-                       insertXmlValueProperty(bean, key, props.getProperty(key));
-               }
-
-               //save
-               saveToXml(root.getDocument(),
-                               CdmPersistentSourceUtils.getResourceDirectory(),
-                               CdmPersistentXMLSource.CDMSOURCE_FILE_NAME,
-                               XmlHelp.prettyFormat );
-
-               return NewInstance(strRemoteSourceName) ;
-
-       }
-
-       /**
-        * @param strDataSourceName
-        * @param dataSource
-        * @param code
-        * @return
-        *                      the updated dataSource, null if not succesful
-        */
-       public static CdmPersistentRemoteSource update(String strRemoteSourceName,
-                       ICdmRemoteSource remoteSource) throws CdmRemoteSourceException {
-               CdmPersistentSourceUtils.delete(CdmPersistentSourceUtils.getBeanName(strRemoteSourceName,REMOTESOURCE_BEAN_POSTFIX));
-               return save(strRemoteSourceName, remoteSource);
-       }
-
-       /**
-        * Tests existing of the datsource in the according config  file.
-        * @return true if a datasource with the given name exists in the according datasource config file.
-        */
-       public static boolean exists(String strRemoteSourceName){
-               Element bean = CdmPersistentSourceUtils.getCdmSourceBeanXml(strRemoteSourceName, REMOTESOURCE_BEAN_POSTFIX);
-               return (bean != null);
-       }
-
-       /**
-        * Returns a list of all datasources stored in the datasource config file
-        * @return all existing data sources
-        * @throws CdmRemoteSourceException
-        */
-       @SuppressWarnings("unchecked")
-       static public List<CdmPersistentRemoteSource> getAllRemoteSources() throws CdmRemoteSourceException{
-               List<CdmPersistentRemoteSource> remoteSources = new ArrayList<CdmPersistentRemoteSource>();
-
-               Element root = getBeansRoot(CdmPersistentSourceUtils.getCdmSourceInputStream());
-               if (root == null){
-                       return null;
-               }else{
-               List<Element> lsChildren  = root.getChildren("bean", root.getNamespace());
-
-               for (Element elBean : lsChildren){
-                       String strId = elBean.getAttributeValue("id");
-                       if (strId != null && strId.endsWith(REMOTESOURCE_BEAN_POSTFIX)){
-                               strId = strId.replace(REMOTESOURCE_BEAN_POSTFIX, "");
-                               remoteSources.add(new CdmPersistentRemoteSource(strId));
-                       }
-               }
-               }
-               return remoteSources;
-       }
-
-       @Override
-       public String toString(){
-               if (getName() != null){
-                       return getName();
-               }else{
-                       return null;
-               }
-       }
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSource.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSource.java
deleted file mode 100644 (file)
index 9dbb34b..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy 
-* http://www.e-taxonomy.eu
-* 
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.cdm.remote;
-
-import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
-
-/**
- * Class representing a CDM remote source 
- *
- */
-public class CdmRemoteSource extends CdmRemoteSourceBase {
-       
-       /**
-        * Creates a new instance of CdmRemoteSource
-        * 
-        * @param name
-        * @param server
-        * @param port
-        * @param contextPath
-        * @param nomenclaturalCode
-        * @return
-        */
-       public static CdmRemoteSource NewInstance() {
-               return new CdmRemoteSource(DEFAULT_NAME, DEFAULT_SERVER, DEFAULT_PORT, DEFAULT_CONTEXT_PATH, DEFAULT_NOMENCLATURAL_CODE);
-       }
-       
-       /**
-        * Creates a new instance of CdmRemoteSource
-        * 
-        * @param name
-        * @param server
-        * @param port
-        * @param contextPath
-        * @param nomenclaturalCode
-        * @return
-        */
-       public static CdmRemoteSource NewInstance(String name, String server, int port, String contextPath, NomenclaturalCode nomenclaturalCode) {
-               return new CdmRemoteSource(name, server, port, contextPath, nomenclaturalCode);
-       }
-       
-       /**
-        * Creates a new CdmRemoteSource
-        * 
-        * @param name
-        * @param server
-        * @param port
-        * @param contextPath
-        * @param nomenclaturalCode
-        */
-       private CdmRemoteSource(String name, String server, int port, String contextPath, NomenclaturalCode nomenclaturalCode) { 
-               super(name, server, port, contextPath, nomenclaturalCode);
-               
-       }
-
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSourceBase.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSourceBase.java
deleted file mode 100644 (file)
index 9fbb8d4..0000000
+++ /dev/null
@@ -1,173 +0,0 @@
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.cdm.remote;
-
-import java.util.Map;
-
-import org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean;
-
-import eu.etaxonomy.cdm.api.service.IDatabaseService;
-import eu.etaxonomy.cdm.config.CdmSource;
-import eu.etaxonomy.cdm.config.CdmSourceException;
-import eu.etaxonomy.cdm.model.metadata.CdmMetaData.MetaDataPropertyName;
-import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
-
-/**
- * Base class representing a CDM remote source.
- * This class handles all the configuration relating to the remoting aspect of
- * a CDM source.
- *
- */
-public class CdmRemoteSourceBase extends CdmSource implements ICdmRemoteSource {
-
-       protected static final String DEFAULT_NAME = "default";
-       protected static final String DEFAULT_SERVER = "127.0.0.1";
-       protected static final int DEFAULT_PORT = 8080;
-       protected static final String DEFAULT_CONTEXT_PATH = "";
-       protected static final NomenclaturalCode DEFAULT_NOMENCLATURAL_CODE = NomenclaturalCode.ICNAFP;
-       private String contextPath;
-       private String baseUrl;
-
-       private IDatabaseService databaseService;
-
-       /**
-        * Constructs a CdmRemoteSourceBase object with default values.
-        *
-        */
-       protected CdmRemoteSourceBase() {
-               setName(DEFAULT_NAME);
-               setServer(DEFAULT_SERVER);
-               setPort(DEFAULT_PORT);
-               setContextPath(DEFAULT_CONTEXT_PATH);
-               setNomenclaturalCode(DEFAULT_NOMENCLATURAL_CODE);
-       }
-
-       /**
-        * Constructs a CdmRemoteSourceBase
-        *
-        * @param name
-        * @param server
-        * @param port
-        * @param contextPath
-        * @param nomenclaturalCode
-        */
-       public CdmRemoteSourceBase(String name, String server, int port, String contextPath, NomenclaturalCode nomenclaturalCode) {
-               setName(name);
-               setServer(server);
-               setPort(port);
-               setContextPath(contextPath);
-               setNomenclaturalCode(nomenclaturalCode);
-               initDatabaseConnection();
-       }
-
-       protected void initDatabaseConnection() {
-               if(getContextPath() == null || getContextPath().equals("")) {
-                       setBaseUrl("http://" + getServer() + ":" + String.valueOf(getPort()));
-               } else {
-                       setBaseUrl("http://" + getServer()  + ":" + String.valueOf(getPort()) + "/" + getContextPath());
-               }
-               // the database service needs to be initialised (before the spring
-               // application context initialsation) since it is required to
-               // to make queries related to the source database
-           HttpInvokerProxyFactoryBean proxy = new HttpInvokerProxyFactoryBean();
-           proxy.setServiceInterface(IDatabaseService.class);
-           proxy.setServiceUrl(baseUrl + "/remoting/database.service");
-           proxy.afterPropertiesSet();
-           databaseService = (IDatabaseService) proxy.getObject();
-
-       }
-
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.cdm.remote.ICdmRemoteSource#getBaseUrl()
-        */
-       @Override
-       public String getBaseUrl() {
-               return baseUrl;
-       }
-
-       /**
-        * Sets the base url for the http-invoker services as listed in
-        * httpInvokerServicesClients.xml.
-        * e.g. for 'http://127.0.0.1:8080/col/remoting/common.service', the
-        * base url would be 'http://127.0.0.1:8080/col'
-        *
-        * @param baseUrl
-        */
-       public void setBaseUrl(String baseUrl) {
-               this.baseUrl = baseUrl;
-       }
-
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.cdm.remote.ICdmRemoteSource#getContextPath()
-        */
-       @Override
-       public String getContextPath() {
-               return contextPath;
-       }
-
-       /**
-        * Sets the context path.
-        * e.g. for 'http://127.0.0.1:8080/col/remoting/common.service', the
-        * context path would be 'col'
-        *
-        * @param contextPath
-        */
-       public void setContextPath(String contextPath) {
-               this.contextPath = contextPath;
-       }
-
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.cdm.config.CdmSource#getDbSchemaVersion()
-        */
-       @Override
-       public String getDbSchemaVersion() throws CdmSourceException {
-               return databaseService.getDbSchemaVersion();
-
-       }
-
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.cdm.config.CdmSource#isDbEmpty()
-        */
-       @Override
-       public boolean isDbEmpty() throws CdmSourceException {
-               return databaseService.isDbEmpty();
-
-       }
-
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.cdm.config.CdmSource#checkConnection()
-        */
-       @Override
-       public boolean checkConnection() throws CdmSourceException {
-               // assuming that database service works implies
-               // the connection is up
-               // if no exception is thrown then we assume that the
-               // connection is up
-               // FIXME:Remoting is this really correct?
-               databaseService.getDbSchemaVersion();
-
-               return true;
-       }
-
-       /* (non-Javadoc)
-        * @see eu.etaxonomy.cdm.config.CdmSource#getConnectionMessage()
-        */
-       @Override
-       public String getConnectionMessage() {
-               return "Conncting to Remote CDM Server " + getName();
-       }
-
-
-       @Override
-       public Map<MetaDataPropertyName, String> getMetaDataMap() throws CdmSourceException {
-               return databaseService.getCdmMetadataMap();
-       }
-
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSourceException.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/CdmRemoteSourceException.java
deleted file mode 100644 (file)
index 3c2d715..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * 
- */
-package eu.etaxonomy.cdm.remote;
-
-/**
- * 
- *
- */
-public class CdmRemoteSourceException extends Exception {
-       
-       public CdmRemoteSourceException(String message) {
-               super(message);
-       }
-
-       public CdmRemoteSourceException(Exception e) {
-               super(e);
-       }
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/ICdmRemoteSource.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/cdm/remote/ICdmRemoteSource.java
deleted file mode 100644 (file)
index f278c74..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy 
-* http://www.e-taxonomy.eu
-* 
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.cdm.remote;
-
-import eu.etaxonomy.cdm.config.ICdmSource;
-
-/**
- * Interface representing a CDM remote source
- *
- */
-public interface ICdmRemoteSource extends ICdmSource {
-       
-       /**
-        * Gets the context path.
-        * e.g. for 'http://127.0.0.1:8080/col/remoting/common.service', the 
-        * context path would be 'col'
-        */
-       public String getContextPath();
-       
-       /**
-        * Gets the base url for the http-invoker services as listed in 
-        * httpInvokerServicesClients.xml.
-        * e.g. for 'http://127.0.0.1:8080/col/remoting/common.service', the 
-        * base url would be 'http://127.0.0.1:8080/col'
-        */
-       public String getBaseUrl();     
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/taxeditor/remoting/RemotingTestPluginActivator.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/eu/etaxonomy/taxeditor/remoting/RemotingTestPluginActivator.java
deleted file mode 100644 (file)
index 65db6ba..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package eu.etaxonomy.taxeditor.remoting;
-
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-public class RemotingTestPluginActivator implements BundleActivator {
-
-       private static BundleContext context;
-
-       static BundleContext getContext() {
-               return context;
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
-        */
-       public void start(BundleContext bundleContext) throws Exception {
-               RemotingTestPluginActivator.context = bundleContext;
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
-        */
-       public void stop(BundleContext bundleContext) throws Exception {
-               RemotingTestPluginActivator.context = null;
-       }
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/org/hibernate/collection/internal/AbstractPersistentCollection.java
deleted file mode 100644 (file)
index e684103..0000000
+++ /dev/null
@@ -1,1369 +0,0 @@
-
-
-/*
- * Hibernate, Relational Persistence for Idiomatic Java
- *
- * Copyright (c) 2008-2011, Red Hat Inc. or third-party contributors as
- * indicated by the @author tags or express copyright attribution
- * statements applied by the authors.  All third-party contributions are
- * distributed under license by Red Hat Inc.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the GNU
- * Lesser General Public License, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this distribution; if not, write to:
- * Free Software Foundation, Inc.
- * 51 Franklin Street, Fifth Floor
- * Boston, MA  02110-1301  USA
- */
-package org.hibernate.collection.internal;
-
-import java.io.Serializable;
-import java.lang.reflect.Field;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-import java.util.Map;
-import java.util.Set;
-import java.util.TreeMap;
-import java.util.TreeSet;
-
-import javax.naming.NamingException;
-
-import org.hibernate.AssertionFailure;
-import org.hibernate.HibernateException;
-import org.hibernate.LazyInitializationException;
-import org.hibernate.Session;
-import org.hibernate.collection.spi.PersistentCollection;
-import org.hibernate.engine.internal.ForeignKeys;
-import org.hibernate.engine.spi.CollectionEntry;
-import org.hibernate.engine.spi.EntityEntry;
-import org.hibernate.engine.spi.SessionFactoryImplementor;
-import org.hibernate.engine.spi.SessionImplementor;
-import org.hibernate.engine.spi.Status;
-import org.hibernate.engine.spi.TypedValue;
-import org.hibernate.internal.SessionFactoryRegistry;
-import org.hibernate.internal.util.MarkerObject;
-import org.hibernate.internal.util.collections.EmptyIterator;
-import org.hibernate.internal.util.collections.IdentitySet;
-import org.hibernate.persister.collection.CollectionPersister;
-import org.hibernate.persister.entity.EntityPersister;
-import org.hibernate.pretty.MessageHelper;
-import org.hibernate.type.Type;
-import org.jboss.logging.Logger;
-
-import eu.etaxonomy.cdm.api.application.CdmApplicationRemoteController;
-import eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration;
-import eu.etaxonomy.cdm.api.service.ICommonService;
-import eu.etaxonomy.cdm.model.common.PersistentMultiLanguageText;
-
-/**
- * Base class implementing {@link org.hibernate.collection.spi.PersistentCollection}
- *
- * @author Gavin King
- */
-public abstract class AbstractPersistentCollection implements Serializable, PersistentCollection {
-       private static final Logger log = Logger.getLogger( AbstractPersistentCollection.class );
-
-       private static final long serialVersionUID = -7238232378593030571L;
-       
-       private transient SessionImplementor session;
-       private boolean initialized;
-       private transient List<DelayedOperation> operationQueue;
-       private transient boolean directlyAccessible;
-       private transient boolean initializing;
-       private Object owner;
-       private int cachedSize = -1;
-
-       private String role;
-       private Serializable key;
-       // collections detect changes made via their public interface and mark
-       // themselves as dirty as a performance optimization
-       private boolean dirty;
-       private Serializable storedSnapshot;
-
-       private String sessionFactoryUuid;
-       private boolean specjLazyLoad = false;
-
-       public final String getRole() {
-               return role;
-       }
-
-       public final Serializable getKey() {
-               return key;
-       }
-
-       public final boolean isUnreferenced() {
-               return role == null;
-       }
-
-       public final boolean isDirty() {
-               return dirty;
-       }
-
-       public final void clearDirty() {
-               dirty = false;
-       }
-
-       public final void dirty() {
-               dirty = true;
-       }
-
-       public final Serializable getStoredSnapshot() {
-               return storedSnapshot;
-       }
-
-       //Careful: these methods do not initialize the collection.
-
-       /**
-        * Is the initialized collection empty?
-        */
-       public abstract boolean empty();
-
-       /**
-        * Called by any read-only method of the collection interface
-        */
-       protected final void read() {
-               initialize( false );
-       }
-
-       /**
-        * Called by the {@link Collection#size} method
-        */
-       @SuppressWarnings({"JavaDoc"})
-       protected boolean readSize() {
-               if ( !initialized ) {
-                       if ( cachedSize != -1 && !hasQueuedOperations() ) {
-                               return true;
-                       }
-                       else {
-                               // In remoting we are sure that session is null
-                               // both when using property paths and switching off conversations
-                               if(session == null && remoting) {                               
-                                       log.info("--> readSize, of " + getRole() + " with key " + getKey());
-                                       read();                                                         
-                               } else {
-                                       boolean isExtraLazy = withTemporarySessionIfNeeded(
-                                                       new LazyInitializationWork<Boolean>() {
-                                                               @Override
-                                                               public Boolean doWork() {
-                                                                       CollectionEntry entry = session.getPersistenceContext().getCollectionEntry( AbstractPersistentCollection.this );
-
-                                                                       if ( entry != null ) {
-                                                                               CollectionPersister persister = entry.getLoadedPersister();
-                                                                               if ( persister.isExtraLazy() ) {
-                                                                                       if ( hasQueuedOperations() ) {
-                                                                                               session.flush();
-                                                                                       }
-                                                                                       cachedSize = persister.getSize( entry.getLoadedKey(), session );
-                                                                                       return true;
-                                                                               }
-                                                                               else {
-                                                                                       read();
-                                                                               }
-                                                                       }
-                                                                       else{
-                                                                               throwLazyInitializationExceptionIfNotConnected();
-                                                                       }
-                                                                       return false;
-                                                               }
-                                                       }
-                                                       );
-                                       if ( isExtraLazy ) {
-                                               return true;
-                                       }
-                               }
-                       }
-               }
-               return false;
-       }
-
-       public static interface LazyInitializationWork<T> {
-               public T doWork();
-       }
-
-       private <T> T withTemporarySessionIfNeeded(LazyInitializationWork<T> lazyInitializationWork) {
-               SessionImplementor originalSession = null;
-               boolean isTempSession = false;
-               boolean isJTA = false;
-
-               if ( session == null ) {
-                       if ( specjLazyLoad ) {
-                               session = openTemporarySessionForLoading();
-                               isTempSession = true;
-                       }
-                       else {
-                               throwLazyInitializationException( "could not initialize proxy - no Session" );
-                       }
-               }
-               else if ( !session.isOpen() ) {
-                       if ( specjLazyLoad ) {
-                               originalSession = session;
-                               session = openTemporarySessionForLoading();
-                               isTempSession = true;
-                       }
-                       else {
-                               throwLazyInitializationException( "could not initialize proxy - the owning Session was closed" );
-                       }
-               }
-               else if ( !session.isConnected() ) {
-                       if ( specjLazyLoad ) {
-                               originalSession = session;
-                               session = openTemporarySessionForLoading();
-                               isTempSession = true;
-                       }
-                       else {
-                               throwLazyInitializationException( "could not initialize proxy - the owning Session is disconnected" );
-                       }
-               }
-
-               if ( isTempSession ) {
-                       // TODO: On the next major release, add an
-                       // 'isJTA' or 'getTransactionFactory' method to Session.
-                       isJTA = session.getTransactionCoordinator()
-                                       .getTransactionContext().getTransactionEnvironment()
-                                       .getTransactionFactory()
-                                       .compatibleWithJtaSynchronization();
-                       
-                       if ( !isJTA ) {
-                               // Explicitly handle the transactions only if we're not in
-                               // a JTA environment.  A lazy loading temporary session can
-                               // be created even if a current session and transaction are
-                               // open (ex: session.clear() was used).  We must prevent
-                               // multiple transactions.
-                               ( ( Session) session ).beginTransaction();
-                       }
-                       
-                       session.getPersistenceContext().addUninitializedDetachedCollection(
-                                       session.getFactory().getCollectionPersister( getRole() ),
-                                       this
-                       );
-               }
-
-               try {
-                       return lazyInitializationWork.doWork();
-               }
-               finally {
-                       if ( isTempSession ) {
-                               // make sure the just opened temp session gets closed!
-                               try {
-                                       if ( !isJTA ) {
-                                               ( ( Session) session ).getTransaction().commit();
-                                       }
-                                       ( (Session) session ).close();
-                               }
-                               catch (Exception e) {
-                                       log.warn( "Unable to close temporary session used to load lazy collection associated to no session" );
-                               }
-                               session = originalSession;
-                       }
-               }
-       }
-
-       private SessionImplementor openTemporarySessionForLoading() {
-               if ( sessionFactoryUuid == null ) {
-                       throwLazyInitializationException( "SessionFactory UUID not known to create temporary Session for loading" );
-               }
-
-               SessionFactoryImplementor sf = (SessionFactoryImplementor)
-                               SessionFactoryRegistry.INSTANCE.getSessionFactory( sessionFactoryUuid );
-               return (SessionImplementor) sf.openSession();
-       }
-
-       protected Boolean readIndexExistence(final Object index) {
-               if ( !initialized ) {
-                       // In remoting we are sure that session is null
-                       // both when using property paths and switching off conversations
-                       if(session == null && remoting) {                       
-                               log.info("--> readIndexExistence, of " + getRole() + " with key " + getKey());
-                               read();                                                                         
-                       } else {
-                               Boolean extraLazyExistenceCheck = withTemporarySessionIfNeeded(
-                                               new LazyInitializationWork<Boolean>() {
-                                                       @Override
-                                                       public Boolean doWork() {
-                                                               CollectionEntry entry = session.getPersistenceContext().getCollectionEntry( AbstractPersistentCollection.this );
-                                                               CollectionPersister persister = entry.getLoadedPersister();
-                                                               if ( persister.isExtraLazy() ) {
-                                                                       if ( hasQueuedOperations() ) {
-                                                                               session.flush();
-                                                                       }
-                                                                       return persister.indexExists( entry.getLoadedKey(), index, session );
-                                                               }
-                                                               else {
-                                                                       read();
-                                                               }
-                                                               return null;
-                                                       }
-                                               }
-                                               );
-                               if ( extraLazyExistenceCheck != null ) {
-                                       return extraLazyExistenceCheck;
-                               }
-                       }
-               }
-               return null;
-       }
-
-       protected Boolean readElementExistence(final Object element) {
-               if ( !initialized ) {
-                       // In remoting we are sure that session is null
-                       // both when using property paths and switching off conversations
-                       if(session == null && remoting) {
-                               log.info("--> readElementExistence, of " + getRole() + " with key " + getKey());
-                               read();                         
-                               
-                       } else {
-                               Boolean extraLazyExistenceCheck = withTemporarySessionIfNeeded(
-                                               new LazyInitializationWork<Boolean>() {
-                                                       @Override
-                                                       public Boolean doWork() {
-                                                               CollectionEntry entry = session.getPersistenceContext().getCollectionEntry( AbstractPersistentCollection.this );
-                                                               CollectionPersister persister = entry.getLoadedPersister();
-                                                               if ( persister.isExtraLazy() ) {
-                                                                       if ( hasQueuedOperations() ) {
-                                                                               session.flush();
-                                                                       }
-                                                                       return persister.elementExists( entry.getLoadedKey(), element, session );
-                                                               }
-                                                               else {
-                                                                       read();
-                                                               }
-                                                               return null;
-                                                       }
-                                               }
-                                               );
-                               if ( extraLazyExistenceCheck != null ) {
-                                       return extraLazyExistenceCheck;
-                               }
-                       }
-               }
-               return null;
-       }
-
-       protected static final Object UNKNOWN = new MarkerObject( "UNKNOWN" );
-
-       protected Object readElementByIndex(final Object index) {
-               if ( !initialized ) {
-                       // In remoting we are sure that session is null
-                       // both when using property paths and switching off conversations
-                       if(session == null && remoting) {                               
-                               log.info("--> readElementByIndex, of " + getRole() + " with key " + getKey());
-                               read();                         
-                               
-                       } else {
-                               class ExtraLazyElementByIndexReader implements LazyInitializationWork {
-                                       private boolean isExtraLazy;
-                                       private Object element;
-
-                                       @Override
-                                       public Object doWork() {
-                                               CollectionEntry entry = session.getPersistenceContext().getCollectionEntry( AbstractPersistentCollection.this );
-                                               CollectionPersister persister = entry.getLoadedPersister();
-                                               isExtraLazy = persister.isExtraLazy();
-                                               if ( isExtraLazy ) {
-                                                       if ( hasQueuedOperations() ) {
-                                                               session.flush();
-                                                       }
-                                                       element = persister.getElementByIndex( entry.getLoadedKey(), index, session, owner );
-                                               }
-                                               else {
-                                                       read();
-                                               }
-                                               return null;
-                                       }
-                               }
-
-                               ExtraLazyElementByIndexReader reader = new ExtraLazyElementByIndexReader();
-                               //noinspection unchecked
-                               withTemporarySessionIfNeeded( reader );
-                               if ( reader.isExtraLazy ) {
-                                       return reader.element;
-                               }
-                       }
-               }
-               return UNKNOWN;
-
-       }
-
-       protected int getCachedSize() {
-               return cachedSize;
-       }
-
-       private boolean isConnectedToSession() {
-               return session != null &&
-                               session.isOpen() &&
-                               session.getPersistenceContext().containsCollection( this );
-       }
-
-       /**
-        * Called by any writer method of the collection interface
-        */
-       protected final void write() {
-               initialize( true );
-               dirty();
-       }
-
-       /**
-        * Is this collection in a state that would allow us to
-        * "queue" operations?
-        */
-       @SuppressWarnings({"JavaDoc"})
-       protected boolean isOperationQueueEnabled() {
-               return !initialized &&
-                               isConnectedToSession() &&
-                               isInverseCollection();
-       }
-
-       /**
-        * Is this collection in a state that would allow us to
-        * "queue" puts? This is a special case, because of orphan
-        * delete.
-        */
-       @SuppressWarnings({"JavaDoc"})
-       protected boolean isPutQueueEnabled() {
-               return !initialized &&
-                               isConnectedToSession() &&
-                               isInverseOneToManyOrNoOrphanDelete();
-       }
-
-       /**
-        * Is this collection in a state that would allow us to
-        * "queue" clear? This is a special case, because of orphan
-        * delete.
-        */
-       @SuppressWarnings({"JavaDoc"})
-       protected boolean isClearQueueEnabled() {
-               return !initialized &&
-                               isConnectedToSession() &&
-                               isInverseCollectionNoOrphanDelete();
-       }
-
-       /**
-        * Is this the "inverse" end of a bidirectional association?
-        */
-       @SuppressWarnings({"JavaDoc"})
-       private boolean isInverseCollection() {
-               CollectionEntry ce = session.getPersistenceContext().getCollectionEntry( this );
-               return ce != null && ce.getLoadedPersister().isInverse();
-       }
-
-       /**
-        * Is this the "inverse" end of a bidirectional association with
-        * no orphan delete enabled?
-        */
-       @SuppressWarnings({"JavaDoc"})
-       private boolean isInverseCollectionNoOrphanDelete() {
-               CollectionEntry ce = session.getPersistenceContext().getCollectionEntry( this );
-               return ce != null &&
-                               ce.getLoadedPersister().isInverse() &&
-                               !ce.getLoadedPersister().hasOrphanDelete();
-       }
-
-       /**
-        * Is this the "inverse" end of a bidirectional one-to-many, or
-        * of a collection with no orphan delete?
-        */
-       @SuppressWarnings({"JavaDoc"})
-       private boolean isInverseOneToManyOrNoOrphanDelete() {
-               CollectionEntry ce = session.getPersistenceContext().getCollectionEntry( this );
-               return ce != null && ce.getLoadedPersister().isInverse() && (
-                               ce.getLoadedPersister().isOneToMany() ||
-                                               !ce.getLoadedPersister().hasOrphanDelete()
-               );
-       }
-
-       /**
-        * Queue an addition
-        */
-       @SuppressWarnings({"JavaDoc"})
-       protected final void queueOperation(DelayedOperation operation) {
-               if ( operationQueue == null ) {
-                       operationQueue = new ArrayList<DelayedOperation>( 10 );
-               }
-               operationQueue.add( operation );
-               dirty = true; //needed so that we remove this collection from the second-level cache
-       }
-
-       /**
-        * After reading all existing elements from the database,
-        * add the queued elements to the underlying collection.
-        */
-       protected final void performQueuedOperations() {
-               for ( DelayedOperation operation : operationQueue ) {
-                       operation.operate();
-               }
-       }
-
-       /**
-        * After flushing, re-init snapshot state.
-        */
-       public void setSnapshot(Serializable key, String role, Serializable snapshot) {
-               this.key = key;
-               this.role = role;
-               this.storedSnapshot = snapshot;
-       }
-
-       /**
-        * After flushing, clear any "queued" additions, since the
-        * database state is now synchronized with the memory state.
-        */
-       public void postAction() {
-               operationQueue = null;
-               cachedSize = -1;
-               clearDirty();
-       }
-
-       /**
-        * Not called by Hibernate, but used by non-JDK serialization,
-        * eg. SOAP libraries.
-        */
-       public AbstractPersistentCollection() {
-       }
-
-       protected AbstractPersistentCollection(SessionImplementor session) {
-               this.session = session;
-       }
-
-       /**
-        * return the user-visible collection (or array) instance
-        */
-       public Object getValue() {
-               return this;
-       }
-
-       /**
-        * Called just before reading any rows from the JDBC result set
-        */
-       public void beginRead() {
-               // override on some subclasses
-               initializing = true;
-       }
-
-       /**
-        * Called after reading all rows from the JDBC result set
-        */
-       public boolean endRead() {
-               //override on some subclasses
-               return afterInitialize();
-       }
-
-       public boolean afterInitialize() {
-               setInitialized();
-               //do this bit after setting initialized to true or it will recurse
-               if ( operationQueue != null ) {
-                       performQueuedOperations();
-                       operationQueue = null;
-                       cachedSize = -1;
-                       return false;
-               }
-               else {
-                       return true;
-               }
-       }
-
-       /**
-        * Initialize the collection, if possible, wrapping any exceptions
-        * in a runtime exception
-        *
-        * @param writing currently obsolete
-        *
-        * @throws LazyInitializationException if we cannot initialize
-        */
-       protected final void initialize(final boolean writing) {
-               // In remoting we are sure that session is null
-               // both when using property paths and switching off conversations
-               if(session == null && remoting) {
-                       remoteInitialize();                     
-               }
-               
-               if ( initialized ) {
-                       return;
-               }
-
-               
-               withTemporarySessionIfNeeded(
-                               new LazyInitializationWork<Object>() {
-                                       @Override
-                                       public Object doWork() {
-                                               session.initializeCollection( AbstractPersistentCollection.this, writing );
-                                               return null;
-                                       }
-                               }
-               );
-       }
-
-       private void throwLazyInitializationExceptionIfNotConnected() {
-               if ( !isConnectedToSession() ) {
-                       throwLazyInitializationException( "no session or session was closed" );
-               }
-               if ( !session.isConnected() ) {
-                       throwLazyInitializationException( "session is disconnected" );
-               }
-       }
-
-       private void throwLazyInitializationException(String message) {
-               throw new LazyInitializationException(
-                               "failed to lazily initialize a collection" +
-                                               (role == null ? "" : " of role: " + role) +
-                                               ", " + message
-               );
-       }
-
-       protected final void setInitialized() {
-               this.initializing = false;
-               this.initialized = true;
-       }
-
-       protected final void setDirectlyAccessible(boolean directlyAccessible) {
-               this.directlyAccessible = directlyAccessible;
-       }
-
-       /**
-        * Could the application possibly have a direct reference to
-        * the underlying collection implementation?
-        */
-       public boolean isDirectlyAccessible() {
-               return directlyAccessible;
-       }
-
-       /**
-        * Disassociate this collection from the given session.
-        *
-        * @return true if this was currently associated with the given session
-        */
-       public final boolean unsetSession(SessionImplementor currentSession) {
-               prepareForPossibleSpecialSpecjInitialization();
-               if ( currentSession == this.session ) {
-                       this.session = null;
-                       return true;
-               }
-               else {
-                       return false;
-               }
-       }
-
-       protected void prepareForPossibleSpecialSpecjInitialization() {
-               if ( session != null ) {
-                       specjLazyLoad = session.getFactory().getSettings().isInitializeLazyStateOutsideTransactionsEnabled();
-
-                       if ( specjLazyLoad && sessionFactoryUuid == null ) {
-                               try {
-                                       sessionFactoryUuid = (String) session.getFactory().getReference().get( "uuid" ).getContent();
-                               }
-                               catch (NamingException e) {
-                                       //not much we can do if this fails...
-                               }
-                       }
-               }
-       }
-
-
-       /**
-        * Associate the collection with the given session.
-        *
-        * @return false if the collection was already associated with the session
-        *
-        * @throws HibernateException if the collection was already associated
-        * with another open session
-        */
-       public final boolean setCurrentSession(SessionImplementor session) throws HibernateException {
-               if ( session == this.session ) {
-                       return false;
-               }
-               else {
-                       if ( isConnectedToSession() ) {
-                               CollectionEntry ce = session.getPersistenceContext().getCollectionEntry( this );
-                               if ( ce == null ) {
-                                       throw new HibernateException(
-                                                       "Illegal attempt to associate a collection with two open sessions"
-                                       );
-                               }
-                               else {
-                                       throw new HibernateException(
-                                                       "Illegal attempt to associate a collection with two open sessions: " +
-                                                                       MessageHelper.collectionInfoString(
-                                                                                       ce.getLoadedPersister(), this,
-                                                                                       ce.getLoadedKey(), session
-                                                                       )
-                                       );
-                               }
-                       }
-                       else {
-                               this.session = session;
-                               return true;
-                       }
-               }
-       }
-
-       /**
-        * Do we need to completely recreate this collection when it changes?
-        */
-       public boolean needsRecreate(CollectionPersister persister) {
-               return false;
-       }
-
-       /**
-        * To be called internally by the session, forcing
-        * immediate initialization.
-        */
-       public final void forceInitialization() throws HibernateException {
-               if ( !initialized ) {
-                       if ( initializing ) {
-                               throw new AssertionFailure( "force initialize loading collection" );
-                       }
-                       if ( session == null ) {
-                               throw new HibernateException( "collection is not associated with any session" );
-                       }
-                       if ( !session.isConnected() ) {
-                               throw new HibernateException( "disconnected session" );
-                       }
-                       session.initializeCollection( this, false );
-               }
-       }
-
-
-       /**
-        * Get the current snapshot from the session
-        */
-       @SuppressWarnings({"JavaDoc"})
-       protected final Serializable getSnapshot() {
-               return session.getPersistenceContext().getSnapshot( this );
-       }
-
-       /**
-        * Is this instance initialized?
-        */
-       public final boolean wasInitialized() {
-               return initialized;
-       }
-
-       public boolean isRowUpdatePossible() {
-               return true;
-       }
-
-       /**
-        * Does this instance have any "queued" additions?
-        */
-       public final boolean hasQueuedOperations() {
-               return operationQueue != null;
-       }
-
-       /**
-        * Iterate the "queued" additions
-        */
-       public final Iterator queuedAdditionIterator() {
-               if ( hasQueuedOperations() ) {
-                       return new Iterator() {
-                               int i = 0;
-
-                               public Object next() {
-                                       return operationQueue.get( i++ ).getAddedInstance();
-                               }
-
-                               public boolean hasNext() {
-                                       return i < operationQueue.size();
-                               }
-
-                               public void remove() {
-                                       throw new UnsupportedOperationException();
-                               }
-                       };
-               }
-               else {
-                       return EmptyIterator.INSTANCE;
-               }
-       }
-
-       /**
-        * Iterate the "queued" additions
-        */
-       @SuppressWarnings({"unchecked"})
-       public final Collection getQueuedOrphans(String entityName) {
-               if ( hasQueuedOperations() ) {
-                       Collection additions = new ArrayList( operationQueue.size() );
-                       Collection removals = new ArrayList( operationQueue.size() );
-                       for ( DelayedOperation operation : operationQueue ) {
-                               additions.add( operation.getAddedInstance() );
-                               removals.add( operation.getOrphan() );
-                       }
-                       return getOrphans( removals, additions, entityName, session );
-               }
-               else {
-                       return Collections.EMPTY_LIST;
-               }
-       }
-
-       /**
-        * Called before inserting rows, to ensure that any surrogate keys
-        * are fully generated
-        */
-       public void preInsert(CollectionPersister persister) throws HibernateException {
-       }
-
-       /**
-        * Called after inserting a row, to fetch the natively generated id
-        */
-       public void afterRowInsert(CollectionPersister persister, Object entry, int i) throws HibernateException {
-       }
-
-       /**
-        * get all "orphaned" elements
-        */
-       public abstract Collection getOrphans(Serializable snapshot, String entityName) throws HibernateException;
-
-       /**
-        * Get the current session
-        */
-       @SuppressWarnings({"JavaDoc"})
-       public final SessionImplementor getSession() {
-               return session;
-       }
-
-       protected final class IteratorProxy implements Iterator {
-               protected final Iterator itr;
-
-               public IteratorProxy(Iterator itr) {
-                       this.itr = itr;
-               }
-
-               public boolean hasNext() {
-                       return itr.hasNext();
-               }
-
-               public Object next() {
-                       return itr.next();
-               }
-
-               public void remove() {
-                       write();
-                       itr.remove();
-               }
-
-       }
-
-       protected final class ListIteratorProxy implements ListIterator {
-               protected final ListIterator itr;
-
-               public ListIteratorProxy(ListIterator itr) {
-                       this.itr = itr;
-               }
-
-               @SuppressWarnings({"unchecked"})
-               public void add(Object o) {
-                       write();
-                       itr.add( o );
-               }
-
-               public boolean hasNext() {
-                       return itr.hasNext();
-               }
-
-               public boolean hasPrevious() {
-                       return itr.hasPrevious();
-               }
-
-               public Object next() {
-                       return itr.next();
-               }
-
-               public int nextIndex() {
-                       return itr.nextIndex();
-               }
-
-               public Object previous() {
-                       return itr.previous();
-               }
-
-               public int previousIndex() {
-                       return itr.previousIndex();
-               }
-
-               public void remove() {
-                       write();
-                       itr.remove();
-               }
-
-               @SuppressWarnings({"unchecked"})
-               public void set(Object o) {
-                       write();
-                       itr.set( o );
-               }
-
-       }
-
-       protected class SetProxy implements java.util.Set {
-               protected final Collection set;
-
-               public SetProxy(Collection set) {
-                       this.set = set;
-               }
-
-               @SuppressWarnings({"unchecked"})
-               public boolean add(Object o) {
-                       write();
-                       return set.add( o );
-               }
-
-               @SuppressWarnings({"unchecked"})
-               public boolean addAll(Collection c) {
-                       write();
-                       return set.addAll( c );
-               }
-
-               public void clear() {
-                       write();
-                       set.clear();
-               }
-
-               public boolean contains(Object o) {
-                       return set.contains( o );
-               }
-
-               public boolean containsAll(Collection c) {
-                       return set.containsAll( c );
-               }
-
-               public boolean isEmpty() {
-                       return set.isEmpty();
-               }
-
-               public Iterator iterator() {
-                       return new IteratorProxy( set.iterator() );
-               }
-
-               public boolean remove(Object o) {
-                       write();
-                       return set.remove( o );
-               }
-
-               public boolean removeAll(Collection c) {
-                       write();
-                       return set.removeAll( c );
-               }
-
-               public boolean retainAll(Collection c) {
-                       write();
-                       return set.retainAll( c );
-               }
-
-               public int size() {
-                       return set.size();
-               }
-
-               public Object[] toArray() {
-                       return set.toArray();
-               }
-
-               @SuppressWarnings({"unchecked"})
-               public Object[] toArray(Object[] array) {
-                       return set.toArray( array );
-               }
-
-       }
-
-       protected final class ListProxy implements java.util.List {
-               protected final List list;
-
-               public ListProxy(List list) {
-                       this.list = list;
-               }
-
-               @Override
-               @SuppressWarnings({"unchecked"})
-               public void add(int index, Object value) {
-                       write();
-                       list.add( index, value );
-               }
-
-               @Override
-               @SuppressWarnings({"unchecked"})
-               public boolean add(Object o) {
-                       write();
-                       return list.add( o );
-               }
-
-               @Override
-               @SuppressWarnings({"unchecked"})
-               public boolean addAll(Collection c) {
-                       write();
-                       return list.addAll( c );
-               }
-
-               @Override
-               @SuppressWarnings({"unchecked"})
-               public boolean addAll(int i, Collection c) {
-                       write();
-                       return list.addAll( i, c );
-               }
-
-               @Override
-               public void clear() {
-                       write();
-                       list.clear();
-               }
-
-               @Override
-               public boolean contains(Object o) {
-                       return list.contains( o );
-               }
-
-               @Override
-               public boolean containsAll(Collection c) {
-                       return list.containsAll( c );
-               }
-
-               @Override
-               public Object get(int i) {
-                       return list.get( i );
-               }
-
-               @Override
-               public int indexOf(Object o) {
-                       return list.indexOf( o );
-               }
-
-               @Override
-               public boolean isEmpty() {
-                       return list.isEmpty();
-               }
-
-               @Override
-               public Iterator iterator() {
-                       return new IteratorProxy( list.iterator() );
-               }
-
-               @Override
-               public int lastIndexOf(Object o) {
-                       return list.lastIndexOf( o );
-               }
-
-               @Override
-               public ListIterator listIterator() {
-                       return new ListIteratorProxy( list.listIterator() );
-               }
-
-               @Override
-               public ListIterator listIterator(int i) {
-                       return new ListIteratorProxy( list.listIterator( i ) );
-               }
-
-               @Override
-               public Object remove(int i) {
-                       write();
-                       return list.remove( i );
-               }
-
-               @Override
-               public boolean remove(Object o) {
-                       write();
-                       return list.remove( o );
-               }
-
-               @Override
-               public boolean removeAll(Collection c) {
-                       write();
-                       return list.removeAll( c );
-               }
-
-               @Override
-               public boolean retainAll(Collection c) {
-                       write();
-                       return list.retainAll( c );
-               }
-
-               @Override
-               @SuppressWarnings({"unchecked"})
-               public Object set(int i, Object o) {
-                       write();
-                       return list.set( i, o );
-               }
-
-               @Override
-               public int size() {
-                       return list.size();
-               }
-
-               @Override
-               public List subList(int i, int j) {
-                       return list.subList( i, j );
-               }
-
-               @Override
-               public Object[] toArray() {
-                       return list.toArray();
-               }
-
-               @Override
-               @SuppressWarnings({"unchecked"})
-               public Object[] toArray(Object[] array) {
-                       return list.toArray( array );
-               }
-
-       }
-
-       /**
-        * Contract for operations which are part of a collection's operation queue.
-        */
-       protected interface DelayedOperation {
-               public void operate();
-
-               public Object getAddedInstance();
-
-               public Object getOrphan();
-       }
-
-       /**
-        * Given a collection of entity instances that used to
-        * belong to the collection, and a collection of instances
-        * that currently belong, return a collection of orphans
-        */
-       @SuppressWarnings({"JavaDoc", "unchecked"})
-       protected static Collection getOrphans(
-                       Collection oldElements,
-                       Collection currentElements,
-                       String entityName,
-                       SessionImplementor session) throws HibernateException {
-
-               // short-circuit(s)
-               if ( currentElements.size() == 0 ) {
-                       return oldElements; // no new elements, the old list contains only Orphans
-               }
-               if ( oldElements.size() == 0 ) {
-                       return oldElements; // no old elements, so no Orphans neither
-               }
-
-               final EntityPersister entityPersister = session.getFactory().getEntityPersister( entityName );
-               final Type idType = entityPersister.getIdentifierType();
-
-               // create the collection holding the Orphans
-               Collection res = new ArrayList();
-
-               // collect EntityIdentifier(s) of the *current* elements - add them into a HashSet for fast access
-               java.util.Set currentIds = new HashSet();
-               java.util.Set currentSaving = new IdentitySet();
-               for ( Object current : currentElements ) {
-                       if ( current != null && ForeignKeys.isNotTransient( entityName, current, null, session ) ) {
-                               EntityEntry ee = session.getPersistenceContext().getEntry( current );
-                               if ( ee != null && ee.getStatus() == Status.SAVING ) {
-                                       currentSaving.add( current );
-                               }
-                               else {
-                                       Serializable currentId = ForeignKeys.getEntityIdentifierIfNotUnsaved(
-                                                       entityName,
-                                                       current,
-                                                       session
-                                       );
-                                       currentIds.add( new TypedValue( idType, currentId, entityPersister.getEntityMode() ) );
-                               }
-                       }
-               }
-
-               // iterate over the *old* list
-               for ( Object old : oldElements ) {
-                       if ( !currentSaving.contains( old ) ) {
-                               Serializable oldId = ForeignKeys.getEntityIdentifierIfNotUnsaved( entityName, old, session );
-                               if ( !currentIds.contains( new TypedValue( idType, oldId, entityPersister.getEntityMode() ) ) ) {
-                                       res.add( old );
-                               }
-                       }
-               }
-
-               return res;
-       }
-
-       public static void identityRemove(
-                       Collection list,
-                       Object object,
-                       String entityName,
-                       SessionImplementor session) throws HibernateException {
-
-               if ( object != null && ForeignKeys.isNotTransient( entityName, object, null, session ) ) {
-                       final EntityPersister entityPersister = session.getFactory().getEntityPersister( entityName );
-                       Type idType = entityPersister.getIdentifierType();
-
-                       Serializable idOfCurrent = ForeignKeys.getEntityIdentifierIfNotUnsaved( entityName, object, session );
-                       Iterator itr = list.iterator();
-                       while ( itr.hasNext() ) {
-                               Serializable idOfOld = ForeignKeys.getEntityIdentifierIfNotUnsaved( entityName, itr.next(), session );
-                               if ( idType.isEqual( idOfCurrent, idOfOld, session.getFactory() ) ) {
-                                       itr.remove();
-                                       break;
-                               }
-                       }
-
-               }
-       }
-
-       public Object getIdentifier(Object entry, int i) {
-               throw new UnsupportedOperationException();
-       }
-
-       public Object getOwner() {
-               return owner;
-       }
-
-       public void setOwner(Object owner) {
-               this.owner = owner;
-       }
-
-       /** ------ Below is section of code which makes remote service calls ----- */
-       // The affected methods are : 
-       // initialize(final boolean writing)
-       // readSize()
-       // readIndexExistence(final Object index)
-       // readElementExistence(final Object element)
-       // readElementByIndex(final Object index) 
-       
-       private static ICdmApplicationConfiguration configuration;
-       private static boolean remoting = false;
-       
-       public static void setConfiguration(ICdmApplicationConfiguration conf) {
-               configuration = conf;
-                       
-               if(conf instanceof CdmApplicationRemoteController) {
-                       remoting = true;
-               } else {
-                       remoting = false;
-               }
-       }
-       
-       
-       private void remoteInitialize() {
-               
-               if (getOwner() != null && !initialized) {                       
-                       
-                       try {
-                               String role = getRole();
-                               String fieldName = role.substring(role.lastIndexOf(".") + 1);
-                               log.info("--> Remote Lazy Initializing " + getRole() + " , key : " + getKey() + " , field : " + fieldName);
-                               Object owner = getOwner();
-                               
-                               if(configuration == null) {
-                                       throw new HibernateException("CdmApplicationRemoteConfiguration not initialized (null)");
-                               }
-                               ICommonService commonService = configuration.getCommonService();
-                               if(commonService == null) {
-                                       throw new HibernateException("commonService not initialized (null)");
-                               }
-                               
-                               PersistentCollection col = commonService.initializeCollection(this); 
-                               afterInitialize();
-
-                               Class<?> clazz = getClass();
-                               if (clazz != null) {    
-                                       CollectionField cf = getCollectionField(col);
-                                       Field field = clazz.getDeclaredField(cf.getFieldName());
-                                       field.setAccessible(true);
-                                       field.set(this, cf.getCollection());                           
-                               }               
-                       } catch (Exception ex) {
-                               log.warn(ex.getMessage());
-                       }                       
-               }
-       }
-       
-       
-       private CollectionField getCollectionField(PersistentCollection pc) {
-               if(pc != null) {
-                       if(pc instanceof PersistentSet) {
-                               return new CollectionField(new HashSet((Set)pc), "set");
-                       }
-                       if(pc instanceof PersistentSortedSet) {
-                               return new CollectionField(new TreeSet((Set)pc), "set");
-                       }
-                       if(pc instanceof PersistentList) {
-                               return new CollectionField(new ArrayList((List)pc), "list");
-                       }
-                       if(pc instanceof PersistentMap || pc instanceof PersistentMultiLanguageText) {
-                               return new CollectionField(new HashMap((Map)pc), "map");
-                       }
-                       if(pc instanceof PersistentSortedMap) {
-                               return new CollectionField(new TreeMap((Map)pc), "map");
-                       }
-               }
-               return null;
-       }
-       
-       private String getCollectionFieldName(PersistentCollection pc) {
-               if(pc != null) {
-                       if(pc instanceof PersistentSet || pc instanceof PersistentSortedSet) {
-                               return "set";
-                       }                       
-                       if(pc instanceof PersistentList) {
-                               return "list";
-                       }
-                       if(pc instanceof PersistentMap || pc instanceof PersistentMultiLanguageText) {
-                               return "map";
-                       }
-               }
-               return null;
-       }
-       
-       private class CollectionField {
-               private Object col;
-               private String fieldName;
-               public CollectionField(Object col, String fieldName) {
-                       this.col = col;
-                       this.fieldName = fieldName;
-               }
-               
-               public Object getCollection() {
-                       return this.col;
-               }
-               
-               public String getFieldName() {
-                       return this.fieldName;
-               }
-       }
-       
-       public static boolean isInitialized(List list) {
-               return ((AbstractPersistentCollection)list).initialized;
-       }
-       
-       public static boolean isInitialized(Map map) {
-               return ((AbstractPersistentCollection)map).initialized;
-       }
-       
-       public static boolean isInitialized(Set set) {
-               return ((AbstractPersistentCollection)set).initialized;
-       }
-       
-       //FIXME:Remoting These methods may no longer be required since we are 
-       //               initialising collections as default behaviour
-       private int remoteSize() {
-               int size = configuration.getCommonService().size(this);
-               log.debug("--> Remote Lazy Initializing size of " + getRole() + " to " + size);
-               if(size == -1) {
-                       throw new HibernateException("size of " + getClass() + " could not be retrieved from remote service");
-               }
-               return size;
-       }
-       
-       private Object remoteReadElementByIndex(int index) {
-               Object element = configuration.getCommonService().get(this,index);
-               log.debug("--> Remote Lazy Initializing element from " + getRole() + " at index " + index);
-               return element;
-       }
-       
-       private boolean remoteReadElementExistence(Object element) {
-               return configuration.getCommonService().contains(this,element);
-       }
-       
-       private boolean remoteReadIndexExistence(Object index) {
-               return false;
-       }
-}
-
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java b/eu.etaxonomy.taxeditor.remoting/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
deleted file mode 100644 (file)
index 86a7ed3..0000000
+++ /dev/null
@@ -1,463 +0,0 @@
-/*
- * Hibernate, Relational Persistence for Idiomatic Java
- *
- * Copyright (c) 2008-2011, Red Hat Inc. or third-party contributors as
- * indicated by the @author tags or express copyright attribution
- * statements applied by the authors.  All third-party contributions are
- * distributed under license by Red Hat Inc.
- *
- * This copyrighted material is made available to anyone wishing to use, modify,
- * copy, or redistribute it subject to the terms and conditions of the GNU
- * Lesser General Public License, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this distribution; if not, write to:
- * Free Software Foundation, Inc.
- * 51 Franklin Street, Fifth Floor
- * Boston, MA  02110-1301  USA
- */
-package org.hibernate.proxy;
-
-import java.io.Serializable;
-
-import javax.naming.NamingException;
-
-import org.hibernate.HibernateException;
-import org.hibernate.LazyInitializationException;
-import org.hibernate.Session;
-import org.hibernate.SessionException;
-import org.hibernate.TransientObjectException;
-import org.hibernate.engine.spi.EntityKey;
-import org.hibernate.engine.spi.SessionFactoryImplementor;
-import org.hibernate.engine.spi.SessionImplementor;
-import org.hibernate.internal.SessionFactoryRegistry;
-import org.hibernate.persister.entity.EntityPersister;
-import org.jboss.logging.Logger;
-
-import eu.etaxonomy.cdm.api.application.CdmApplicationRemoteController;
-import eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration;
-import eu.etaxonomy.cdm.api.service.ICommonService;
-import eu.etaxonomy.cdm.model.common.CdmBase;
-
-/**
- * Convenience base class for lazy initialization handlers.  Centralizes the basic plumbing of doing lazy
- * initialization freeing subclasses to acts as essentially adapters to their intended entity mode and/or
- * proxy generation strategy.
- *
- * @author Gavin King
- */
-public abstract class AbstractLazyInitializer implements LazyInitializer {
-       private static final Logger log = Logger.getLogger( AbstractLazyInitializer.class );
-
-       private String entityName;
-       private Serializable id;
-       private Object target;
-       private boolean initialized;
-       private boolean readOnly;
-       private boolean unwrap;
-       private transient SessionImplementor session;
-       private Boolean readOnlyBeforeAttachedToSession;
-
-       private String sessionFactoryUuid;
-       private boolean specjLazyLoad = false;
-
-       /**
-        * For serialization from the non-pojo initializers (HHH-3309)
-        */
-       protected AbstractLazyInitializer() {
-       }
-
-       /**
-        * Main constructor.
-        *
-        * @param entityName The name of the entity being proxied.
-        * @param id The identifier of the entity being proxied.
-        * @param session The session owning the proxy.
-        */
-       protected AbstractLazyInitializer(String entityName, Serializable id, SessionImplementor session) {
-               this.entityName = entityName;
-               this.id = id;
-               // initialize other fields depending on session state
-               if ( session == null ) {
-                       unsetSession();
-               }
-               else {
-                       setSession( session );
-               }
-       }
-
-       @Override
-       public final String getEntityName() {
-               return entityName;
-       }
-
-       @Override
-       public final Serializable getIdentifier() {
-               return id;
-       }
-
-       @Override
-       public final void setIdentifier(Serializable id) {
-               this.id = id;
-       }
-
-       @Override
-       public final boolean isUninitialized() {
-               return !initialized;
-       }
-
-       @Override
-       public final SessionImplementor getSession() {
-               return session;
-       }
-
-       @Override
-       public final void setSession(SessionImplementor s) throws HibernateException {
-               if ( s != session ) {
-                       // check for s == null first, since it is least expensive
-                       if ( s == null ) {
-                               unsetSession();
-                       }
-                       else if ( isConnectedToSession() ) {
-                               //TODO: perhaps this should be some other RuntimeException...
-                               throw new HibernateException( "illegally attempted to associate a proxy with two open Sessions" );
-                       }
-                       else {
-                               // s != null
-                               session = s;
-                               if ( readOnlyBeforeAttachedToSession == null ) {
-                                       // use the default read-only/modifiable setting
-                                       final EntityPersister persister = s.getFactory().getEntityPersister( entityName );
-                                       setReadOnly( s.getPersistenceContext().isDefaultReadOnly() || !persister.isMutable() );
-                               }
-                               else {
-                                       // use the read-only/modifiable setting indicated during deserialization
-                                       setReadOnly( readOnlyBeforeAttachedToSession.booleanValue() );
-                                       readOnlyBeforeAttachedToSession = null;
-                               }
-                       }
-               }
-       }
-
-       private static EntityKey generateEntityKeyOrNull(Serializable id, SessionImplementor s, String entityName) {
-               if ( id == null || s == null || entityName == null ) {
-                       return null;
-               }
-               return s.generateEntityKey( id, s.getFactory().getEntityPersister( entityName ) );
-       }
-
-       @Override
-       public final void unsetSession() {
-               prepareForPossibleSpecialSpecjInitialization();
-               session = null;
-               readOnly = false;
-               readOnlyBeforeAttachedToSession = null;
-       }
-
-       @Override
-       public final void initialize() throws HibernateException {
-               // In remoting we are sure that session is null
-               // both when using property paths and switching off conversations
-               if(session == null && remoting) {
-                       remoteInitialize();
-               }
-               if ( !initialized ) {
-                       if ( specjLazyLoad ) {
-                               specialSpecjInitialization();
-                       }
-                       else if ( session == null ) {
-                               throw new LazyInitializationException( "could not initialize proxy - no Session" );
-                       }
-                       else if ( !session.isOpen() ) {
-                               throw new LazyInitializationException( "could not initialize proxy - the owning Session was closed" );
-                       }
-                       else if ( !session.isConnected() ) {
-                               throw new LazyInitializationException( "could not initialize proxy - the owning Session is disconnected" );
-                       }
-                       else {
-                               target = session.immediateLoad( entityName, id );
-                               initialized = true;
-                               checkTargetState();
-                       }
-               }
-               else {
-                       checkTargetState();
-               }
-       }
-
-       protected void specialSpecjInitialization() {
-               if ( session == null ) {
-                       //we have a detached collection thats set to null, reattach
-                       if ( sessionFactoryUuid == null ) {
-                               throw new LazyInitializationException( "could not initialize proxy - no Session" );
-                       }
-                       try {
-                               SessionFactoryImplementor sf = (SessionFactoryImplementor)
-                                               SessionFactoryRegistry.INSTANCE.getSessionFactory( sessionFactoryUuid );
-                               SessionImplementor session = (SessionImplementor) sf.openSession();
-
-                               // TODO: On the next major release, add an
-                               // 'isJTA' or 'getTransactionFactory' method to Session.
-                               boolean isJTA = session.getTransactionCoordinator()
-                                               .getTransactionContext().getTransactionEnvironment()
-                                               .getTransactionFactory()
-                                               .compatibleWithJtaSynchronization();
-
-                               if ( !isJTA ) {
-                                       // Explicitly handle the transactions only if we're not in
-                                       // a JTA environment.  A lazy loading temporary session can
-                                       // be created even if a current session and transaction are
-                                       // open (ex: session.clear() was used).  We must prevent
-                                       // multiple transactions.
-                                       ( ( Session) session ).beginTransaction();
-                               }
-
-                               try {
-                                       target = session.immediateLoad( entityName, id );
-                               }
-                               finally {
-                                       // make sure the just opened temp session gets closed!
-                                       try {
-                                               if ( !isJTA ) {
-                                                       ( ( Session) session ).getTransaction().commit();
-                                               }
-                                               ( (Session) session ).close();
-                                       }
-                                       catch (Exception e) {
-                                               log.warn( "Unable to close temporary session used to load lazy proxy associated to no session" );
-                                       }
-                               }
-                               initialized = true;
-                               checkTargetState();
-                       }
-                       catch (Exception e) {
-                               e.printStackTrace();
-                               throw new LazyInitializationException( e.getMessage() );
-                       }
-               }
-               else if ( session.isOpen() && session.isConnected() ) {
-                       target = session.immediateLoad( entityName, id );
-                       initialized = true;
-                       checkTargetState();
-               }
-               else {
-                       throw new LazyInitializationException( "could not initialize proxy - Session was closed or disced" );
-               }
-       }
-
-       protected void prepareForPossibleSpecialSpecjInitialization() {
-               if ( session != null ) {
-                       specjLazyLoad = session.getFactory().getSettings().isInitializeLazyStateOutsideTransactionsEnabled();
-
-                       if ( specjLazyLoad && sessionFactoryUuid == null ) {
-                               try {
-                                       sessionFactoryUuid = (String) session.getFactory().getReference().get( "uuid" ).getContent();
-                               }
-                               catch (NamingException e) {
-                                       //not much we can do if this fails...
-                               }
-                       }
-               }
-       }
-
-       private void checkTargetState() {
-               if ( !unwrap ) {
-                       if ( target == null ) {
-                               getSession().getFactory().getEntityNotFoundDelegate().handleEntityNotFound( entityName, id );
-                       }
-               }
-       }
-
-       /**
-        * Getter for property 'connectedToSession'.
-        *
-        * @return Value for property 'connectedToSession'.
-        */
-       protected final boolean isConnectedToSession() {
-               return getProxyOrNull() != null;
-       }
-
-       private Object getProxyOrNull() {
-               final EntityKey entityKey = generateEntityKeyOrNull( getIdentifier(), session, getEntityName() );
-               if ( entityKey != null && session != null && session.isOpen() ) {
-                       return session.getPersistenceContext().getProxy( entityKey );
-               }
-               return null;
-       }
-
-       @Override
-       public final Object getImplementation() {
-               initialize();
-               return target;
-       }
-
-       @Override
-       public final void setImplementation(Object target) {
-               this.target = target;
-               initialized = true;
-       }
-
-       @Override
-       public final Object getImplementation(SessionImplementor s) throws HibernateException {
-               final EntityKey entityKey = generateEntityKeyOrNull( getIdentifier(), s, getEntityName() );
-               return (entityKey == null ? null : s.getPersistenceContext().getEntity( entityKey ));
-       }
-
-       /**
-        * Getter for property 'target'.
-        * <p/>
-        * Same as {@link #getImplementation()} except that this method will not force initialization.
-        *
-        * @return Value for property 'target'.
-        */
-       protected final Object getTarget() {
-               return target;
-       }
-
-       @Override
-       public final boolean isReadOnlySettingAvailable() {
-               return (session != null && !session.isClosed());
-       }
-
-       private void errorIfReadOnlySettingNotAvailable() {
-               if ( session == null ) {
-                       throw new TransientObjectException(
-                                       "Proxy is detached (i.e, session is null). The read-only/modifiable setting is only accessible when the proxy is associated with an open session."
-                       );
-               }
-               if ( session.isClosed() ) {
-                       throw new SessionException(
-                                       "Session is closed. The read-only/modifiable setting is only accessible when the proxy is associated with an open session."
-                       );
-               }
-       }
-
-       @Override
-       public final boolean isReadOnly() {
-               errorIfReadOnlySettingNotAvailable();
-               return readOnly;
-       }
-
-       @Override
-       public final void setReadOnly(boolean readOnly) {
-               errorIfReadOnlySettingNotAvailable();
-               // only update if readOnly is different from current setting
-               if ( this.readOnly != readOnly ) {
-                       final EntityPersister persister = session.getFactory().getEntityPersister( entityName );
-                       if ( !persister.isMutable() && !readOnly ) {
-                               throw new IllegalStateException( "cannot make proxies for immutable entities modifiable" );
-                       }
-                       this.readOnly = readOnly;
-                       if ( initialized ) {
-                               EntityKey key = generateEntityKeyOrNull( getIdentifier(), session, getEntityName() );
-                               if ( key != null && session.getPersistenceContext().containsEntity( key ) ) {
-                                       session.getPersistenceContext().setReadOnly( target, readOnly );
-                               }
-                       }
-               }
-       }
-
-       /**
-        * Get the read-only/modifiable setting that should be put in affect when it is
-        * attached to a session.
-        * <p/>
-        * This method should only be called during serialization when read-only/modifiable setting
-        * is not available (i.e., isReadOnlySettingAvailable() == false)
-        *
-        * @return null, if the default setting should be used;
-        *         true, for read-only;
-        *         false, for modifiable
-        *
-        * @throws IllegalStateException if isReadOnlySettingAvailable() == true
-        */
-       protected final Boolean isReadOnlyBeforeAttachedToSession() {
-               if ( isReadOnlySettingAvailable() ) {
-                       throw new IllegalStateException(
-                                       "Cannot call isReadOnlyBeforeAttachedToSession when isReadOnlySettingAvailable == true"
-                       );
-               }
-               return readOnlyBeforeAttachedToSession;
-       }
-
-       /**
-        * Set the read-only/modifiable setting that should be put in affect when it is
-        * attached to a session.
-        * <p/>
-        * This method should only be called during deserialization, before associating
-        * the proxy with a session.
-        *
-        * @param readOnlyBeforeAttachedToSession, the read-only/modifiable setting to use when
-        * associated with a session; null indicates that the default should be used.
-        *
-        * @throws IllegalStateException if isReadOnlySettingAvailable() == true
-        */
-       /* package-private */
-       final void setReadOnlyBeforeAttachedToSession(Boolean readOnlyBeforeAttachedToSession) {
-               if ( isReadOnlySettingAvailable() ) {
-                       throw new IllegalStateException(
-                                       "Cannot call setReadOnlyBeforeAttachedToSession when isReadOnlySettingAvailable == true"
-                       );
-               }
-               this.readOnlyBeforeAttachedToSession = readOnlyBeforeAttachedToSession;
-       }
-
-       @Override
-       public boolean isUnwrap() {
-               return unwrap;
-       }
-
-       @Override
-       public void setUnwrap(boolean unwrap) {
-               this.unwrap = unwrap;
-       }
-
-       /** Below is section of code which makes remote service calls */
-
-       private static ICdmApplicationConfiguration configuration;
-       private static boolean remoting = false;
-
-       public static void setConfiguration(ICdmApplicationConfiguration conf) {
-               configuration = conf;
-
-               if(conf instanceof CdmApplicationRemoteController) {
-                       remoting = true;
-               } else {
-                       remoting = false;
-               }
-       }
-
-
-       private void remoteInitialize() {
-
-               if(!initialized) {
-                       int classid = ((Integer)getIdentifier()).intValue();
-                       log.debug("--> Remote Lazy Initializing" + getEntityName() + " with id " + classid);
-                       Class clazz;
-                       try {
-                               clazz = Class.forName(getEntityName());
-                       } catch (ClassNotFoundException e) {
-                               throw new HibernateException("Class for " + getEntityName() + " not found", e);
-                       }
-                       if(configuration == null) {
-                               throw new HibernateException("CdmApplicationRemoteConfiguration not initialized (null)");
-                       }
-                       ICommonService commonService = configuration.getCommonService();
-                       if(commonService == null) {
-                               throw new HibernateException("commonService not initialized (null)");
-                       }
-
-                       CdmBase cdmBase = CdmBase.deproxy(commonService.find(clazz,classid),clazz);
-                       setImplementation(cdmBase);
-
-               }
-       }
-
-       public static boolean isInitialized(AbstractLazyInitializer obj) {
-               return obj.initialized;
-       }
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/jetty-runner-9.2.3.v20140905.jar b/eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/jetty-runner-9.2.3.v20140905.jar
deleted file mode 100644 (file)
index 91c88d6..0000000
Binary files a/eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/jetty-runner-9.2.3.v20140905.jar and /dev/null differ
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/start-9.2.3.v20140905.jar b/eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/start-9.2.3.v20140905.jar
deleted file mode 100644 (file)
index ef2faaf..0000000
Binary files a/eu.etaxonomy.taxeditor.remoting/src/main/resources/etc/jetty/start-9.2.3.v20140905.jar and /dev/null differ
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/config.properties b/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/config.properties
deleted file mode 100644 (file)
index f706a6e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-serverName=localhost:8080
-contextPath=remoting
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/httpInvokerServiceClients.xml b/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/httpInvokerServiceClients.xml
deleted file mode 100644 (file)
index e3c0f9f..0000000
+++ /dev/null
@@ -1,480 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans"\r
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-       xmlns:context="http://www.springframework.org/schema/context"\r
-       xmlns:tx="http://www.springframework.org/schema/tx"\r
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
-    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd\r
-    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">\r
-\r
-       \r
-   <bean id="agentService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/agent.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IAgentService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="annotationService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/annotation.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IAnnotationService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="auditeventService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/auditevent.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IAuditEventService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="classificationService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/classification.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IClassificationService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="collectionService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/collection.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.ICollectionService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="commonService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/common.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.ICommonService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="descriptionService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/description.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IDescriptionService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-   <bean id="editGeoService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/editgeo.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.ext.geo.IEditGeoService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="featureNodeService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/featurenode.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IFeatureNodeService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="featureTreeService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/featuretree.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IFeatureTreeService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="groupService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/group.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IGroupService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="identificationKeyService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/identificationkey.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IIdentificationKeyService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="locationService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/location.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.ILocationService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="markerService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/marker.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IMarkerService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="mediaService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/media.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IMediaService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="nameService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/name.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.INameService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="occurrenceService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/occurrence.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IOccurrenceService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="polytomousKeyNodeService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/polytomouskeynode.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IPolytomousKeyNodeService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="polytomousKeyService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/polytomouskey.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IPolytomousKeyService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="referenceService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/reference.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IReferenceService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-<!-- \r
-   <bean id="serviceService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/service.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IService</value>\r
-               </property>\r
-       </bean>\r
- -->\r
\r
-   <bean id="taxonNodeService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/taxonnode.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.ITaxonNodeService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="taxonService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/taxon.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.ITaxonService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="termService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/term.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.ITermService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="userService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/user.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IUserService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="vocabularyService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/vocabulary.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IVocabularyService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-   <bean id="workingSetService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/workingset.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IWorkingSetService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-   <bean id="grantedAuthorityService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/grantedauthority.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IGrantedAuthorityService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-   <bean id="databaseService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/database.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.IDatabaseService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-   <bean id="lsidAuthorityService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/lsidauthoruty.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.lsid.LSIDAuthorityService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-   <bean id="lsidMetadataService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/lsidmetadata.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.lsid.LSIDMetadataService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-   <bean id="lsiDataService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/lsiddata.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.lsid.LSIDDataService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-       <bean id="providerManager"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/authenticationManager.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>org.springframework.security.authentication.AuthenticationManager</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-       <bean id="primerService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/primer.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.molecular.IPrimerService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-       <bean id="amplificationService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/amplification.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.molecular.IAmplificationService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-       \r
-       <bean id="sequenceService"\r
-               class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">\r
-               <property name="serviceUrl">\r
-                       <value>http://${remoteServer}:${remotePort}/${remoteContext}/remoting/sequence.service</value>\r
-               </property>\r
-               <property name="serviceInterface">\r
-                       <value>eu.etaxonomy.cdm.api.service.molecular.ISequenceService</value>\r
-               </property>\r
-               <property name="httpInvokerRequestExecutor">\r
-                       <bean class="org.springframework.security.remoting.httpinvoker.AuthenticationSimpleHttpInvokerRequestExecutor" />\r
-               </property>\r
-       </bean>\r
-\r
-\r
-\r
-</beans>\r
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/localApplicationContext.xml b/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/localApplicationContext.xml
deleted file mode 100644 (file)
index 11a206b..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xmlns:context="http://www.springframework.org/schema/context"
-       xmlns:tx="http://www.springframework.org/schema/tx"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
-    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
-       
-       
-    <!-- Default application context and term initializer -->
-  <import resource="classpath:/eu/etaxonomy/cdm/defaultApplicationContext.xml"/>
-  <bean id="persistentTermInitializer" class="eu.etaxonomy.cdm.database.PersistentTermInitializer">
-    <property name="omit" value="false" />
-  </bean>
-    
-  <import resource="classpath:/eu/etaxonomy/cdm/remote.xml"/>
-  <import resource="classpath:eu/etaxonomy/cdm/remote/json/jsonConfigurations.xml"/>
-  
-  <context:component-scan base-package="eu/etaxonomy/cdm/ext"/>
-  
-  <context:component-scan base-package="eu/etaxonomy/cdm/remote">
-    <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.remote\.config\.DataSourceConfigurer" />
-    <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.remote\.config\.LoggingConfigurer" />
-    <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.remote\.view\.PatternViewResolver" />
-    <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.remote\.vaadin\..*" />
-    <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.remote\.controller\..*Portal.*" /> 
-  </context:component-scan>
-  
-
-</beans>
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remotingApplicationContext.xml b/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remotingApplicationContext.xml
deleted file mode 100644 (file)
index 66be8d6..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans"\r
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-       xmlns:context="http://www.springframework.org/schema/context"\r
-       xmlns:tx="http://www.springframework.org/schema/tx"\r
-       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
-    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">\r
-       \r
-       \r
-    <!--  <bean id="remoteTermInitializer" class="eu.etaxonomy.cdm.remote.service.RemoteTermInitializer"/>-->\r
-        \r
-       <context:annotation-config/>\r
-    \r
-    <import resource="classpath:/eu/etaxonomy/cdm/httpInvokerServiceClients.xml"/>\r
-    \r
-    <bean id="cdmApplicationRemoteConfiguration" class="eu.etaxonomy.cdm.api.application.CdmApplicationRemoteConfiguration"/>    \r
-    \r
-       <import resource="classpath:/eu/etaxonomy/cdm/remoting_services_security.xml"/>         \r
-       \r
-       <bean id="cdmServiceCacher" class="eu.etaxonomy.cdm.api.cache.CdmServiceCacher"/>\r
-       \r
-       \r
-       <!-- EditGeoService was moved to ext. Therefore it will not be found by the default component scan.
-       We added it here because the Editor needs it. However, this is only a temporary solution.
-       In the future we want to pass in an application context with the editor. -->\r
-\r
-\r
-       <!-- <bean id="conversationHolder" class="eu.etaxonomy.cdm.api.conversation.ConversationHolder" scope="prototype"/> -->\r
-\r
-       <!-- TODO move to io -->\r
-<!-- \r
-       <context:component-scan base-package="eu/etaxonomy/cdm/io">\r
-               <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.berlinModel.*" />\r
-       </context:component-scan>\r
- -->\r
-       <!-- enable the configuration of transactional behavior based on annotations -->\r
-       <!-- <tx:annotation-driven transaction-manager="transactionManager"/> -->\r
-\r
-</beans>\r
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remoting_persistence_security.xml b/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remoting_persistence_security.xml
deleted file mode 100644 (file)
index 46916f5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans"\r
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"\r
-  xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"\r
-  xsi:schemaLocation="http://www.springframework.org/schema/beans\r
-    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd\r
-    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd\r
-    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd\r
-    http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd\r
-    ">\r
-\r
-\r
-    <!--\r
-      ============================== SECURITY ==============================\r
-    -->\r
-    <bean id="accessDecisionManager" class="eu.etaxonomy.cdm.persistence.hibernate.permission.UnanimousBasedUnrevokable">\r
-        <property name="decisionVoters">\r
-            <list>\r
-                <bean class="eu.etaxonomy.cdm.persistence.hibernate.permission.voter.GrantAlwaysVoter" />\r
-                <bean class="eu.etaxonomy.cdm.persistence.hibernate.permission.voter.TaxonNodeVoter" />\r
-                <bean class="eu.etaxonomy.cdm.persistence.hibernate.permission.voter.TaxonBaseVoter" />\r
-                <bean class="eu.etaxonomy.cdm.persistence.hibernate.permission.voter.DescriptionBaseVoter" />\r
-                <bean class="eu.etaxonomy.cdm.persistence.hibernate.permission.voter.DescriptionElementVoter" />\r
-            </list>\r
-        </property>\r
-    </bean>\r
-\r
-    <!--\r
-        CdmPermissionEvaluator.hasPermissions() evaluates the CdmPermissions like TAXONNODE.UPDATE{20c8f083-5870-4cbd-bf56-c5b2b98ab6a7}\r
-    -->\r
-    <bean id="cdmPermissionEvaluator" class="eu.etaxonomy.cdm.persistence.hibernate.permission.CdmPermissionEvaluator">\r
-        <property name="accessDecisionManager" ref="accessDecisionManager" />\r
-    </bean>\r
-\r
-    <!-- The CdmSecurityHibernateInterceptor checks onSave() and on flushDirty() if the currently authenticated principal or token  has\r
-    sufficient permissions on the entity to be persisted -->\r
-    <bean id="securityHibernateInterceptor" class="eu.etaxonomy.cdm.persistence.hibernate.CdmSecurityHibernateInterceptor">\r
-        <property name="permissionEvaluator" ref="cdmPermissionEvaluator" />\r
-    </bean>\r
-\r
-</beans>\r
diff --git a/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remoting_services_security.xml b/eu.etaxonomy.taxeditor.remoting/src/main/resources/eu/etaxonomy/cdm/remoting_services_security.xml
deleted file mode 100644 (file)
index 4b5a565..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans"\r
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-  xmlns:context="http://www.springframework.org/schema/context"\r
-  xmlns:security="http://www.springframework.org/schema/security"\r
-  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd\r
-    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd\r
-    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd\r
-    http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd"\r
-    >\r
-\r
-    <import resource="classpath:/eu/etaxonomy/cdm/remoting_persistence_security.xml"/>\r
-    <!--\r
-        ======================================================================\r
-          security specific configuration\r
-        ======================================================================\r
-     -->\r
-    <security:global-method-security pre-post-annotations="enabled" run-as-manager-ref="runAsManager" >\r
-        <security:expression-handler ref="expressionHandler" />\r
-    </security:global-method-security>\r
-\r
-    <!--\r
-        To use "hasPermission()" in the Spring EL method annotations like @PreAuthorize we explicitly configure the permissionEvaluator\r
-        the cdmPermissionEvaluator is already defined in the persistence security context\r
-    -->\r
-    <bean id="expressionHandler" class="org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler">\r
-        <property name="permissionEvaluator" ref="cdmPermissionEvaluator" />\r
-    </bean>\r
-\r
-    <bean id="authenticationManager" class="org.springframework.security.authentication.ProviderManager">\r
-        <property name="providers">\r
-            <list>\r
-                <ref local="daoAuthenticationProvider"/>\r
-            </list>\r
-        </property>\r
-    </bean>\r
-\r
-    <bean id="daoAuthenticationProvider" class="org.springframework.security.authentication.dao.DaoAuthenticationProvider">\r
-        <property name="userDetailsService" ref="userService"/>\r
-        <property name="saltSource" ref="saltSource"/>\r
-        <property name="passwordEncoder" ref="passwordEncoder"/>\r
-    </bean>\r
-\r
-    <bean id="passwordEncoder" class="org.springframework.security.authentication.encoding.Md5PasswordEncoder"/>\r
-\r
-    <bean id="saltSource" class="org.springframework.security.authentication.dao.ReflectionSaltSource">\r
-        <property name="userPropertyToUse" value="getUsername"/>\r
-    </bean>\r
-\r
-    <!--\r
-        Run-As Authentication Replacement for system operations\r
-        as e.g. performed by the eu.etaxonomy.cdm.api.application.FirstDataInserter\r
-\r
-        the key must match FirstDataInserter.RUN_AS_KEY\r
-     -->\r
-    <bean id="runAsManager"\r
-        class="org.springframework.security.access.intercept.RunAsManagerImpl">\r
-      <property name="key" value="TtlCx3pgKC4l"/>\r
-    </bean>\r
-\r
-\r
-</beans>\r
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/exception/CDMServerException.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/exception/CDMServerException.java
deleted file mode 100644 (file)
index 29eb359..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// $Id$
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.exception;
-
-/**
- * @author cmathew
- * @date 23 Sep 2014
- *
- */
-public class CDMServerException extends Exception {
-
-    public CDMServerException(String message) {
-        super(message);
-    }
-
-    public CDMServerException(Exception e) {
-        super(e);
-    }
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/BaseRemotingTest.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/BaseRemotingTest.java
deleted file mode 100644 (file)
index 4700471..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-/**
- * Copyright (C) 2014 EDIT
- * European Distributed Institute of Taxonomy
- * http://www.e-taxonomy.eu
- *
- * The contents of this file are subject to the Mozilla Public License Version 1.1
- * See LICENSE.TXT at the top of this package for the full license terms.
- */
-package eu.etaxonomy.taxeditor.httpinvoker;
-
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.junit.AfterClass;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-import org.unitils.UnitilsJUnit4;
-import org.unitils.database.DatabaseUnitils;
-import org.unitils.database.annotations.Transactional;
-import org.unitils.database.util.TransactionMode;
-
-import eu.etaxonomy.cdm.api.application.CdmApplicationRemoteController;
-import eu.etaxonomy.cdm.api.application.ICdmApplicationConfiguration;
-import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
-import eu.etaxonomy.cdm.remote.CdmPersistentRemoteSource;
-import eu.etaxonomy.cdm.remote.CdmRemoteSource;
-import eu.etaxonomy.cdm.remote.CdmRemoteSourceException;
-import eu.etaxonomy.cdm.remote.ICdmRemoteSource;
-
-
-/**
- * Base class for remoting tests, responsible for
- * - starting / stop the cdm server
- * - running some basic connection tests
- * - setting up the remote configuration.
- *
- */
-@Transactional(TransactionMode.DISABLED)
-public class BaseRemotingTest extends UnitilsJUnit4 {
-    private static final Logger logger = Logger.getLogger(BaseRemotingTest.class);
-
-    private static ICdmApplicationConfiguration remoteApplicationController;
-    private static ICdmRemoteSource cdmRemoteSource;
-    private static CdmPersistentRemoteSource remotePersistentSource;
-
-    private static boolean stoppingServer = false;
-
-    @BeforeClass
-    public static void  initializeBaseRemotingTest() {
-        Logger.getRootLogger().setLevel(Level.INFO);
-
-        //DatabaseUnitils.disableConstraints();
-        try {
-            CDMServer.getInstance().start();
-        } catch (Exception e) {
-            e.printStackTrace();
-            Assert.fail("Server failed to start. Reason : " + e.getMessage());
-        }
-        cdmRemoteSource = CdmRemoteSource.NewInstance(CDMServer.getInstance().getName(),
-                CDMServer.getInstance().getHost(),
-                CDMServer.getInstance().getPort(),
-                CDMServer.getInstance().getContextPath(),
-                NomenclaturalCode.ICNAFP);
-        remoteApplicationController =
-                CdmApplicationRemoteController.NewInstance(cdmRemoteSource,
-                        false,
-                        null,
-                        null);
-
-        try {
-            remotePersistentSource = CdmPersistentRemoteSource.NewInstance("default");
-        } catch (CdmRemoteSourceException e) {
-            Assert.fail("Default Remote Persistent Source failed to load. Reason : " + e.getMessage());
-        }
-
-    }
-
-
-    protected static ICdmApplicationConfiguration getRemoteApplicationController() {
-        return remoteApplicationController;
-    }
-
-    protected static ICdmRemoteSource getCdmRemoteSource() {
-        return cdmRemoteSource;
-    }
-
-    protected static CdmPersistentRemoteSource getCdmPersistentRemoteSource() {
-        return remotePersistentSource;
-    }
-
-    @AfterClass
-    public static void cleanup() {
-        try {
-            CDMServer.getInstance().stop();
-        } catch (Exception e) {
-            Assert.fail("Server could not be stopped. Reason : " + e.getMessage());
-        }
-    }
-
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CDMServer.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CDMServer.java
deleted file mode 100644 (file)
index 9f01ae8..0000000
+++ /dev/null
@@ -1,279 +0,0 @@
-// $Id$
-/**
- * Copyright (C) 2014 EDIT
- * European Distributed Institute of Taxonomy
- * http://www.e-taxonomy.eu
- *
- * The contents of this file are subject to the Mozilla Public License Version 1.1
- * See LICENSE.TXT at the top of this package for the full license terms.
- */
-package eu.etaxonomy.taxeditor.httpinvoker;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStreamReader;
-
-import javax.sql.DataSource;
-
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.springframework.core.io.ClassPathResource;
-import org.springframework.core.io.Resource;
-import org.unitils.database.annotations.TestDataSource;
-import org.unitils.spring.annotation.SpringApplicationContext;
-
-import eu.etaxonomy.cdm.remote.CdmRemoteSourceBase;
-import eu.etaxonomy.taxeditor.exception.CDMServerException;
-
-/**
- *
- * Inspired by http://javabitch.blogspot.de/2012/02/junit-with-jetty-restful-cxf.html
- * @author cmathew
- * @date 23 Sep 2014
- *
- */
-@SpringApplicationContext("file:./target/test-classes/eu/etaxonomy/cdm/testRemotingApplicationContext.xml")
-public class CDMServer {
-
-    public static final Logger logger = Logger.getLogger(CDMServer.class);
-
-    @TestDataSource
-    protected DataSource dataSource;
-
-    private boolean runDefaultCDMServer;
-
-    private final String name = "test-cdm-server";
-    private final String host = "127.0.0.1";
-    private final int port = 9090;
-    private final int stopPort = 9191;
-    private final String stopKey = "jetty-cdm-server";
-    private final String contextPath = "";
-
-    private boolean keepServerRunning = true;
-
-    public static final Resource DEFAULT_CDM_WEBAPP_RESOURCE =
-            new ClassPathResource("/etc/jetty/cdmlib-remote-webapp.war");
-
-    public static final Resource DEFAULT_JETTY_CONFIG_RESOURCE =
-            new ClassPathResource("/etc/jetty/jetty.xml");
-
-    public static final Resource DEFAULT_JETTY_TEMP_RESOURCE =
-            new ClassPathResource("/etc/jetty/temp");
-
-    public static final Resource DEFAULT_JETTY_TEMP_WAR_LIB_RESOURCE =
-            new ClassPathResource("/etc/jetty/temp/webapp/WEB-INF/lib");
-
-    public static final Resource DEFAULT_DATASOURCE_FILE =
-            new ClassPathResource("datasources.xml");
-
-    public static final Resource DEFAULT_JETTY_RUNNER_RESOURCE =
-            new ClassPathResource("/etc/jetty/jetty-runner-9.2.3.v20140905.jar");
-
-    public static final Resource DEFAULT_JETTY_RESOURCE =
-            new ClassPathResource("/etc/jetty/start-9.2.3.v20140905.jar");
-
-
-
-    private static CDMServer cdmServer = null;
-    private static CDMServerException cdmse = null;
-
-    private void CDMServer() {
-        Logger.getRootLogger().setLevel(Level.INFO);
-    }
-
-    public static CDMServer getInstance() {
-        if(cdmServer == null) {
-            cdmServer = new CDMServer();
-        }
-        return cdmServer;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public String getHost() {
-        return host;
-    }
-
-    public int getPort() {
-        return port;
-    }
-
-    public String getContextPath() {
-        return contextPath;
-    }
-
-    public boolean getKeepServerRunning() {
-        return keepServerRunning;
-    }
-
-    public void setKeepServerRunning(boolean keepServerRunning) {
-        this.keepServerRunning = keepServerRunning;
-    }
-
-    public static boolean isRunningInEclipse() {
-        return (System.getProperty("sun.java.command") != null &&
-                System.getProperty("sun.java.command").startsWith("org.eclipse.jdt.internal.junit.runner.RemoteTestRunner"));
-    }
-
-    private String getVMArgs() throws IOException {
-        StringBuilder sb = new StringBuilder();
-        sb.append(" -Dspring.profiles.active=remoting");
-        sb.append(" -Dcdm.beanDefinitionFile=" + DEFAULT_DATASOURCE_FILE.getFile().getAbsolutePath());
-        sb.append(" -Dcdm.datasource=cdmTest");
-        return sb.toString();
-    }
-
-    private String getStartServerArgs() {
-        StringBuilder sb = new StringBuilder();
-        sb.append(" --port ");
-        sb.append(port);
-        return sb.toString();
-    }
-
-    private String getStopServerSettings() {
-        StringBuilder sb = new StringBuilder();
-        sb.append(" --stop-port ");
-        sb.append(stopPort);
-        sb.append(" --stop-key ");
-        sb.append(stopKey);
-        return sb.toString();
-    }
-
-    private String getStopServerArgs() {
-        StringBuilder sb = new StringBuilder();
-        sb.append(" STOP.PORT=");
-        sb.append(stopPort);
-        sb.append(" STOP.KEY=");
-        sb.append(stopKey);
-        return sb.toString();
-    }
-
-    public void start() throws CDMServerException {
-
-        if(isRunning(1)) {
-            logger.info("[CDM-Server] Server already running @ " + host + ":" + port );
-            return;
-        }
-
-        Thread t = new Thread() {
-            @Override
-            public void run() {
-                StringBuffer output = new StringBuffer();
-                try{
-                    Process p;
-                    String command = "java "
-                            + getVMArgs()
-                            + " -jar "
-                            + DEFAULT_JETTY_RUNNER_RESOURCE.getFile().getAbsolutePath()
-                            + getStartServerArgs()
-                            + getStopServerSettings()
-                            + " "
-                            + DEFAULT_CDM_WEBAPP_RESOURCE.getFile().getAbsolutePath();
-                    logger.info("[CDM-Server] Start Command : " + command);
-                    p = Runtime.getRuntime().exec(command);
-
-                    BufferedReader reader =
-                            new BufferedReader(new InputStreamReader(p.getInputStream()));
-
-                    String line = "";
-                    while ((line = reader.readLine())!= null) {
-                        logger.info("[CDM-Server] Start : " + line);
-                    }
-
-                } catch (Exception e) {
-                    e.printStackTrace();
-                    cdmse = new CDMServerException(e);
-                }
-
-            }
-        };
-
-        t.setDaemon(true);
-        cdmse = null;
-        t.start();
-
-        if(isRunning(50)) {
-            logger.info("[CDM-Server] Started Server @ " + host + ":" + port );
-        } else {
-            logger.info("[CDM-Server] Server not started within given interval");
-            throw new CDMServerException("CDM Server not started");
-        }
-
-    }
-
-
-    public boolean isRunning(int checkingIntervals)  {
-        CdmRemoteSourceBase crsb = new CdmRemoteSourceBase("local-cdm-server",
-                host,
-                port,
-                contextPath,
-                null);
-        int intervalsCount = 0;
-        do {
-            try {
-                if(cdmse != null) {
-                    return false;
-                }
-                if(crsb.checkConnection()) {
-                    return true;
-                }
-            } catch (Exception e) {
-                // TODO Auto-generated catch block
-                //e.printStackTrace();
-            }
-            try {
-                Thread.sleep(1000);
-            } catch (InterruptedException e) {
-                // TODO Auto-generated catch block
-                //e.printStackTrace();
-            }
-            intervalsCount++;
-        } while (intervalsCount < checkingIntervals);
-        return false;
-    }
-
-    public void stop() throws Exception {
-
-
-        if(!getInstance().isRunning(1)) {
-            logger.info("[CDM-Server] Server already stopped @ " + host + ":" + port );
-            return;
-        }
-
-        if(getInstance().getKeepServerRunning()) {
-            logger.info("[CDM-Server] Server @ " + host + ":" + port + " is set to keep running");
-            return;
-        }
-
-
-        Thread t = new Thread() {
-            @Override
-            public void run() {
-                StringBuffer output = new StringBuffer();
-                try{
-                    Process p;
-                    String command = "java -jar " + DEFAULT_JETTY_RESOURCE.getFile().getAbsolutePath()
-                            + getStopServerArgs() + " --stop ";
-                    logger.info("[CDM-Server] Stop Command : " + command);
-                    p = Runtime.getRuntime().exec(command);
-                    p.waitFor();
-                    BufferedReader reader =
-                            new BufferedReader(new InputStreamReader(p.getInputStream()));
-                    String line = "";
-                    while ((line = reader.readLine())!= null) {
-                        logger.info("CDM-Server Stop : " + line + "\n");
-                    }
-                    logger.info("[CDM-Server] Stopped Server @ " + host + ":" + port );
-                } catch (Exception e) {
-                    e.printStackTrace();
-                }
-
-            }
-        };
-
-        t.setDaemon(true);
-        t.start();
-    }
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmPersistentRemoteSourceTest.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmPersistentRemoteSourceTest.java
deleted file mode 100644 (file)
index 3240c38..0000000
+++ /dev/null
@@ -1,221 +0,0 @@
-/**
- * Copyright (C) 2014 EDIT
- * European Distributed Institute of Taxonomy
- * http://www.e-taxonomy.eu
- *
- * The contents of this file are subject to the Mozilla Public License Version 1.1
- * See LICENSE.TXT at the top of this package for the full license terms.
- */
-package eu.etaxonomy.taxeditor.httpinvoker;
-
-
-import static org.hamcrest.CoreMatchers.containsString;
-
-import java.util.Map;
-
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import eu.etaxonomy.cdm.config.CdmPersistentSourceUtils;
-import eu.etaxonomy.cdm.config.CdmPersistentXMLSource.CdmSourceProperties;
-import eu.etaxonomy.cdm.config.CdmSourceException;
-import eu.etaxonomy.cdm.model.metadata.CdmMetaData.MetaDataPropertyName;
-import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
-import eu.etaxonomy.cdm.remote.CdmPersistentRemoteSource;
-import eu.etaxonomy.cdm.remote.CdmRemoteSource;
-import eu.etaxonomy.cdm.remote.CdmRemoteSourceException;
-import eu.etaxonomy.cdm.remote.ICdmRemoteSource;
-
-/**
- * Class to test the cdm persistent source functionality, including
- * initialising / saving / updating and deleting
- *
- * Corresponding test sources settings can be found at
- * /src/text/resources/eu.etaxonomy.cdm/cdm.datasources.xml
- *
- */
-public class CdmPersistentRemoteSourceTest extends BaseRemotingTest {
-    private static final Logger logger = Logger.getLogger(CdmPersistentRemoteSourceTest.class);
-
-    private CdmPersistentRemoteSource remotePersistentSource;
-
-    @BeforeClass
-    public static void initialize() {
-        Logger.getRootLogger().setLevel(Level.INFO);
-    }
-
-    @Test
-    public void whenLoadingExistingCompleteRemoteSourceThenLoadIsSuccessful() {
-
-        remotePersistentSource = getCdmPersistentRemoteSource();
-
-        String expectedServer = "127.0.0.1";
-        String expectedPort = "9090";
-        String expectedContextPath = "";
-        logger.info("Default remote source server : " + remotePersistentSource.getServer());
-        Assert.assertTrue("Default server should be " + expectedServer,
-                expectedServer.equals(remotePersistentSource.getServer()));
-
-        logger.info("Default remote source port : " + remotePersistentSource.getPort());
-        Assert.assertTrue("Default port should be 9090",
-                expectedPort.equals(String.valueOf(remotePersistentSource.getPort())));
-
-        logger.info("Default remote source context path : " + remotePersistentSource.getContextPath());
-        Assert.assertTrue("Default remote source context path should be " + expectedContextPath,
-                expectedContextPath.equals(remotePersistentSource.getContextPath()));
-
-        logger.info("Default remote source nomenclatural code : " + remotePersistentSource.getNomenclaturalCode().toString());
-        Assert.assertTrue("Default NomenclaturalCode should be ICNAFP",
-                NomenclaturalCode.ICNAFP.equals(remotePersistentSource.getNomenclaturalCode()));
-    }
-
-
-
-
-    @Test
-    public void whenConnectingToAnActiveServerThenConnectSuccessfully() {
-        // check if active server throws the right exception
-
-        remotePersistentSource = getCdmPersistentRemoteSource();
-
-        String dbSchemaVersion = "";
-        try {
-            dbSchemaVersion = remotePersistentSource.getDbSchemaVersion();
-        } catch (CdmSourceException e) {
-            Assert.fail("getDbSchemaVersion() on active cdm server should not have thrown CdmSourceException");
-        }
-        logger.info("dbSchemaVersion is " + dbSchemaVersion);
-
-
-        boolean isDbEmpty = false;
-        try {
-            isDbEmpty = remotePersistentSource.isDbEmpty();
-        } catch (CdmSourceException e) {
-            Assert.fail("isDbEmpty() on active cdm server should not have thrown CdmSourceException");
-        }
-        Assert.assertFalse(isDbEmpty);
-
-
-        boolean check = false;
-        try {
-            check = remotePersistentSource.checkConnection();
-        } catch (CdmSourceException e) {
-            Assert.fail("checkConnection() on active cdm server should not have thrown CdmSourceException");
-        }
-        Assert.assertTrue(check);
-
-
-    }
-
-    @Test
-    public void whenRequestingMetadatFromRemoteSourceThenMetaDataIsRetrieved() {
-        try {
-            remotePersistentSource = getCdmPersistentRemoteSource();
-            Map<MetaDataPropertyName, String> cdmMetaDataMap = remotePersistentSource.getMetaDataMap();
-            for(MetaDataPropertyName mdpn : cdmMetaDataMap.keySet()) {
-                String value = cdmMetaDataMap.get(mdpn);
-                logger.info("MetaData Property " + mdpn.name() + " has value " + value);
-                Assert.assertNotNull("Meta Data Value for property for " + mdpn.name() + " should not be null", value);
-            }
-        } catch (CdmSourceException e) {
-            // TODO Auto-generated catch block
-            e.printStackTrace();
-        }
-    }
-
-    @Test
-    public void whenLoadingNonExistingRemoteSourceThenThrowException() {
-        try {
-            remotePersistentSource = CdmPersistentRemoteSource.NewInstance("nonExistingSource");
-            Assert.fail("Initialising a non-existing remote source should throw an exception");
-        } catch (CdmRemoteSourceException e) {
-            logger.info(e.getMessage());
-        }
-    }
-
-    @Test
-    public void whenLoadingExistingIncompleteRemoteSourceThenThrowException() {
-        try {
-            remotePersistentSource = CdmPersistentRemoteSource.NewInstance("incomplete");
-            Assert.fail("Initialising an incomplete remote source should throw an exception");
-        } catch (CdmRemoteSourceException e) {
-            Assert.assertThat(e.getMessage(), containsString("Required property '" + CdmSourceProperties.SERVER.toString() + "' is missing"));
-        }
-    }
-
-    @Test
-    public void whenSavingUpdatingDeletingNewCompleteRemoteSourceThenSaveUpdateDeleteIsSuccessful() {
-        String strRemoteSource = "local";
-        Assert.assertFalse("New remote source '" + strRemoteSource + "' should not yet exist in source settings file",
-                CdmPersistentRemoteSource.exists(strRemoteSource));
-        try {
-            ICdmRemoteSource remoteSource =
-                    CdmRemoteSource.NewInstance(strRemoteSource,
-                            "127.0.0.1",
-                            8080,
-                            "col",
-                            NomenclaturalCode.ICNAFP);
-            remotePersistentSource = CdmPersistentRemoteSource.save(strRemoteSource,remoteSource);
-
-            logger.info("Server : " + remotePersistentSource.getServer());
-            Assert.assertTrue("Server value should be equal",
-                    remoteSource.getServer().equals(remotePersistentSource.getServer()));
-
-            logger.info("Port : " + remotePersistentSource.getPort());
-            Assert.assertTrue("Port value should be equal",
-                    remoteSource.getPort() == remotePersistentSource.getPort());
-
-            logger.info("Context Path : " + remotePersistentSource.getContextPath());
-            Assert.assertTrue("Context Path value should be equal",
-                    remoteSource.getContextPath().equals(remotePersistentSource.getContextPath()));
-
-            logger.info("Nomenclatural Code : " + remotePersistentSource.getNomenclaturalCode().name());
-            Assert.assertTrue("Nomenclatural Code value should be equal",
-                    remoteSource.getNomenclaturalCode().name().equals(remotePersistentSource.getNomenclaturalCode().name()));
-
-            Assert.assertTrue("New remote source '" + strRemoteSource + "' should be saved in source settings file",
-                    CdmPersistentRemoteSource.exists(strRemoteSource));
-
-            remoteSource = CdmRemoteSource.NewInstance(strRemoteSource,
-                    "127.0.0.55",
-                    9090,
-                    "cyprus",
-                    NomenclaturalCode.ICNB);
-            remotePersistentSource = CdmPersistentRemoteSource.update(strRemoteSource,remoteSource);
-
-            logger.info("Server : " + remotePersistentSource.getServer());
-            Assert.assertTrue("Server value should be equal",
-                    remoteSource.getServer().equals(remotePersistentSource.getServer()));
-
-            logger.info("Port : " + remotePersistentSource.getPort());
-            Assert.assertTrue("Port value should be equal",
-                    remoteSource.getPort() == remotePersistentSource.getPort());
-
-            logger.info("Context Path : " + remotePersistentSource.getContextPath());
-            Assert.assertTrue("Context Path value should be equal",
-                    remoteSource.getContextPath().equals(remotePersistentSource.getContextPath()));
-
-            logger.info("Nomenclatural Code : " + remotePersistentSource.getNomenclaturalCode().name());
-            Assert.assertTrue("Nomenclatural Code value should be equal",
-                    remoteSource.getNomenclaturalCode().name().equals(remotePersistentSource.getNomenclaturalCode().name()));
-
-            Assert.assertTrue("New remote source '" + strRemoteSource + "' should be saved in source settings file",
-                    CdmPersistentRemoteSource.exists(strRemoteSource));
-
-            CdmPersistentSourceUtils.delete(remotePersistentSource);
-
-            Assert.assertFalse("New remote source '" + strRemoteSource + "' should no longer exist in source settings file",
-                    CdmPersistentRemoteSource.exists(strRemoteSource));
-
-        } catch (CdmRemoteSourceException e) {
-            Assert.fail("Saving a new complete remote source should not throw an exception");
-            logger.info(e.getMessage());
-        }
-    }
-
-
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmRemoteSourceTest.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmRemoteSourceTest.java
deleted file mode 100644 (file)
index 4cbfcf5..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.httpinvoker;
-
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.springframework.remoting.RemoteAccessException;
-
-import eu.etaxonomy.cdm.config.CdmSourceException;
-import eu.etaxonomy.cdm.model.name.NomenclaturalCode;
-import eu.etaxonomy.cdm.remote.CdmRemoteSource;
-import eu.etaxonomy.taxeditor.lazyloading.RemotePersistentCollectionTest;
-
-public class CdmRemoteSourceTest extends BaseRemotingTest {
-       private static final Logger logger = Logger.getLogger(RemotePersistentCollectionTest.class);
-
-
-       @BeforeClass
-       public static void initialize() {
-
-               Logger.getRootLogger().setLevel(Level.INFO);
-
-       }
-
-       @Test
-       public void whenConnectingToInactiveServerThenFailToConnect() {
-               // check if non-active server throws the right exception
-               CdmRemoteSource inactiveCrs = CdmRemoteSource.NewInstance(CDMServer.getInstance().getName(),
-                       CDMServer.getInstance().getHost(),
-                       808080,
-                       CDMServer.getInstance().getContextPath(),
-                       NomenclaturalCode.ICNAFP);
-               try {
-                       inactiveCrs.getDbSchemaVersion();
-                       Assert.fail("getDbSchemaVersion() on inactive cdm server should have thrown RemoteAccessException");
-               } catch(CdmSourceException cse) {
-                       Assert.fail("getDbSchemaVersion() on inactive cdm server should have thrown RemoteAccessException and not CdmSourceException");
-               } catch(RemoteAccessException rae){
-
-               }
-
-               try {
-                       inactiveCrs.isDbEmpty();
-                       Assert.fail("isDbEmpty() on inactive cdm server should have thrown RemoteAccessException");
-               } catch(CdmSourceException cse) {
-                       Assert.fail("isDbEmpty() on inactive cdm server should have thrown RemoteAccessException and not CdmSourceException");
-               } catch(RemoteAccessException rae){
-
-               }
-
-               try {
-                       inactiveCrs.checkConnection();
-                       Assert.fail("checkConnection() on inactive cdm server should have thrown RemoteAccessException");
-               } catch(CdmSourceException cse) {
-                       Assert.fail("checkConnection() on inactive cdm server should have thrown RemoteAccessException and not CdmSourceException");
-               } catch(RemoteAccessException rae){
-
-               }
-
-       }
-
-       @Test
-       public void whenConnectingToAnActiveServerWithServicesBlockedThenFailToAccessServices() {
-
-       }
-
-       @Test
-       public void whenConnectingToAnActiveServerThenConnectSuccessfully() {
-               // check if active server throws the right exception
-               CdmRemoteSource activeCrs = CdmRemoteSource.NewInstance(CDMServer.getInstance().getName(),
-                CDMServer.getInstance().getHost(),
-                CDMServer.getInstance().getPort(),
-                CDMServer.getInstance().getContextPath(),
-                NomenclaturalCode.ICNAFP);
-               String dbSchemaVersion = "";
-               try {
-                       dbSchemaVersion = activeCrs.getDbSchemaVersion();
-               } catch (CdmSourceException e) {
-                       Assert.fail("getDbSchemaVersion() on active cdm server should not have thrown CdmSourceException");
-               }
-               logger.info("dbSchemaVersion is " + dbSchemaVersion);
-
-
-               boolean isDbEmpty = false;
-               try {
-                       isDbEmpty = activeCrs.isDbEmpty();
-               } catch (CdmSourceException e) {
-                       Assert.fail("isDbEmpty() on active cdm server should not have thrown CdmSourceException");
-               }
-               Assert.assertFalse(isDbEmpty);
-
-
-               boolean check = true;
-               try {
-                       isDbEmpty = activeCrs.checkConnection();
-               } catch (CdmSourceException e) {
-                       Assert.fail("checkConnection() on active cdm server should not have thrown CdmSourceException");
-               }
-               Assert.assertTrue(check);
-
-       }
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmServerTest.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmServerTest.java
deleted file mode 100644 (file)
index a7a206e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-// $Id$
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.httpinvoker;
-
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.junit.Assert;
-import org.junit.Ignore;
-import org.junit.Test;
-import org.unitils.UnitilsJUnit4;
-
-import eu.etaxonomy.taxeditor.lazyloading.AbstractLazyInitializerTest;
-
-/**
- * @author cmathew
- * @date 6 Oct 2014
- *
- */
-public class CdmServerTest extends UnitilsJUnit4 {
-    private static final Logger logger = Logger.getLogger(CdmServerTest.class);
-
-
-    @Test
-    public void stopCdmServer() {
-        Logger.getRootLogger().setLevel(Level.INFO);
-        CDMServer.getInstance().setKeepServerRunning(false);
-        try {
-            CDMServer.getInstance().stop();
-        } catch (Exception e) {
-            Assert.fail("Server could not be stopped. Reason : " + e.getMessage());
-        }
-    }
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/HttpInvokerServicesTest.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/HttpInvokerServicesTest.java
deleted file mode 100644 (file)
index b05d362..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.httpinvoker;
-
-import org.apache.log4j.Logger;
-import org.junit.Assert;
-import org.junit.Test;
-
-import eu.etaxonomy.cdm.config.CdmSourceException;
-
-/**
- * Class to test the HttpInvoker services exposed by the CDM Sever
- *
- */
-public class HttpInvokerServicesTest extends BaseRemotingTest {
-       private static final Logger logger = Logger.getLogger(HttpInvokerServicesTest.class);
-
-       @Test
-       public void whenCallingMethodsOnRemoteServicesThenSuceed() {
-               try {
-                       String dbSchemaVersion = getRemoteApplicationController().getDatabaseService().getDbSchemaVersion();
-                       logger.info("dbSchemaVersion is " + dbSchemaVersion);
-               } catch (CdmSourceException e) {
-                       Assert.fail("pinging database service on active cdm server should not have thrown CdmSourceException");
-               }
-       }
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/AbstractLazyInitializerTest.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/AbstractLazyInitializerTest.java
deleted file mode 100644 (file)
index 727802a..0000000
+++ /dev/null
@@ -1,214 +0,0 @@
-/**
- * Copyright (C) 2014 EDIT
- * European Distributed Institute of Taxonomy
- * http://www.e-taxonomy.eu
- *
- * The contents of this file are subject to the Mozilla Public License Version 1.1
- * See LICENSE.TXT at the top of this package for the full license terms.
- */
-package eu.etaxonomy.taxeditor.lazyloading;
-
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-import java.util.UUID;
-
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-import org.unitils.dbunit.annotation.DataSet;
-
-import eu.etaxonomy.cdm.api.application.CdmApplicationRemoteController;
-import eu.etaxonomy.cdm.api.service.IClassificationService;
-import eu.etaxonomy.cdm.api.service.ITaxonService;
-import eu.etaxonomy.cdm.model.agent.Person;
-import eu.etaxonomy.cdm.model.agent.Team;
-import eu.etaxonomy.cdm.model.common.CdmBase;
-import eu.etaxonomy.cdm.model.name.BotanicalName;
-import eu.etaxonomy.cdm.model.name.NonViralName;
-import eu.etaxonomy.cdm.model.name.TaxonNameBase;
-import eu.etaxonomy.cdm.model.taxon.Classification;
-import eu.etaxonomy.cdm.model.taxon.SynonymRelationship;
-import eu.etaxonomy.cdm.model.taxon.Taxon;
-import eu.etaxonomy.cdm.model.taxon.TaxonNode;
-import eu.etaxonomy.taxeditor.httpinvoker.BaseRemotingTest;
-
-
-
-
-/**
- * Class to test the {@link CdmApplicationRemoteController}
- *
- */
-@DataSet
-public class AbstractLazyInitializerTest extends BaseRemotingTest {
-    private static final Logger logger = Logger.getLogger(AbstractLazyInitializerTest.class);
-
-    private static IClassificationService classificationService;
-    private static ITaxonService taxonService;
-
-    private static List<TaxonNode> taxonNodes;
-
-    private final UUID taxonUuid1 = UUID.fromString("8217ef77-2ab1-4318-bd67-ccd0cdef07c4");
-    private final UUID taxonUuid2 = UUID.fromString("ef96fafa-7750-4141-b31b-1ad1daab3e76");
-
-
-    @BeforeClass
-    public static void initializeRemoteLazyLoading() {
-
-        Logger.getRootLogger().setLevel(Level.DEBUG);
-
-        taxonService = getRemoteApplicationController().getTaxonService();
-        classificationService= getRemoteApplicationController().getClassificationService();
-        List<Classification> classifications = classificationService.listClassifications(1,0,null,null);
-        Assert.assertFalse(classifications.isEmpty());
-
-        Classification classification = classifications.get(0);
-        Assert.assertNotNull(classification);
-        taxonNodes = classificationService.getAllNodes();
-        Assert.assertFalse(taxonNodes.isEmpty());
-
-    }
-
-
-
-    @Test
-    public void testCDMEntityGet() {
-        //ITaxonService taxonService = getRemoteApplicationController().getTaxonService();
-        Iterator<TaxonNode> taxonNodeItr = taxonNodes.iterator();
-        int maxcount = 30;
-        int count = 0;
-        while(taxonNodeItr.hasNext() && count <= maxcount) {
-            TaxonNode taxonNode = taxonNodeItr.next();
-            Assert.assertNotNull(taxonNode);
-
-            Taxon taxon = taxonNode.getTaxon();
-            Assert.assertNotNull(taxon);
-
-            String taxonTitle = taxon.getTitleCache();
-            logger.info("Taxon : " + taxonTitle);
-
-            TaxonNameBase name = taxon.getName();
-            Assert.assertNotNull(name);
-
-            String nameTitle = name.getTitleCache();
-            logger.info("Taxon Name : " + nameTitle);
-
-            count++;
-        }
-    }
-
-    @Test
-    public void taxonReadTest() {
-        Taxon taxon = (Taxon)taxonService.find(taxonUuid1);
-
-    }
-
-
-    @Test
-    public void testCDMEntitySave() {
-        Taxon taxon = (Taxon)taxonService.find(taxonUuid1);
-        String oldTitleCache = taxon.getTitleCache();
-
-        System.out.println("Taxon title : " + oldTitleCache);
-
-        taxon.setTitleCache(oldTitleCache + ":updated", true);
-        taxonService.merge(taxon);
-
-        Taxon taxonNew = (Taxon)taxonService.find(taxonUuid1);
-        System.out.println("New Taxon Title : " + taxonNew.getTitleCache());
-
-        Assert.assertNotEquals("Title caches should not be equal",oldTitleCache,taxonNew.getTitleCache());
-
-        taxonNew.setTitleCache(oldTitleCache, true);
-        taxonService.merge(taxonNew);
-
-        Taxon taxonOld = (Taxon)taxonService.find(taxonUuid1);
-        System.out.println("Old Taxon Title : " + taxonOld.getTitleCache());
-
-        Assert.assertEquals("Title caches should be equal",oldTitleCache,taxonOld.getTitleCache());
-
-    }
-
-
-        @Test
-        public void testCDMEntitySaveLazyNew() {
-            Team combAuthor = Team.NewInstance();
-            combAuthor.addTeamMember(Person.NewTitledInstance("test member"));
-            BotanicalName name = BotanicalName.NewInstance(null, "Test1", null, null, null, null, null, null, null);
-            name.setCombinationAuthorTeam(combAuthor);
-            Taxon tax1 = Taxon.NewInstance(name, null);
-            UUID taxonUuid1 = taxonService.save(tax1);
-
-            Taxon taxon = (Taxon)taxonService.find(taxonUuid1);
-
-            NonViralName nvn = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-            String oldTitleCache = nvn.getTitleCache();
-            logger.info("Taxon Name Title : " + oldTitleCache);
-            nvn.setTitleCache(oldTitleCache + ":updated",false);
-            taxonService.update(taxon);
-
-            Taxon taxonNew = (Taxon)taxonService.find(taxonUuid1);
-            NonViralName nvnNew = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-            logger.info("New Taxon Name Title : " + nvnNew.getTitleCache());
-
-            Assert.assertNotEquals("Title caches should not be equal",oldTitleCache,nvnNew.getTitleCache());
-
-            nvnNew.setTitleCache(oldTitleCache, true);
-            taxonService.update(taxon);
-
-            Taxon taxonOld = (Taxon)taxonService.find(taxonUuid1);
-            NonViralName nvnOld = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-            logger.info("Old Taxon Name Title : " + nvnNew.getTitleCache());
-
-            Assert.assertEquals("Title caches should be equal",oldTitleCache,nvnOld.getTitleCache());
-        }
-
-        @Ignore
-        @Test
-        public void testCDMEntitySaveCollection() {
-            Taxon taxon = (Taxon)taxonService.find(taxonUuid1);
-
-            Set<SynonymRelationship> synRelations = taxon.getSynonymRelations();
-            Set<String> relToTitles = new HashSet<String>();
-            Iterator<SynonymRelationship> srItr = synRelations.iterator();
-            while(srItr.hasNext()) {
-                SynonymRelationship sr = srItr.next();
-                System.out.println("Synonym Title Cache : " + sr.getSynonym().getTitleCache());
-                relToTitles.add(sr.getSynonym().getTitleCache());
-                sr.getSynonym().setTitleCache(sr.getSynonym().getTitleCache() + ":updated");
-
-            }
-            taxonService.merge(taxon);
-
-            Taxon taxonNew = (Taxon)taxonService.find(taxonUuid1);
-            Set<SynonymRelationship> synRelationsNew = taxonNew.getSynonymRelations();
-
-            Iterator<SynonymRelationship> srItrNew = synRelationsNew.iterator();
-            Iterator<String> relToTitlesItr = relToTitles.iterator();
-            while(srItrNew.hasNext() && relToTitlesItr.hasNext()) {
-                SynonymRelationship srNew = srItrNew.next();
-                String relToTitle = relToTitlesItr.next();
-                System.out.println("New Synonym Title Cache: " + srNew.getSynonym().getTitleCache());
-                Assert.assertNotEquals("Synonym Title caches should not be equal", srNew.getSynonym().getTitleCache(), relToTitle);
-                srNew.getSynonym().setTitleCache(relToTitle);
-            }
-
-            Taxon taxonOld = (Taxon)taxonService.find(taxonUuid1);
-
-            Set<SynonymRelationship> synRelationsOld = taxonNew.getSynonymRelations();
-            Iterator<SynonymRelationship> srItrOld = synRelationsOld.iterator();
-            relToTitlesItr = relToTitles.iterator();
-            while(srItrOld.hasNext() && relToTitlesItr.hasNext()) {
-                SynonymRelationship srOld = srItrOld.next();
-                String relToTitle = relToTitlesItr.next();
-                System.out.println("New Synonym Title Cache: " + srOld.getSynonym().getTitleCache());
-                Assert.assertEquals("Synonym Title caches should be equal", srOld.getSynonym().getTitleCache(), relToTitle);
-
-            }
-        }
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/CdmServiceCacherTest.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/CdmServiceCacherTest.java
deleted file mode 100644 (file)
index dfcea64..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package eu.etaxonomy.taxeditor.lazyloading;
-
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import eu.etaxonomy.cdm.api.cache.CdmServiceCacher;
-import eu.etaxonomy.cdm.model.common.Language;
-import eu.etaxonomy.taxeditor.httpinvoker.BaseRemotingTest;
-
-public class CdmServiceCacherTest extends BaseRemotingTest {
-       private static final Logger logger = Logger.getLogger(CdmServiceCacherTest.class);
-
-
-       private static CdmServiceCacher cdmServiceCacher;
-
-       @BeforeClass
-       public static void initialize() {
-               Logger.getRootLogger().setLevel(Level.INFO);
-               cdmServiceCacher = (CdmServiceCacher)getRemoteApplicationController().getBean("cdmServiceCacher");
-       }
-
-       @Test
-       public void testLanguageCache() {
-               Language defaultLanguage = Language.getDefaultLanguage();
-
-               Language defaultLanguageInCache = (Language)cdmServiceCacher.getFromCache(defaultLanguage.getUuid());
-               Assert.assertEquals("Loaded Language Term should match Language Term in Cache",defaultLanguage,defaultLanguageInCache);
-
-               Language language = Language.getLanguageFromUuid(Language.uuidFrench);
-               Language languageInCache = (Language)cdmServiceCacher.getFromCache(language.getUuid());
-               Assert.assertEquals("Loaded Language Term should match Language Term in Cache",language,languageInCache);
-
-       }
-
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/RemoteLazyLoadingTest.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/RemoteLazyLoadingTest.java
deleted file mode 100644 (file)
index 30fe70b..0000000
+++ /dev/null
@@ -1,278 +0,0 @@
-/**
- * Copyright (C) 2014 EDIT
- * European Distributed Institute of Taxonomy
- * http://www.e-taxonomy.eu
- *
- * The contents of this file are subject to the Mozilla Public License Version 1.1
- * See LICENSE.TXT at the top of this package for the full license terms.
- */
-
-package eu.etaxonomy.taxeditor.lazyloading;
-
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-import java.util.UUID;
-
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Ignore;
-import org.junit.Test;
-
-import eu.etaxonomy.cdm.api.service.IClassificationService;
-import eu.etaxonomy.cdm.api.service.ITaxonService;
-import eu.etaxonomy.cdm.model.agent.Person;
-import eu.etaxonomy.cdm.model.agent.Team;
-import eu.etaxonomy.cdm.model.common.CdmBase;
-import eu.etaxonomy.cdm.model.name.BotanicalName;
-import eu.etaxonomy.cdm.model.name.NonViralName;
-import eu.etaxonomy.cdm.model.name.TaxonNameBase;
-import eu.etaxonomy.cdm.model.taxon.Classification;
-import eu.etaxonomy.cdm.model.taxon.SynonymRelationship;
-import eu.etaxonomy.cdm.model.taxon.Taxon;
-import eu.etaxonomy.cdm.model.taxon.TaxonNode;
-import eu.etaxonomy.taxeditor.httpinvoker.BaseRemotingTest;
-
-
-
-/**
- * Test class which tests remoting for persistent cdm entities.
- *
- * FIXME:Remoting saving tests are ignored until the merge development is underway
- * @author c.mathew
- *
- */
-//@DataSet
-public class RemoteLazyLoadingTest extends BaseRemotingTest {
-
-    private static final Logger logger = Logger.getLogger(RemoteLazyLoadingTest.class);
-
-    private static IClassificationService classificationService;
-    private static ITaxonService taxonService;
-
-    private static List<TaxonNode> taxonNodes;
-
-    private final UUID taxonUuid1 = UUID.fromString("8217ef77-2ab1-4318-bd67-ccd0cdef07c4");
-    private final UUID taxonUuid2 = UUID.fromString("ef96fafa-7750-4141-b31b-1ad1daab3e76");
-
-
-    @BeforeClass
-    public static void initializeRemoteLazyLoading() {
-
-        Logger.getRootLogger().setLevel(Level.DEBUG);
-        taxonService = getRemoteApplicationController().getTaxonService();
-
-        classificationService= getRemoteApplicationController().getClassificationService();
-        //List<Classification> classifications = classificationService.listClassifications(1,0,null,null);
-//        Assert.assertFalse(classifications.isEmpty());
-//
-//        Classification classification = classifications.get(0);
-//        Assert.assertNotNull(classification);
-        taxonNodes = classificationService.getAllNodes();
-        Assert.assertFalse(taxonNodes.isEmpty());
-
-    }
-
-
-
-    @Test
-    public void testCDMEntityGet() {
-        Iterator<TaxonNode> taxonNodeItr = taxonNodes.iterator();
-        int maxcount = 30;
-        int count = 0;
-        while(taxonNodeItr.hasNext() && count <= maxcount) {
-            TaxonNode taxonNode = taxonNodeItr.next();
-            Assert.assertNotNull(taxonNode);
-
-            Taxon taxon = taxonNode.getTaxon();
-            Assert.assertNotNull(taxon);
-
-            String taxonTitle = taxon.getTitleCache();
-            logger.info("Taxon : " + taxonTitle);
-
-            TaxonNameBase name = taxon.getName();
-            Assert.assertNotNull(name);
-
-            String nameTitle = name.getTitleCache();
-            logger.info("Taxon Name : " + nameTitle);
-
-            count++;
-        }
-
-
-    }
-
-    @Test
-    public void test() {
-
-    }
-
-    @Test
-    public void testCDMEntitySaveEager() {
-        Taxon taxon = (Taxon)taxonService.find(taxonUuid1);
-        String oldTitleCache = taxon.getTitleCache();
-
-        System.out.println("Taxon title : " + oldTitleCache);
-
-        taxon.setTitleCache(oldTitleCache + ":updated");
-        taxonService.merge(taxon);
-
-        Taxon taxonNew = (Taxon)taxonService.find(taxonUuid1);
-        System.out.println("New Taxon Title : " + taxonNew.getTitleCache());
-
-        Assert.assertNotEquals("Title caches should not be equal",oldTitleCache,taxonNew.getTitleCache());
-
-        taxonNew.setTitleCache(oldTitleCache);
-        taxonService.merge(taxonNew);
-
-        Taxon taxonOld = (Taxon)taxonService.find(taxonUuid1);
-        System.out.println("Old Taxon Title : " + taxonOld.getTitleCache());
-
-        Assert.assertEquals("Title caches should be equal",oldTitleCache,taxonOld.getTitleCache());
-
-    }
-
-
-    @Test
-    public void testCDMEntityUpdate() {
-
-        Team combAuthor = Team.NewInstance();
-        combAuthor.addTeamMember(Person.NewTitledInstance("test member"));
-        BotanicalName name = BotanicalName.NewInstance(null, "Test1", null, null, null, null, null, null, null);
-        name.setCombinationAuthorTeam(combAuthor);
-        Taxon taxon = Taxon.NewInstance(name, null);
-        UUID taxonUuid = taxonService.save(taxon);
-
-        //        Taxon taxon = (Taxon)taxonService.find(taxonUuid1);
-        //        NonViralName nvn = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-        //        String oldTitleCache = nvn.getTitleCache();
-        //        System.out.println("Taxon Name Title : " + oldTitleCache);
-        //        nvn.setTitleCache(oldTitleCache + ":updated", true);
-        //
-        //        taxon.setTitleCache(oldTitleCache + ":updated",true);
-        //        try {
-        //            taxonService.update(taxon);
-        //        } catch (LazyInitializationException lie) {
-        //            lie.printStackTrace();
-        //        }
-
-        List<String> TAXON_INIT_STRATEGY = Arrays.asList(new String[] {
-                "name"
-        });
-        Taxon taxonNew = (Taxon)taxonService.findTaxonByUuid(taxonUuid,TAXON_INIT_STRATEGY);
-        NonViralName nvn = CdmBase.deproxy(taxonNew.getName(),NonViralName.class);
-        Team team = CdmBase.deproxy(nvn.getCombinationAuthorTeam(),Team.class);
-        String oldTitleCache = nvn.getTitleCache();
-        System.out.println("Taxon Name Title : " + oldTitleCache);
-        nvn.setTitleCache(oldTitleCache + ":updated", true);
-        taxonService.update(taxonNew);
-
-    }
-
-
-    @Test
-    public void testCDMEntitySaveLazy() {
-        Taxon taxon = (Taxon)taxonService.find(taxonUuid1);
-
-        NonViralName nvn = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-        String oldTitleCache = nvn.getTitleCache();
-        System.out.println("Taxon Name Title : " + oldTitleCache);
-        nvn.setTitleCache(oldTitleCache + ":updated", true);
-        taxonService.update(taxon);
-
-        //             Taxon taxonNew = (Taxon)taxonService.find(taxonUuid1);
-        //             NonViralName nvnNew = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-        //             System.out.println("New Taxon Name Title : " + nvnNew.getTitleCache());
-        //
-        //             Assert.assertNotEquals("Title caches should not be equal",oldTitleCache,nvnNew.getTitleCache());
-        //
-        //             nvnNew.setTitleCache(oldTitleCache, true);
-        //             taxonService.update(taxon);
-        //
-        //             Taxon taxonOld = (Taxon)taxonService.find(taxonUuid1);
-        //             NonViralName nvnOld = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-        //             System.out.println("Old Taxon Name Title : " + nvnNew.getTitleCache());
-        //
-        //             Assert.assertEquals("Title caches should be equal",oldTitleCache,nvnOld.getTitleCache());
-    }
-
-    @Test
-    public void testCDMEntitySaveLazyNew() {
-        Team combAuthor = Team.NewInstance();
-        combAuthor.addTeamMember(Person.NewTitledInstance("test member"));
-        BotanicalName name = BotanicalName.NewInstance(null, "Test1", null, null, null, null, null, null, null);
-        name.setCombinationAuthorTeam(combAuthor);
-        Taxon tax1 = Taxon.NewInstance(name, null);
-        UUID taxonUuid1 = taxonService.save(tax1);
-
-        Taxon taxon = (Taxon)taxonService.find(taxonUuid1);
-
-        NonViralName nvn = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-        String oldTitleCache = nvn.getTitleCache();
-        logger.info("Taxon Name Title : " + oldTitleCache);
-        nvn.setTitleCache(oldTitleCache + ":updated",false);
-        taxonService.update(taxon);
-
-        Taxon taxonNew = (Taxon)taxonService.find(taxonUuid1);
-        NonViralName nvnNew = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-        logger.info("New Taxon Name Title : " + nvnNew.getTitleCache());
-
-        Assert.assertNotEquals("Title caches should not be equal",oldTitleCache,nvnNew.getTitleCache());
-
-        nvnNew.setTitleCache(oldTitleCache, true);
-        taxonService.update(taxon);
-
-        Taxon taxonOld = (Taxon)taxonService.find(taxonUuid1);
-        NonViralName nvnOld = CdmBase.deproxy(taxon.getName(),NonViralName.class);
-        logger.info("Old Taxon Name Title : " + nvnNew.getTitleCache());
-
-        Assert.assertEquals("Title caches should be equal",oldTitleCache,nvnOld.getTitleCache());
-    }
-    @Ignore
-    @Test
-    public void testCDMEntitySaveCollection() {
-        Taxon taxon = (Taxon)taxonService.find(taxonUuid1);
-
-        Set<SynonymRelationship> synRelations = taxon.getSynonymRelations();
-        Set<String> relToTitles = new HashSet<String>();
-        Iterator<SynonymRelationship> srItr = synRelations.iterator();
-        while(srItr.hasNext()) {
-            SynonymRelationship sr = srItr.next();
-            System.out.println("Synonym Title Cache : " + sr.getSynonym().getTitleCache());
-            relToTitles.add(sr.getSynonym().getTitleCache());
-            sr.getSynonym().setTitleCache(sr.getSynonym().getTitleCache() + ":updated");
-
-        }
-        taxonService.merge(taxon);
-
-        Taxon taxonNew = (Taxon)taxonService.find(taxonUuid1);
-        Set<SynonymRelationship> synRelationsNew = taxonNew.getSynonymRelations();
-
-        Iterator<SynonymRelationship> srItrNew = synRelationsNew.iterator();
-        Iterator<String> relToTitlesItr = relToTitles.iterator();
-        while(srItrNew.hasNext() && relToTitlesItr.hasNext()) {
-            SynonymRelationship srNew = srItrNew.next();
-            String relToTitle = relToTitlesItr.next();
-            System.out.println("New Synonym Title Cache: " + srNew.getSynonym().getTitleCache());
-            Assert.assertNotEquals("Synonym Title caches should not be equal", srNew.getSynonym().getTitleCache(), relToTitle);
-            srNew.getSynonym().setTitleCache(relToTitle);
-        }
-
-        Taxon taxonOld = (Taxon)taxonService.find(taxonUuid1);
-
-        Set<SynonymRelationship> synRelationsOld = taxonNew.getSynonymRelations();
-        Iterator<SynonymRelationship> srItrOld = synRelationsOld.iterator();
-        relToTitlesItr = relToTitles.iterator();
-        while(srItrOld.hasNext() && relToTitlesItr.hasNext()) {
-            SynonymRelationship srOld = srItrOld.next();
-            String relToTitle = relToTitlesItr.next();
-            System.out.println("New Synonym Title Cache: " + srOld.getSynonym().getTitleCache());
-            Assert.assertEquals("Synonym Title caches should be equal", srOld.getSynonym().getTitleCache(), relToTitle);
-
-        }
-    }
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/RemotePersistentCollectionTest.java b/eu.etaxonomy.taxeditor.remoting/src/test/java/eu/etaxonomy/taxeditor/lazyloading/RemotePersistentCollectionTest.java
deleted file mode 100644 (file)
index c486213..0000000
+++ /dev/null
@@ -1,226 +0,0 @@
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.lazyloading;
-
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.hibernate.collection.internal.AbstractPersistentCollection;
-import org.hibernate.collection.spi.PersistentCollection;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import eu.etaxonomy.cdm.api.service.IClassificationService;
-import eu.etaxonomy.cdm.api.service.ICommonService;
-import eu.etaxonomy.cdm.model.common.Language;
-import eu.etaxonomy.cdm.model.common.LanguageString;
-import eu.etaxonomy.cdm.model.description.DescriptionElementBase;
-import eu.etaxonomy.cdm.model.description.TaxonDescription;
-import eu.etaxonomy.cdm.model.description.TextData;
-import eu.etaxonomy.cdm.model.name.TaxonNameBase;
-import eu.etaxonomy.cdm.model.taxon.Classification;
-import eu.etaxonomy.cdm.model.taxon.Taxon;
-import eu.etaxonomy.cdm.model.taxon.TaxonNode;
-import eu.etaxonomy.taxeditor.httpinvoker.BaseRemotingTest;
-
-/**
- * Test class which tests remoting for persistent collections.
- *
- * @author c.mathew
- * @created 13.03.2014
- */
-public class RemotePersistentCollectionTest extends BaseRemotingTest {
-       private static final Logger logger = Logger.getLogger(RemotePersistentCollectionTest.class);
-
-       private static IClassificationService classificationService;
-       private static ICommonService commonService;
-
-       @BeforeClass
-       public static void initializeServices() {
-               Logger.getRootLogger().setLevel(Level.INFO);
-               classificationService = getRemoteApplicationController().getClassificationService();
-               commonService = getRemoteApplicationController().getCommonService();
-       }
-
-       /**
-        * Test method which checks remoting for persistent lists.
-        *
-        */
-       @Test
-       public void persistentListTest() {
-
-               List<TaxonNode> taxonNodes = classificationService.getAllNodes();
-               int size = taxonNodes.size();
-               logger.debug("classificationService.getAllNodes() size : " + size);
-               TaxonNode taxonNode = null;
-               if(size > 0) {
-                       Assert.assertFalse(taxonNodes.isEmpty());
-
-                       taxonNode = taxonNodes.get(0);
-                       Assert.assertNotNull(taxonNode);
-                       Assert.assertTrue(taxonNodes.contains(taxonNode));
-
-                       // get the list of child nodes, which will give a
-                       // proxy list which is not yet initialised
-                       List<TaxonNode> childNodes = taxonNode.getChildNodes();
-                       // this size call will first initialise the list locally by internally
-                       // calling the ICommonService.initializeCollection method and then
-                       // call size on the initialised list
-                       int childCount = childNodes.size();
-
-                       // this size call will initialise the list remotely and only return the
-                       // size of the list
-                       int remoteChildCount = commonService.size((PersistentCollection)childNodes);
-                       Assert.assertEquals(childCount, remoteChildCount);
-
-                       String firstNodeTaxonTitle = taxonNode.getTaxon().getTitleCache();
-                       Assert.assertNotNull(firstNodeTaxonTitle);
-
-                       if(childCount > 0) {
-                               Assert.assertFalse(childNodes.isEmpty());
-                               // this get call will use the already initialised list to get the
-                               // 0th element
-                               TaxonNode localTaxonNode = childNodes.get(0);
-
-                               // this get call will initialise the list remotely and only return the
-                               // 0th element from the list
-                               TaxonNode remoteTaxonNode = (TaxonNode)commonService.get((PersistentCollection)childNodes,0);
-
-                               // the locally and remotely retrieved taxon node should exist in the
-                               // (local and remote) child nodes list, should be not-null and should be equal to each other
-                               Assert.assertTrue(taxonNode.getChildNodes().contains(localTaxonNode));
-                               Assert.assertTrue(taxonNode.getChildNodes().contains(remoteTaxonNode));
-                               Assert.assertTrue(commonService.contains((PersistentCollection)childNodes, localTaxonNode));
-                               Assert.assertTrue(commonService.contains((PersistentCollection)childNodes, remoteTaxonNode));
-                               Assert.assertNotNull(remoteTaxonNode);
-                               Assert.assertNotNull(localTaxonNode);
-                               Assert.assertEquals(remoteTaxonNode,localTaxonNode);
-                       }
-               }
-       }
-
-//     @Test
-//     public void persistentSetTest() {
-//             List<Classification> classifications = classificationService.listClassifications(1,0,null,null);
-//             int size = classifications.size();
-//             if(size > 0) {
-//                     Assert.assertFalse(classifications.isEmpty());
-//
-//                     Classification classification = classifications.get(0);
-//                     Assert.assertNotNull(classification);
-//                     Assert.assertTrue(classifications.contains(classification));
-//
-//                     TaxonNode rootTaxonNode = classification.getRootNode();
-//                     // get the list of child nodes, which will give a
-//                     // proxy list which is not yet initialised
-//                     List<TaxonNode> childNodes = rootTaxonNode.getChildNodes();
-//
-//                     // this size call will initialise the list locally by internally
-//                     // calling the ICommonService.initializeCollection method
-//                     int childCount = childNodes.size();
-//
-//                     if(childCount > 0) {
-//                             Assert.assertFalse(childNodes.isEmpty());
-//
-//                             // this get call will use the already initialised list to get the
-//                             // 0th element
-//                             Taxon localTaxon = childNodes.get(0).getTaxon();
-//                             Assert.assertNotNull(localTaxon);
-//
-//                             TaxonNameBase taxonName = localTaxon.getName();
-//                             Assert.assertNotNull(taxonName);
-//
-//                             // get the list of taxa, which will give a
-//                             // proxy set which is not yet initialised
-//                             Set<Taxon> taxa = taxonName.getTaxonBases();
-//
-//                             // this size call will initialise the list locally by internally
-//                             // calling the ICommonService.initializeCollection method
-//                             int taxaCount = taxa.size();
-//                             Assert.assertNotEquals(taxaCount,-1);
-//
-//                             if(taxaCount > 0) {
-//                                     Assert.assertFalse(taxa.isEmpty());
-//                                     // the locally retrieved taxon should exist in the
-//                                     // (local and remote) taxon list and should be not-null
-//                                     Assert.assertTrue(taxa.contains(localTaxon));
-//                                     Assert.assertNotNull(localTaxon);
-//                                     Assert.assertTrue(commonService.contains((PersistentCollection)taxa, localTaxon));
-//                             }
-//                     }
-//             }
-//     }
-
-       @Test
-       public void persistentMapTest() {
-               List<TaxonNode> taxonNodes = classificationService.getAllNodes();
-               // calling iterator will initialise the collection
-               Iterator<TaxonNode> taxonNodesItr = taxonNodes.iterator();
-               while(taxonNodesItr.hasNext()) {
-                       TaxonNode taxonNode = taxonNodesItr.next();
-                       Taxon taxon = taxonNode.getTaxon();
-
-                       if(taxon != null) {
-                               Set<TaxonDescription> descriptions = taxon.getDescriptions();
-                               Iterator<TaxonDescription> descriptionsItr = descriptions.iterator();
-                               while(descriptionsItr.hasNext()) {
-                                       TaxonDescription desc = descriptionsItr.next();
-                                       if(desc != null) {
-                                               for (DescriptionElementBase element : desc.getElements()){
-                                                       if (element.isInstanceOf(TextData.class)){
-                                                               // usually a call to 'get' collections should not initialise the collection,
-                                                               // but the 'getMultilanguageText' call internally calls readSize on the collection
-                                                               // which triggers the initialisation
-                                                               Map<Language, LanguageString> multilanguagetextMap = ((TextData)element).getMultilanguageText();
-                                                               boolean init = AbstractPersistentCollection.isInitialized(multilanguagetextMap);
-                                                               Assert.assertTrue(init);
-
-                                                               if(!multilanguagetextMap.isEmpty()) {
-                                                                       // found a map whcih we can test!
-                                                                       logger.info("Found Non-empty multilanguagetextMap");
-                                                                       boolean empty = commonService.isEmpty((PersistentCollection)multilanguagetextMap);
-                                                                       Assert.assertFalse(empty);
-                                                                       // test retrieval of key set, which should already by initialised
-                                                                       Set<Language> langKeySet = multilanguagetextMap.keySet();
-                                                                       Iterator<Language> langKeySetItr = langKeySet.iterator();
-                                                                       while(langKeySetItr.hasNext()) {
-                                                                               Language key = langKeySetItr.next();
-                                                                               // testing 'containsKey' on locally initialised collection
-                                                                               boolean localContainsKey = multilanguagetextMap.containsKey(key);
-                                                                               Assert.assertTrue(localContainsKey);
-                                                                               // testing 'containsKey' on remotely initialised collection
-                                                                               boolean remoteContainsKey =
-                                                                                               commonService.containsKey((PersistentCollection)multilanguagetextMap, key);
-                                                                               Assert.assertTrue(remoteContainsKey);
-
-                                                                               LanguageString value = multilanguagetextMap.get(key);
-                                                                               // testing 'containsValue' on locally initialised collection
-                                                                               boolean localContainsValue = multilanguagetextMap.containsValue(value);
-                                                                               Assert.assertTrue(localContainsValue);
-                                                                               // testing 'containsValue' on remotely initialised collection
-                                                                               boolean remoteContainsValue =
-                                                                                               commonService.containsValue((PersistentCollection)multilanguagetextMap, value);
-                                                                               Assert.assertTrue(remoteContainsValue);
-
-                                                                       }
-                                                                       return;
-                                                               }
-                                                       }
-                                               }
-                                       }
-                               }
-                       }
-               }
-       }
-}
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/resources/datasources.xml b/eu.etaxonomy.taxeditor.remoting/src/test/resources/datasources.xml
deleted file mode 100644 (file)
index 98ae815..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xmlns:tx="http://www.springframework.org/schema/tx"
-    xmlns:context="http://www.springframework.org/schema/context"
-    xsi:schemaLocation="http://www.springframework.org/schema/beans   http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
-    http://www.springframework.org/schema/context   http://www.springframework.org/schema/context/spring-context-2.5.xsd
-    http://www.springframework.org/schema/tx   http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
-    ">
-
-    <!--
-      DataSourceProperties allow configuring specific properties of the datasources
-
-       * cdmlib-remote.xslBasePath:
-            alternative base path for REST services to retrieve XSL style sheets from.
-            the base path must be on the same domain since cross domain xsl loading is
-            not permitted
-      -->
-      <bean id="dataSourceProperties" class="eu.etaxonomy.cdm.remote.config.DataSourceProperties">
-        <property name="propsMap">
-          <map>
-            <!--
-            <entry key="dataSourceBeanID">
-                <props>
-                    <prop key="cdmlib-remote.xslBasePath">/xsl</prop>
-                </props>
-            </entry>
-             -->
-            </map>
-        </property>
-      </bean>
-
-    <bean id="cdmTest"  lazy-init="true" class="com.mchange.v2.c3p0.ComboPooledDataSource">
-        <property name="driverClass" value="eu.etaxonomy.cdm.database.LocalH2"/>
-        <property name="user" value="sa" />
-        <property name="password" value="" />
-        <property name="jdbcUrl" value="jdbc:h2:file:./h2/cdmTest;AUTO_SERVER=TRUE"/>
-    </bean>
-</beans>
\ No newline at end of file
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/cdm/cdm.datasources.xml b/eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/cdm/cdm.datasources.xml
deleted file mode 100644 (file)
index f5d1afb..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans" 
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-xmlns:context="http://www.springframework.org/schema/context" 
-xsi:schemaLocation="http://www.springframework.org/schema/beans      
-http://www.springframework.org/schema/beans/spring-beans-3.1.xsd     
-http://www.springframework.org/schema/context     
-http://www.springframework.org/schema/context/spring-context-2.5.xsd">
-  <bean id="defaultRemoteSource">
-    <property name="server" value="127.0.0.1" />
-    <property name="port" value="9090" />
-    <property name="contextPath" value="" />
-  </bean>
-  
-  <bean id="incompleteRemoteSource">
-    <property name="port" value="9090" />
-    <property name="contextPath" value="" />
-  </bean>
-</beans>
-
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/cdm/testRemotingApplicationContext.xml b/eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/cdm/testRemotingApplicationContext.xml
deleted file mode 100644 (file)
index 361881a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xmlns:context="http://www.springframework.org/schema/context"
-  xmlns:tx="http://www.springframework.org/schema/tx"
-  xsi:schemaLocation="http://www.springframework.org/schema/beans
-    http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
-    http://www.springframework.org/schema/context
-    http://www.springframework.org/schema/context/spring-context-2.5.xsd
-    http://www.springframework.org/schema/tx
-    http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
-
-    <bean id="dataSource" class="org.unitils.database.UnitilsDataSourceFactoryBean"/>
-
-    <import resource="classpath:/eu/etaxonomy/cdm/remotingApplicationContext" />
-
-</beans>
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/taxeditor/lazyloading/AbstractLazyInitializerTest.xml b/eu.etaxonomy.taxeditor.remoting/src/test/resources/eu/etaxonomy/taxeditor/lazyloading/AbstractLazyInitializerTest.xml
deleted file mode 100644 (file)
index 59cfc00..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!--
-  generated by Jailer 4.3, Mon Oct 06 13:11:21 CEST 2014 from cmathew@cmbgbm-t530
-  
-  Extraction Model:  TaxonBase where uuid like '8217ef77-2ab1-4318-bd67-ccd0cdef07c4' (extractionmodel/by-example/SbE-TaxonBase-13-09-59-049.csv)
-  Database URL:      jdbc:mysql://127.0.0.1:3306/local-cyprus
-  Database User:     root
-  
-  Exported Rows:     2
-      TaxonBase                      1
-      TaxonNameBase                  1
-  
---><dataset>
-  <TaxonNameBase DTYPE="BotanicalName" id="32" created="2010-12-21 15:09:43.0" uuid="f8be96d0-9af9-4e19-b9f1-52a4c0ecc580" protectedtitlecache="true" titleCache="Achillea arabica Kotschy" fullTitleCache="Achillea arabica Kotschy" parsingproblem="0" problemends="-1" problemstarts="-1" protectedfulltitlecache="false" authorshipcache="Kotschy" binomhybrid="false" genusoruninomial="Achillea" hybridformula="false" monomhybrid="false" namecache="Achillea arabica" protectedauthorshipcache="false" protectednamecache="false" specificepithet="arabica" trinomhybrid="false" anamorphic="false" createdby_id="11" homotypicalgroup_id="32" rank_id="778" combinationauthorteam_id="36"/>
-
-  <TaxonBase DTYPE="Taxon" id="32" created="2011-03-01 20:11:26.0" uuid="8217ef77-2ab1-4318-bd67-ccd0cdef07c4" updated="2014-09-17 09:27:47.0" protectedtitlecache="true" titleCache="Achillea arabica Kotschy sec. Cyprus" doubtful="false" usenamecache="false" excluded="false" taxonstatusunknown="false" taxonomicchildrencount="0" unplaced="false" createdby_id="11" name_id="32" sec_id="10" publish="true"/>
-
-  
-</dataset>
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/resources/h2/cdmTest.h2.db b/eu.etaxonomy.taxeditor.remoting/src/test/resources/h2/cdmTest.h2.db
deleted file mode 100644 (file)
index 5fc9322..0000000
Binary files a/eu.etaxonomy.taxeditor.remoting/src/test/resources/h2/cdmTest.h2.db and /dev/null differ
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/resources/h2/cdmTest.trace.db b/eu.etaxonomy.taxeditor.remoting/src/test/resources/h2/cdmTest.trace.db
deleted file mode 100644 (file)
index c612108..0000000
+++ /dev/null
@@ -1,6118 +0,0 @@
-10-09 16:14:18 jdbc[4]: exception
-org.h2.jdbc.JdbcSQLException: Table "CDMMETADATA" not found; SQL statement:
-SELECT value FROM CdmMetaData WHERE propertyname=0 [42102-170]
-10-09 16:14:21 jdbc[7]: exception
-org.h2.jdbc.JdbcSQLException: Table "CDMMETADATA" not found; SQL statement:
-SELECT value FROM CdmMetaData WHERE propertyname=0 [42102-170]
-10-09 16:14:38 jdbc[8]: null
-org.h2.message.DbException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.message.DbException.get(DbException.java:135)
-       at org.h2.jdbc.JdbcConnection.closeOld(JdbcConnection.java:175)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:120)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:93)
-       at org.h2.Driver.connect(Driver.java:72)
-       at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
-       at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
-       at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
-       at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
-       at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
-       at eu.etaxonomy.cdm.database.LocalH2.createDataSource(LocalH2.java:88)
-       at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
-       at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcServicesImpl.java:242)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:117)
-       at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
-       at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)
-       at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2276)
-       at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2272)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1741)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-Caused by: org.h2.jdbc.JdbcSQLException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       ... 60 more
-10-09 16:14:38 jdbc[8]: null
-org.h2.message.DbException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.message.DbException.get(DbException.java:135)
-       at org.h2.jdbc.JdbcConnection.closeOld(JdbcConnection.java:175)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:120)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:93)
-       at org.h2.Driver.connect(Driver.java:72)
-       at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
-       at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
-       at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
-       at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
-       at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
-       at eu.etaxonomy.cdm.database.LocalH2.createDataSource(LocalH2.java:88)
-       at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
-       at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcServicesImpl.java:242)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:117)
-       at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
-       at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)
-       at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2276)
-       at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2272)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1741)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-Caused by: org.h2.jdbc.JdbcSQLException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       ... 60 more
-10-09 16:14:38 jdbc[8]: null
-org.h2.message.DbException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.message.DbException.get(DbException.java:135)
-       at org.h2.jdbc.JdbcConnection.closeOld(JdbcConnection.java:175)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:120)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:93)
-       at org.h2.Driver.connect(Driver.java:72)
-       at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
-       at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
-       at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
-       at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
-       at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
-       at eu.etaxonomy.cdm.database.LocalH2.createDataSource(LocalH2.java:88)
-       at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
-       at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcServicesImpl.java:242)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:117)
-       at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
-       at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)
-       at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2276)
-       at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2272)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1741)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-Caused by: org.h2.jdbc.JdbcSQLException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       ... 60 more
-10-09 16:14:38 jdbc[8]: null
-org.h2.message.DbException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.message.DbException.get(DbException.java:135)
-       at org.h2.jdbc.JdbcConnection.closeOld(JdbcConnection.java:175)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:120)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:93)
-       at org.h2.Driver.connect(Driver.java:72)
-       at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
-       at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
-       at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
-       at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
-       at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
-       at eu.etaxonomy.cdm.database.LocalH2.createDataSource(LocalH2.java:88)
-       at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
-       at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcServicesImpl.java:242)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:117)
-       at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
-       at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)
-       at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2276)
-       at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2272)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1741)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-Caused by: org.h2.jdbc.JdbcSQLException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       ... 60 more
-10-09 16:14:38 jdbc[8]: null
-org.h2.message.DbException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.message.DbException.get(DbException.java:135)
-       at org.h2.jdbc.JdbcConnection.closeOld(JdbcConnection.java:175)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:120)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:93)
-       at org.h2.Driver.connect(Driver.java:72)
-       at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
-       at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
-       at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
-       at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
-       at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
-       at eu.etaxonomy.cdm.database.LocalH2.createDataSource(LocalH2.java:88)
-       at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
-       at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcServicesImpl.java:242)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:117)
-       at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
-       at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)
-       at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2276)
-       at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2272)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1741)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-Caused by: org.h2.jdbc.JdbcSQLException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       ... 60 more
-10-09 16:14:38 jdbc[8]: null
-org.h2.message.DbException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.message.DbException.get(DbException.java:135)
-       at org.h2.jdbc.JdbcConnection.closeOld(JdbcConnection.java:175)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:120)
-       at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:93)
-       at org.h2.Driver.connect(Driver.java:72)
-       at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
-       at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
-       at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
-       at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
-       at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
-       at eu.etaxonomy.cdm.database.LocalH2.createDataSource(LocalH2.java:88)
-       at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
-       at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcServicesImpl.java:242)
-       at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:117)
-       at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)
-       at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)
-       at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:77)
-       at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2276)
-       at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2272)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1741)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-Caused by: org.h2.jdbc.JdbcSQLException: The connection was not closed by the application and is garbage collected [90018-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       ... 60 more
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ADDRESS" not found; SQL statement:
-alter table Address drop constraint FK1ED033D44FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ADDRESS" not found; SQL statement:
-alter table Address drop constraint FK1ED033D4BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ADDRESS" not found; SQL statement:
-alter table Address drop constraint FK1ED033D4CDD3C17E [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ADDRESS" not found; SQL statement:
-alter table Address drop constraint FK1ED033D4132A2FE8 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ADDRESS_AUD" not found; SQL statement:
-alter table Address_AUD drop constraint FK115657A534869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE" not found; SQL statement:
-alter table AgentBase drop constraint FK1205D3564FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE" not found; SQL statement:
-alter table AgentBase drop constraint FK1205D356BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE" not found; SQL statement:
-alter table AgentBase drop constraint FK1205D356A830578 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_AUD" not found; SQL statement:
-alter table AgentBase_AUD drop constraint FK29CC662734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_ADDRESS" not found; SQL statement:
-alter table AgentBase_Address drop constraint FK1EDFF7EB50751EC5 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_ADDRESS" not found; SQL statement:
-alter table AgentBase_Address drop constraint FK1EDFF7EB86EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_ADDRESS_AUD" not found; SQL statement:
-alter table AgentBase_Address_AUD drop constraint FK3D28383C34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_AGENTBASE" not found; SQL statement:
-alter table AgentBase_AgentBase drop constraint FK4D34EDADE9E535F9 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_AGENTBASE" not found; SQL statement:
-alter table AgentBase_AgentBase drop constraint FK4D34EDAD1C0E9907 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_AGENTBASE_AUD" not found; SQL statement:
-alter table AgentBase_AgentBase_AUD drop constraint FKA8A87CFE34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_ANNOTATION" not found; SQL statement:
-alter table AgentBase_Annotation drop constraint FK44D5F7D81E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_ANNOTATION" not found; SQL statement:
-alter table AgentBase_Annotation drop constraint FK44D5F7D886EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_ANNOTATION_AUD" not found; SQL statement:
-alter table AgentBase_Annotation_AUD drop constraint FK771279A934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CREDIT" not found; SQL statement:
-alter table AgentBase_Credit drop constraint FK2636742232D1B9F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CREDIT" not found; SQL statement:
-alter table AgentBase_Credit drop constraint FK2636742286EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CREDIT_AUD" not found; SQL statement:
-alter table AgentBase_Credit_AUD drop constraint FK7FE7C0F334869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_DEFINEDTERMBASE" not found; SQL statement:
-alter table AgentBase_DefinedTermBase drop constraint FK6665C77DF116FEB0 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_DEFINEDTERMBASE" not found; SQL statement:
-alter table AgentBase_DefinedTermBase drop constraint FK6665C77D8D9AB196 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_DEFINEDTERMBASE_AUD" not found; SQL statement:
-alter table AgentBase_DefinedTermBase_AUD drop constraint FKA737EECE34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_EXTENSION" not found; SQL statement:
-alter table AgentBase_Extension drop constraint FK8E1E5676927DE9DF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_EXTENSION" not found; SQL statement:
-alter table AgentBase_Extension drop constraint FK8E1E567686EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_EXTENSION_AUD" not found; SQL statement:
-alter table AgentBase_Extension_AUD drop constraint FK11AE594734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_MARKER" not found; SQL statement:
-alter table AgentBase_Marker drop constraint FK365D5D63777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_MARKER" not found; SQL statement:
-alter table AgentBase_Marker drop constraint FK365D5D6386EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_MARKER_AUD" not found; SQL statement:
-alter table AgentBase_Marker_AUD drop constraint FKE40621B434869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_MEDIA" not found; SQL statement:
-alter table AgentBase_Media drop constraint FKE8FC5D9BC2C29593 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_MEDIA" not found; SQL statement:
-alter table AgentBase_Media drop constraint FKE8FC5D9B86EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_MEDIA_AUD" not found; SQL statement:
-alter table AgentBase_Media_AUD drop constraint FK323A45EC34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table AgentBase_OriginalSourceBase drop constraint FKB482C5E63A6735D9 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table AgentBase_OriginalSourceBase drop constraint FKB482C5E686EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table AgentBase_OriginalSourceBase_AUD drop constraint FK886D90B734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_RIGHTSINFO" not found; SQL statement:
-alter table AgentBase_RightsInfo drop constraint FK4FD6A3CEC13F7B21 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_RIGHTSINFO" not found; SQL statement:
-alter table AgentBase_RightsInfo drop constraint FK4FD6A3CE86EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_RIGHTSINFO_AUD" not found; SQL statement:
-alter table AgentBase_RightsInfo_AUD drop constraint FK79503A9F34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CONTACT_EMAILADDRESSES" not found; SQL statement:
-alter table AgentBase_contact_emailaddresses drop constraint FK4BD2B08E86EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CONTACT_EMAILADDRESSES_AUD" not found; SQL statement:
-alter table AgentBase_contact_emailaddresses_AUD drop constraint FKCAF7E75F34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CONTACT_FAXNUMBERS" not found; SQL statement:
-alter table AgentBase_contact_faxnumbers drop constraint FK52E1AD9586EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CONTACT_FAXNUMBERS_AUD" not found; SQL statement:
-alter table AgentBase_contact_faxnumbers_AUD drop constraint FK88A308E634869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CONTACT_PHONENUMBERS" not found; SQL statement:
-alter table AgentBase_contact_phonenumbers drop constraint FKC171CC2486EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CONTACT_PHONENUMBERS_AUD" not found; SQL statement:
-alter table AgentBase_contact_phonenumbers_AUD drop constraint FKDDD347F534869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CONTACT_URLS" not found; SQL statement:
-alter table AgentBase_contact_urls drop constraint FK9A9643EC86EFC5D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AGENTBASE_CONTACT_URLS_AUD" not found; SQL statement:
-alter table AgentBase_contact_urls_AUD drop constraint FK1CE69BBD34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B4164FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B416BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B4163DA462D5 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B416DEC4385F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B4166D2CE418 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B416E671A9DF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B4163781DA30 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B416825BDDD3 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B416AFCA96F8 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION" not found; SQL statement:
-alter table Amplification drop constraint FK9DA6B4161600EAB3 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_AUD" not found; SQL statement:
-alter table Amplification_AUD drop constraint FK448EE6E734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_ANNOTATION" not found; SQL statement:
-alter table Amplification_Annotation drop constraint FK6B251F181E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_ANNOTATION" not found; SQL statement:
-alter table Amplification_Annotation drop constraint FK6B251F18614CEB1F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_ANNOTATION_AUD" not found; SQL statement:
-alter table Amplification_Annotation_AUD drop constraint FK6FC00E934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_MARKER" not found; SQL statement:
-alter table Amplification_Marker drop constraint FK46E224A3777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_MARKER" not found; SQL statement:
-alter table Amplification_Marker drop constraint FK46E224A3614CEB1F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_MARKER_AUD" not found; SQL statement:
-alter table Amplification_Marker_AUD drop constraint FKA5548F434869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_SINGLEREAD" not found; SQL statement:
-alter table Amplification_SingleRead drop constraint FKFE4921E7BBC12E3E [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_SINGLEREAD" not found; SQL statement:
-alter table Amplification_SingleRead drop constraint FKFE4921E7614CEB1F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "AMPLIFICATION_SINGLEREAD_AUD" not found; SQL statement:
-alter table Amplification_SingleRead_AUD drop constraint FK8FB4043834869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION" not found; SQL statement:
-alter table Annotation drop constraint FK1A21C74F4FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION" not found; SQL statement:
-alter table Annotation drop constraint FK1A21C74FBC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION" not found; SQL statement:
-alter table Annotation drop constraint FK1A21C74FE8D36B00 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION" not found; SQL statement:
-alter table Annotation drop constraint FK1A21C74FDF299D00 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION" not found; SQL statement:
-alter table Annotation drop constraint FK1A21C74FE7692740 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION_AUD" not found; SQL statement:
-alter table Annotation_AUD drop constraint FK1A6BB5A034869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION_ANNOTATION" not found; SQL statement:
-alter table Annotation_Annotation drop constraint FKC99DFE3F1E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION_ANNOTATION" not found; SQL statement:
-alter table Annotation_Annotation drop constraint FKC99DFE3F994CCE20 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION_ANNOTATION_AUD" not found; SQL statement:
-alter table Annotation_Annotation_AUD drop constraint FKB212F49034869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION_MARKER" not found; SQL statement:
-alter table Annotation_Marker drop constraint FKB17EAF4A777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION_MARKER" not found; SQL statement:
-alter table Annotation_Marker drop constraint FKB17EAF4A994CCE20 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ANNOTATION_MARKER_AUD" not found; SQL statement:
-alter table Annotation_Marker_AUD drop constraint FK68CE281B34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CDM_VIEW" not found; SQL statement:
-alter table CDM_VIEW drop constraint FKC5DE8EF84FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CDM_VIEW" not found; SQL statement:
-alter table CDM_VIEW drop constraint FKC5DE8EF88D0FB4DA [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CDM_VIEW_CDM_VIEW" not found; SQL statement:
-alter table CDM_VIEW_CDM_VIEW drop constraint FK230A885F7208BB38 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CDM_VIEW_CDM_VIEW" not found; SQL statement:
-alter table CDM_VIEW_CDM_VIEW drop constraint FK230A885FC00D1213 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CDMMETADATA" not found; SQL statement:
-alter table CdmMetaData drop constraint FK6EA78F7B4FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION" not found; SQL statement:
-alter table Classification drop constraint FKDB1100064FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION" not found; SQL statement:
-alter table Classification drop constraint FKDB110006BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION" not found; SQL statement:
-alter table Classification drop constraint FKDB11000677E2F09E [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION" not found; SQL statement:
-alter table Classification drop constraint FKDB1100068D0FB4DA [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION" not found; SQL statement:
-alter table Classification drop constraint FKDB110006D1E08681 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_AUD" not found; SQL statement:
-alter table Classification_AUD drop constraint FKEB11BAD734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_ANNOTATION" not found; SQL statement:
-alter table Classification_Annotation drop constraint FKC978FD281E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_ANNOTATION" not found; SQL statement:
-alter table Classification_Annotation drop constraint FKC978FD2884A3CE1B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_ANNOTATION_AUD" not found; SQL statement:
-alter table Classification_Annotation_AUD drop constraint FK3D1256F934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_CREDIT" not found; SQL statement:
-alter table Classification_Credit drop constraint FK4950A17232D1B9F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_CREDIT" not found; SQL statement:
-alter table Classification_Credit drop constraint FK4950A17284A3CE1B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_CREDIT_AUD" not found; SQL statement:
-alter table Classification_Credit_AUD drop constraint FK48AC64334869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_EXTENSION" not found; SQL statement:
-alter table Classification_Extension drop constraint FK715D6726927DE9DF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_EXTENSION" not found; SQL statement:
-alter table Classification_Extension drop constraint FK715D672684A3CE1B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_EXTENSION_AUD" not found; SQL statement:
-alter table Classification_Extension_AUD drop constraint FK289591F734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_MARKER" not found; SQL statement:
-alter table Classification_Marker drop constraint FK59778AB3777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_MARKER" not found; SQL statement:
-alter table Classification_Marker drop constraint FK59778AB384A3CE1B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_MARKER_AUD" not found; SQL statement:
-alter table Classification_Marker_AUD drop constraint FK68A9270434869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table Classification_OriginalSourceBase drop constraint FK91B37B363A6735D9 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table Classification_OriginalSourceBase drop constraint FK91B37B3684A3CE1B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table Classification_OriginalSourceBase_AUD drop constraint FK48A31E0734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_RIGHTSINFO" not found; SQL statement:
-alter table Classification_RightsInfo drop constraint FKD479A91EC13F7B21 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_RIGHTSINFO" not found; SQL statement:
-alter table Classification_RightsInfo drop constraint FKD479A91E84A3CE1B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CLASSIFICATION_RIGHTSINFO_AUD" not found; SQL statement:
-alter table Classification_RightsInfo_AUD drop constraint FK3F5017EF34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION" not found; SQL statement:
-alter table Collection drop constraint FKF078ABE4FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION" not found; SQL statement:
-alter table Collection drop constraint FKF078ABEBC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION" not found; SQL statement:
-alter table Collection drop constraint FKF078ABE16B9CA77 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION" not found; SQL statement:
-alter table Collection drop constraint FKF078ABECEB38EFF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_AUD" not found; SQL statement:
-alter table Collection_AUD drop constraint FKD6D4298F34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_ANNOTATION" not found; SQL statement:
-alter table Collection_Annotation drop constraint FKEA970F701E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_ANNOTATION" not found; SQL statement:
-alter table Collection_Annotation drop constraint FKEA970F70EB62BE9A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_ANNOTATION_AUD" not found; SQL statement:
-alter table Collection_Annotation_AUD drop constraint FKA0CE054134869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_CREDIT" not found; SQL statement:
-alter table Collection_Credit drop constraint FKE0A317BA32D1B9F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_CREDIT" not found; SQL statement:
-alter table Collection_Credit drop constraint FKE0A317BAEB62BE9A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_CREDIT_AUD" not found; SQL statement:
-alter table Collection_Credit_AUD drop constraint FK25A8D88B34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_EXTENSION" not found; SQL statement:
-alter table Collection_Extension drop constraint FKF68FEBDE927DE9DF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_EXTENSION" not found; SQL statement:
-alter table Collection_Extension drop constraint FKF68FEBDEEB62BE9A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_EXTENSION_AUD" not found; SQL statement:
-alter table Collection_Extension_AUD drop constraint FK1306FAAF34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_MARKER" not found; SQL statement:
-alter table Collection_Marker drop constraint FKF0CA00FB777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_MARKER" not found; SQL statement:
-alter table Collection_Marker drop constraint FKF0CA00FBEB62BE9A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_MARKER_AUD" not found; SQL statement:
-alter table Collection_Marker_AUD drop constraint FK89C7394C34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_MEDIA" not found; SQL statement:
-alter table Collection_Media drop constraint FK7320E703C2C29593 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_MEDIA" not found; SQL statement:
-alter table Collection_Media drop constraint FK7320E703EB62BE9A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_MEDIA_AUD" not found; SQL statement:
-alter table Collection_Media_AUD drop constraint FK9AABDB5434869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table Collection_OriginalSourceBase drop constraint FK37DEC57E3A6735D9 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table Collection_OriginalSourceBase drop constraint FK37DEC57EEB62BE9A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table Collection_OriginalSourceBase_AUD drop constraint FKF810044F34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_RIGHTSINFO" not found; SQL statement:
-alter table Collection_RightsInfo drop constraint FKF597BB66C13F7B21 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_RIGHTSINFO" not found; SQL statement:
-alter table Collection_RightsInfo drop constraint FKF597BB66EB62BE9A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "COLLECTION_RIGHTSINFO_AUD" not found; SQL statement:
-alter table Collection_RightsInfo_AUD drop constraint FKA30BC63734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT" not found; SQL statement:
-alter table Credit drop constraint FK78CA97194FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT" not found; SQL statement:
-alter table Credit drop constraint FK78CA9719BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT" not found; SQL statement:
-alter table Credit drop constraint FK78CA9719E8D36B00 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT" not found; SQL statement:
-alter table Credit drop constraint FK78CA9719F7976FC5 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT_AUD" not found; SQL statement:
-alter table Credit_AUD drop constraint FK5533906A34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT_ANNOTATION" not found; SQL statement:
-alter table Credit_Annotation drop constraint FKE8DA4C351E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT_ANNOTATION" not found; SQL statement:
-alter table Credit_Annotation drop constraint FKE8DA4C354CF694E0 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT_ANNOTATION_AUD" not found; SQL statement:
-alter table Credit_Annotation_AUD drop constraint FK1DEB578634869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT_MARKER" not found; SQL statement:
-alter table Credit_Marker drop constraint FK10CC6840777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT_MARKER" not found; SQL statement:
-alter table Credit_Marker drop constraint FK10CC68404CF694E0 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "CREDIT_MARKER_AUD" not found; SQL statement:
-alter table Credit_Marker_AUD drop constraint FK880A761134869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE" not found; SQL statement:
-alter table DefinedTermBase drop constraint FK2E340A664FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE" not found; SQL statement:
-alter table DefinedTermBase drop constraint FK2E340A66BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE" not found; SQL statement:
-alter table DefinedTermBase drop constraint FK2E340A663B0DA0EF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE" not found; SQL statement:
-alter table DefinedTermBase drop constraint FK2E340A66D040DBF0 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE" not found; SQL statement:
-alter table DefinedTermBase drop constraint FK2E340A6647AF954C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE" not found; SQL statement:
-alter table DefinedTermBase drop constraint FK2E340A6624AF3F70 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE" not found; SQL statement:
-alter table DefinedTermBase drop constraint FK2E340A6636C6F6F6 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE" not found; SQL statement:
-alter table DefinedTermBase drop constraint FK2E340A66CC0240B6 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE" not found; SQL statement:
-alter table DefinedTermBase drop constraint FK2E340A6688206484 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_AUD" not found; SQL statement:
-alter table DefinedTermBase_AUD drop constraint FK86E8953734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_ANNOTATION" not found; SQL statement:
-alter table DefinedTermBase_Annotation drop constraint FK589B6C81E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_ANNOTATION" not found; SQL statement:
-alter table DefinedTermBase_Annotation drop constraint FK589B6C8C0DB4934 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_ANNOTATION_AUD" not found; SQL statement:
-alter table DefinedTermBase_Annotation_AUD drop constraint FK28ED409934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_CONTINENT" not found; SQL statement:
-alter table DefinedTermBase_Continent drop constraint FK45F60AFB9AEE7205 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_CONTINENT" not found; SQL statement:
-alter table DefinedTermBase_Continent drop constraint FK45F60AFB901A60CE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_CONTINENT_AUD" not found; SQL statement:
-alter table DefinedTermBase_Continent_AUD drop constraint FKF5DE434C34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_COUNTRY" not found; SQL statement:
-alter table DefinedTermBase_Country drop constraint FKA2ADDA9D47CE41A0 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_COUNTRY" not found; SQL statement:
-alter table DefinedTermBase_Country drop constraint FKA2ADDA9DCE5C0F9E [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_COUNTRY_AUD" not found; SQL statement:
-alter table DefinedTermBase_Country_AUD drop constraint FK8D0171EE34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_CREDIT" not found; SQL statement:
-alter table DefinedTermBase_Credit drop constraint FK78FF2B1232D1B9F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_CREDIT" not found; SQL statement:
-alter table DefinedTermBase_Credit drop constraint FK78FF2B12C0DB4934 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_CREDIT_AUD" not found; SQL statement:
-alter table DefinedTermBase_Credit_AUD drop constraint FK409B7FE334869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_EXTENSION" not found; SQL statement:
-alter table DefinedTermBase_Extension drop constraint FK397EF986927DE9DF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_EXTENSION" not found; SQL statement:
-alter table DefinedTermBase_Extension drop constraint FK397EF986C0DB4934 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_EXTENSION_AUD" not found; SQL statement:
-alter table DefinedTermBase_Extension_AUD drop constraint FK6E6F45734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_MARKER" not found; SQL statement:
-alter table DefinedTermBase_Marker drop constraint FK89261453777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_MARKER" not found; SQL statement:
-alter table DefinedTermBase_Marker drop constraint FK89261453C0DB4934 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_MARKER_AUD" not found; SQL statement:
-alter table DefinedTermBase_Marker_AUD drop constraint FKA4B9E0A434869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_MEASUREMENTUNIT" not found; SQL statement:
-alter table DefinedTermBase_MeasurementUnit drop constraint FKE9D17767F3BB39BD [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_MEASUREMENTUNIT" not found; SQL statement:
-alter table DefinedTermBase_MeasurementUnit drop constraint FKE9D17767D0BDAE9B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_MEASUREMENTUNIT_AUD" not found; SQL statement:
-alter table DefinedTermBase_MeasurementUnit_AUD drop constraint FK2C1599B834869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_MEDIA" not found; SQL statement:
-alter table DefinedTermBase_Media drop constraint FK6FC908ABC2C29593 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_MEDIA" not found; SQL statement:
-alter table DefinedTermBase_Media drop constraint FK6FC908ABC0DB4934 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_MEDIA_AUD" not found; SQL statement:
-alter table DefinedTermBase_Media_AUD drop constraint FKDD9AE8FC34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table DefinedTermBase_OriginalSourceBase drop constraint FKDCC094D63A6735D9 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table DefinedTermBase_OriginalSourceBase drop constraint FKDCC094D6C0DB4934 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table DefinedTermBase_OriginalSourceBase_AUD drop constraint FKAE4A67A734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION" not found; SQL statement:
-alter table DefinedTermBase_RecommendedModifierEnumeration drop constraint FKA72FB5AE5255EAFD [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION" not found; SQL statement:
-alter table DefinedTermBase_RecommendedModifierEnumeration drop constraint FKA72FB5AED0BDAE9B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_RECOMMENDEDMODIFIERENUMERATION_AUD" not found; SQL statement:
-alter table DefinedTermBase_RecommendedModifierEnumeration_AUD drop constraint FK780D5C7F34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_REPRESENTATION" not found; SQL statement:
-alter table DefinedTermBase_Representation drop constraint FKAAC8AFE6B31C4747 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_REPRESENTATION" not found; SQL statement:
-alter table DefinedTermBase_Representation drop constraint FKAAC8AFE6C0DB4934 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_REPRESENTATION_AUD" not found; SQL statement:
-alter table DefinedTermBase_Representation_AUD drop constraint FKB5AE7AB734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_RIGHTSINFO" not found; SQL statement:
-alter table DefinedTermBase_RightsInfo drop constraint FK108A62BEC13F7B21 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_RIGHTSINFO" not found; SQL statement:
-alter table DefinedTermBase_RightsInfo drop constraint FK108A62BEC0DB4934 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_RIGHTSINFO_AUD" not found; SQL statement:
-alter table DefinedTermBase_RightsInfo_AUD drop constraint FK2B2B018F34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_STATISTICALMEASURE" not found; SQL statement:
-alter table DefinedTermBase_StatisticalMeasure drop constraint FK6FF15DFCC9CD5B57 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_STATISTICALMEASURE" not found; SQL statement:
-alter table DefinedTermBase_StatisticalMeasure drop constraint FK6FF15DFCD0BDAE9B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_STATISTICALMEASURE_AUD" not found; SQL statement:
-alter table DefinedTermBase_StatisticalMeasure_AUD drop constraint FK3C062DCD34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION" not found; SQL statement:
-alter table DefinedTermBase_SupportedCategoricalEnumeration drop constraint FK2170B25C5AF2C74 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION" not found; SQL statement:
-alter table DefinedTermBase_SupportedCategoricalEnumeration drop constraint FK2170B25CD0BDAE9B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DEFINEDTERMBASE_SUPPORTEDCATEGORICALENUMERATION_AUD" not found; SQL statement:
-alter table DefinedTermBase_SupportedCategoricalEnumeration_AUD drop constraint FKBB04522D34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT" not found; SQL statement:
-alter table DerivationEvent drop constraint FK426BC034FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT" not found; SQL statement:
-alter table DerivationEvent drop constraint FK426BC03BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT" not found; SQL statement:
-alter table DerivationEvent drop constraint FK426BC033DA462D5 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT" not found; SQL statement:
-alter table DerivationEvent drop constraint FK426BC038524B89D [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT_AUD" not found; SQL statement:
-alter table DerivationEvent_AUD drop constraint FKDABF305434869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT_ANNOTATION" not found; SQL statement:
-alter table DerivationEvent_Annotation drop constraint FKEFA0D10B1E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT_ANNOTATION" not found; SQL statement:
-alter table DerivationEvent_Annotation drop constraint FKEFA0D10B4AAB411A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT_ANNOTATION_AUD" not found; SQL statement:
-alter table DerivationEvent_Annotation_AUD drop constraint FKA197815C34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT_MARKER" not found; SQL statement:
-alter table DerivationEvent_Marker drop constraint FKE412C816777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT_MARKER" not found; SQL statement:
-alter table DerivationEvent_Marker drop constraint FKE412C8164AAB411A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DERIVATIONEVENT_MARKER_AUD" not found; SQL statement:
-alter table DerivationEvent_Marker_AUD drop constraint FK8ED0FAE734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE" not found; SQL statement:
-alter table DescriptionBase drop constraint FKFF4D58CD4FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE" not found; SQL statement:
-alter table DescriptionBase drop constraint FKFF4D58CDBC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE" not found; SQL statement:
-alter table DescriptionBase drop constraint FKFF4D58CDB56856A4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE" not found; SQL statement:
-alter table DescriptionBase drop constraint FKFF4D58CDDE9A3E39 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE" not found; SQL statement:
-alter table DescriptionBase drop constraint FKFF4D58CDDA935185 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_AUD" not found; SQL statement:
-alter table DescriptionBase_AUD drop constraint FK7456581E34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_ANNOTATION" not found; SQL statement:
-alter table DescriptionBase_Annotation drop constraint FKF3AD32011E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_ANNOTATION" not found; SQL statement:
-alter table DescriptionBase_Annotation drop constraint FKF3AD3201F1DDBFAB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_ANNOTATION_AUD" not found; SQL statement:
-alter table DescriptionBase_Annotation_AUD drop constraint FK15FE775234869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_CREDIT" not found; SQL statement:
-alter table DescriptionBase_Credit drop constraint FK510B2ACB32D1B9F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_CREDIT" not found; SQL statement:
-alter table DescriptionBase_Credit drop constraint FK510B2ACBF1DDBFAB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_CREDIT_AUD" not found; SQL statement:
-alter table DescriptionBase_Credit_AUD drop constraint FK2EBEFB1C34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_EXTENSION" not found; SQL statement:
-alter table DescriptionBase_Extension drop constraint FKD5D2B32D927DE9DF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_EXTENSION" not found; SQL statement:
-alter table DescriptionBase_Extension drop constraint FKD5D2B32DF1DDBFAB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_EXTENSION_AUD" not found; SQL statement:
-alter table DescriptionBase_Extension_AUD drop constraint FK79E7827E34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_GEOSCOPE" not found; SQL statement:
-alter table DescriptionBase_GeoScope drop constraint FK3ADD7CD586D04E74 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_GEOSCOPE" not found; SQL statement:
-alter table DescriptionBase_GeoScope drop constraint FK3ADD7CD5D86445CE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_GEOSCOPE_AUD" not found; SQL statement:
-alter table DescriptionBase_GeoScope_AUD drop constraint FK63A5382634869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_MARKER" not found; SQL statement:
-alter table DescriptionBase_Marker drop constraint FK6132140C777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_MARKER" not found; SQL statement:
-alter table DescriptionBase_Marker drop constraint FK6132140CF1DDBFAB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_MARKER_AUD" not found; SQL statement:
-alter table DescriptionBase_Marker_AUD drop constraint FK92DD5BDD34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table DescriptionBase_OriginalSourceBase drop constraint FKDC75C70F3A6735D9 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table DescriptionBase_OriginalSourceBase drop constraint FKDC75C70FF1DDBFAB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table DescriptionBase_OriginalSourceBase_AUD drop constraint FK8F39D56034869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_REFERENCE" not found; SQL statement:
-alter table DescriptionBase_Reference drop constraint FKC330D6395C601E49 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_REFERENCE" not found; SQL statement:
-alter table DescriptionBase_Reference drop constraint FKC330D639F1DDBFAB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_REFERENCE_AUD" not found; SQL statement:
-alter table DescriptionBase_Reference_AUD drop constraint FK76253F8A34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_RIGHTSINFO" not found; SQL statement:
-alter table DescriptionBase_RightsInfo drop constraint FKFEADDDF7C13F7B21 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_RIGHTSINFO" not found; SQL statement:
-alter table DescriptionBase_RightsInfo drop constraint FKFEADDDF7F1DDBFAB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_RIGHTSINFO_AUD" not found; SQL statement:
-alter table DescriptionBase_RightsInfo_AUD drop constraint FK183C384834869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_SCOPE" not found; SQL statement:
-alter table DescriptionBase_Scope drop constraint FKB9257C4294E290CA [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_SCOPE" not found; SQL statement:
-alter table DescriptionBase_Scope drop constraint FKB9257C42D86445CE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONBASE_SCOPE_AUD" not found; SQL statement:
-alter table DescriptionBase_Scope_AUD drop constraint FK75D5B91334869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE76714FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE7671BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE76714220AFEB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE767134AF0E81 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE76711C3C3FF7 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE7671E8D36B00 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE76715E9914B8 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE76716561D9B1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE767110A80E07 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE76719108D9B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE" not found; SQL statement:
-alter table DescriptionElementBase drop constraint FK38FE76716D0D7A56 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_AUD" not found; SQL statement:
-alter table DescriptionElementBase_AUD drop constraint FKF3803C234869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_ANNOTATION" not found; SQL statement:
-alter table DescriptionElementBase_Annotation drop constraint FK7EE5E5DD1E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_ANNOTATION" not found; SQL statement:
-alter table DescriptionElementBase_Annotation drop constraint FK7EE5E5DD3B8BB609 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_ANNOTATION_AUD" not found; SQL statement:
-alter table DescriptionElementBase_Annotation_AUD drop constraint FK2BC1DD2E34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_LANGUAGESTRING" not found; SQL statement:
-alter table DescriptionElementBase_LanguageString drop constraint FKC753F137ACF5F60B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_LANGUAGESTRING" not found; SQL statement:
-alter table DescriptionElementBase_LanguageString drop constraint FKC753F137C6D55834 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_LANGUAGESTRING" not found; SQL statement:
-alter table DescriptionElementBase_LanguageString drop constraint FKC753F137C086B46F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_LANGUAGESTRING_AUD" not found; SQL statement:
-alter table DescriptionElementBase_LanguageString_AUD drop constraint FK2D26AB8834869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MARKER" not found; SQL statement:
-alter table DescriptionElementBase_Marker drop constraint FK1CB715E8777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MARKER" not found; SQL statement:
-alter table DescriptionElementBase_Marker drop constraint FK1CB715E83B8BB609 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MARKER_AUD" not found; SQL statement:
-alter table DescriptionElementBase_Marker_AUD drop constraint FK1E160FB934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MEDIA" not found; SQL statement:
-alter table DescriptionElementBase_Media drop constraint FK21F70076C2C29593 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MEDIA" not found; SQL statement:
-alter table DescriptionElementBase_Media drop constraint FK21F700763B8BB609 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MEDIA_AUD" not found; SQL statement:
-alter table DescriptionElementBase_Media_AUD drop constraint FK5522034734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MODIFIER" not found; SQL statement:
-alter table DescriptionElementBase_Modifier drop constraint FK97E0D105F4E35BCD [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MODIFIER" not found; SQL statement:
-alter table DescriptionElementBase_Modifier drop constraint FK97E0D1053B8BB609 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MODIFIER_AUD" not found; SQL statement:
-alter table DescriptionElementBase_Modifier_AUD drop constraint FK2982F45634869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MODIFYINGTEXT" not found; SQL statement:
-alter table DescriptionElementBase_ModifyingText drop constraint FK522D90C7F05D08D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MODIFYINGTEXT" not found; SQL statement:
-alter table DescriptionElementBase_ModifyingText drop constraint FK522D90C79682414B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MODIFYINGTEXT" not found; SQL statement:
-alter table DescriptionElementBase_ModifyingText drop constraint FK522D90C73B8BB609 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_MODIFYINGTEXT_AUD" not found; SQL statement:
-alter table DescriptionElementBase_ModifyingText_AUD drop constraint FK6C06031834869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table DescriptionElementBase_OriginalSourceBase drop constraint FKF41ADEEBA6473CCC [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table DescriptionElementBase_OriginalSourceBase drop constraint FKF41ADEEB3B8BB609 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table DescriptionElementBase_OriginalSourceBase_AUD drop constraint FK9C979F3C34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_STATEDATA" not found; SQL statement:
-alter table DescriptionElementBase_StateData drop constraint FK592D6F6D8E7BF9AB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_STATEDATA" not found; SQL statement:
-alter table DescriptionElementBase_StateData drop constraint FK592D6F6D987CC6A4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_STATEDATA_AUD" not found; SQL statement:
-alter table DescriptionElementBase_StateData_AUD drop constraint FK1D0A1EBE34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_STATISTICALMEASUREMENTVALUE" not found; SQL statement:
-alter table DescriptionElementBase_StatisticalMeasurementValue drop constraint FK8AF511C2D883945E [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_STATISTICALMEASUREMENTVALUE" not found; SQL statement:
-alter table DescriptionElementBase_StatisticalMeasurementValue drop constraint FK8AF511C28F213219 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DESCRIPTIONELEMENTBASE_STATISTICALMEASUREMENTVALUE_AUD" not found; SQL statement:
-alter table DescriptionElementBase_StatisticalMeasurementValue_AUD drop constraint FK2DE8E9334869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT" not found; SQL statement:
-alter table DeterminationEvent drop constraint FK1DB24974FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT" not found; SQL statement:
-alter table DeterminationEvent drop constraint FK1DB2497BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT" not found; SQL statement:
-alter table DeterminationEvent drop constraint FK1DB24973DA462D5 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT" not found; SQL statement:
-alter table DeterminationEvent drop constraint FK1DB24974B251DAD [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT" not found; SQL statement:
-alter table DeterminationEvent drop constraint FK1DB2497BD54CF92 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT" not found; SQL statement:
-alter table DeterminationEvent drop constraint FK1DB2497AEC8CCAA [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_AUD" not found; SQL statement:
-alter table DeterminationEvent_AUD drop constraint FKA0252EE834869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_ANNOTATION" not found; SQL statement:
-alter table DeterminationEvent_Annotation drop constraint FKB74F03F71E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_ANNOTATION" not found; SQL statement:
-alter table DeterminationEvent_Annotation drop constraint FKB74F03F76BE0BFDA [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_ANNOTATION_AUD" not found; SQL statement:
-alter table DeterminationEvent_Annotation_AUD drop constraint FKAFDA5E4834869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_MARKER" not found; SQL statement:
-alter table DeterminationEvent_Marker drop constraint FK5C475102777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_MARKER" not found; SQL statement:
-alter table DeterminationEvent_Marker drop constraint FK5C4751026BE0BFDA [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_MARKER_AUD" not found; SQL statement:
-alter table DeterminationEvent_Marker_AUD drop constraint FK567F2DD334869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_REFERENCE" not found; SQL statement:
-alter table DeterminationEvent_Reference drop constraint FK8FB1ED8355A53F64 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_REFERENCE" not found; SQL statement:
-alter table DeterminationEvent_Reference drop constraint FK8FB1ED836BE0BFDA [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "DETERMINATIONEVENT_REFERENCE_AUD" not found; SQL statement:
-alter table DeterminationEvent_Reference_AUD drop constraint FK6255A1D434869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "EXTENSION" not found; SQL statement:
-alter table Extension drop constraint FK52EF3C1F4FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "EXTENSION" not found; SQL statement:
-alter table Extension drop constraint FK52EF3C1FBC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "EXTENSION" not found; SQL statement:
-alter table Extension drop constraint FK52EF3C1FAD392BD3 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "EXTENSION_AUD" not found; SQL statement:
-alter table Extension_AUD drop constraint FK92D2427034869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE" not found; SQL statement:
-alter table FeatureNode drop constraint FK4CEED9F84FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE" not found; SQL statement:
-alter table FeatureNode drop constraint FK4CEED9F8BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE" not found; SQL statement:
-alter table FeatureNode drop constraint FK4CEED9F84220AFEB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE" not found; SQL statement:
-alter table FeatureNode drop constraint FK4CEED9F847C496CB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE" not found; SQL statement:
-alter table FeatureNode drop constraint FK4CEED9F8E0AD2C59 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE_AUD" not found; SQL statement:
-alter table FeatureNode_AUD drop constraint FK25AD4BC934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE_DEFINEDTERMBASE_INAPPLICABLEIF" not found; SQL statement:
-alter table FeatureNode_DefinedTermBase_InapplicableIf drop constraint FK56833D011128E63B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE_DEFINEDTERMBASE_INAPPLICABLEIF" not found; SQL statement:
-alter table FeatureNode_DefinedTermBase_InapplicableIf drop constraint FK56833D0152FCC4B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE_DEFINEDTERMBASE_INAPPLICABLEIF_AUD" not found; SQL statement:
-alter table FeatureNode_DefinedTermBase_InapplicableIf_AUD drop constraint FKB8D7025234869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE_DEFINEDTERMBASE_ONLYAPPLICABLE" not found; SQL statement:
-alter table FeatureNode_DefinedTermBase_OnlyApplicable drop constraint FK6AE876AB57FA94D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE_DEFINEDTERMBASE_ONLYAPPLICABLE" not found; SQL statement:
-alter table FeatureNode_DefinedTermBase_OnlyApplicable drop constraint FK6AE876AB52FCC4B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURENODE_DEFINEDTERMBASE_ONLYAPPLICABLE_AUD" not found; SQL statement:
-alter table FeatureNode_DefinedTermBase_OnlyApplicable_AUD drop constraint FK3F5356FC34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE" not found; SQL statement:
-alter table FeatureTree drop constraint FK4CF19F944FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE" not found; SQL statement:
-alter table FeatureTree drop constraint FK4CF19F94BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE" not found; SQL statement:
-alter table FeatureTree drop constraint FK4CF19F94B7892921 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_AUD" not found; SQL statement:
-alter table FeatureTree_AUD drop constraint FK355BE36534869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_ANNOTATION" not found; SQL statement:
-alter table FeatureTree_Annotation drop constraint FK5D8B8DA1E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_ANNOTATION" not found; SQL statement:
-alter table FeatureTree_Annotation drop constraint FK5D8B8DA47C496CB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_ANNOTATION_AUD" not found; SQL statement:
-alter table FeatureTree_Annotation_AUD drop constraint FK86E8E9AB34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_CREDIT" not found; SQL statement:
-alter table FeatureTree_Credit drop constraint FK7536062432D1B9F [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_CREDIT" not found; SQL statement:
-alter table FeatureTree_Credit drop constraint FK7536062447C496CB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_CREDIT_AUD" not found; SQL statement:
-alter table FeatureTree_Credit_AUD drop constraint FK40EA81F534869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_EXTENSION" not found; SQL statement:
-alter table FeatureTree_Extension drop constraint FKAD1E6D34927DE9DF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_EXTENSION" not found; SQL statement:
-alter table FeatureTree_Extension drop constraint FKAD1E6D3447C496CB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_EXTENSION_AUD" not found; SQL statement:
-alter table FeatureTree_Extension_AUD drop constraint FKF128E10534869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_MARKER" not found; SQL statement:
-alter table FeatureTree_Marker drop constraint FK855CEF65777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_MARKER" not found; SQL statement:
-alter table FeatureTree_Marker drop constraint FK855CEF6547C496CB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_MARKER_AUD" not found; SQL statement:
-alter table FeatureTree_Marker_AUD drop constraint FKA508E2B634869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table FeatureTree_OriginalSourceBase drop constraint FK13BD64E83A6735D9 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table FeatureTree_OriginalSourceBase drop constraint FK13BD64E847C496CB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table FeatureTree_OriginalSourceBase_AUD drop constraint FK7B5CDEB934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_REPRESENTATION" not found; SQL statement:
-alter table FeatureTree_Representation drop constraint FK8C458F8B31C4747 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_REPRESENTATION" not found; SQL statement:
-alter table FeatureTree_Representation drop constraint FK8C458F847C496CB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_REPRESENTATION_AUD" not found; SQL statement:
-alter table FeatureTree_Representation_AUD drop constraint FKECAB4AC934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_RIGHTSINFO" not found; SQL statement:
-alter table FeatureTree_RightsInfo drop constraint FK10D964D0C13F7B21 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_RIGHTSINFO" not found; SQL statement:
-alter table FeatureTree_RightsInfo drop constraint FK10D964D047C496CB [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "FEATURETREE_RIGHTSINFO_AUD" not found; SQL statement:
-alter table FeatureTree_RightsInfo_AUD drop constraint FK8926AAA134869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT" not found; SQL statement:
-alter table GatheringEvent drop constraint FK6F1286F34FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT" not found; SQL statement:
-alter table GatheringEvent drop constraint FK6F1286F3BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT" not found; SQL statement:
-alter table GatheringEvent drop constraint FK6F1286F33DA462D5 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT" not found; SQL statement:
-alter table GatheringEvent drop constraint FK6F1286F3C15704E [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT" not found; SQL statement:
-alter table GatheringEvent drop constraint FK6F1286F3F55AFD89 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT" not found; SQL statement:
-alter table GatheringEvent drop constraint FK6F1286F38B455EC6 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_AUD" not found; SQL statement:
-alter table GatheringEvent_AUD drop constraint FK3EC034434869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_ANNOTATION" not found; SQL statement:
-alter table GatheringEvent_Annotation drop constraint FK76DDD01B1E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_ANNOTATION" not found; SQL statement:
-alter table GatheringEvent_Annotation drop constraint FK76DDD01BF95F225A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_ANNOTATION_AUD" not found; SQL statement:
-alter table GatheringEvent_Annotation_AUD drop constraint FK351E786C34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_DEFINEDTERMBASE" not found; SQL statement:
-alter table GatheringEvent_DefinedTermBase drop constraint FK69D9A11A7C34B6D6 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_DEFINEDTERMBASE" not found; SQL statement:
-alter table GatheringEvent_DefinedTermBase drop constraint FK69D9A11AF95F225A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_DEFINEDTERMBASE_AUD" not found; SQL statement:
-alter table GatheringEvent_DefinedTermBase_AUD drop constraint FKB3BBB1EB34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_MARKER" not found; SQL statement:
-alter table GatheringEvent_Marker drop constraint FK7B49CF26777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_MARKER" not found; SQL statement:
-alter table GatheringEvent_Marker drop constraint FK7B49CF26F95F225A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GATHERINGEVENT_MARKER_AUD" not found; SQL statement:
-alter table GatheringEvent_Marker_AUD drop constraint FK160DF9F734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "GRANTEDAUTHORITYIMPL" not found; SQL statement:
-alter table GrantedAuthorityImpl drop constraint FKB05CF9284FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HOMOTYPICALGROUP" not found; SQL statement:
-alter table HomotypicalGroup drop constraint FK7DECCC184FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HOMOTYPICALGROUP" not found; SQL statement:
-alter table HomotypicalGroup drop constraint FK7DECCC18BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HOMOTYPICALGROUP_AUD" not found; SQL statement:
-alter table HomotypicalGroup_AUD drop constraint FKE4252DE934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HOMOTYPICALGROUP_ANNOTATION" not found; SQL statement:
-alter table HomotypicalGroup_Annotation drop constraint FK7A0351D61E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HOMOTYPICALGROUP_ANNOTATION" not found; SQL statement:
-alter table HomotypicalGroup_Annotation drop constraint FK7A0351D6BFEAE500 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HOMOTYPICALGROUP_ANNOTATION_AUD" not found; SQL statement:
-alter table HomotypicalGroup_Annotation_AUD drop constraint FK41E6A4A734869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HOMOTYPICALGROUP_MARKER" not found; SQL statement:
-alter table HomotypicalGroup_Marker drop constraint FK97D36661777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HOMOTYPICALGROUP_MARKER" not found; SQL statement:
-alter table HomotypicalGroup_Marker drop constraint FK97D36661BFEAE500 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HOMOTYPICALGROUP_MARKER_AUD" not found; SQL statement:
-alter table HomotypicalGroup_Marker_AUD drop constraint FK19337BB234869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP" not found; SQL statement:
-alter table HybridRelationship drop constraint FK9033CE744FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP" not found; SQL statement:
-alter table HybridRelationship drop constraint FK9033CE74BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP" not found; SQL statement:
-alter table HybridRelationship drop constraint FK9033CE74AEB7F3BE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP" not found; SQL statement:
-alter table HybridRelationship drop constraint FK9033CE749DD57A93 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP" not found; SQL statement:
-alter table HybridRelationship drop constraint FK9033CE74AF4F9F62 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP" not found; SQL statement:
-alter table HybridRelationship drop constraint FK9033CE7455F241D4 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP_AUD" not found; SQL statement:
-alter table HybridRelationship_AUD drop constraint FK9C2BA24534869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP_ANNOTATION" not found; SQL statement:
-alter table HybridRelationship_Annotation drop constraint FK2C7E7DFA1E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP_ANNOTATION" not found; SQL statement:
-alter table HybridRelationship_Annotation drop constraint FK2C7E7DFA59832240 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP_ANNOTATION_AUD" not found; SQL statement:
-alter table HybridRelationship_Annotation_AUD drop constraint FKACE71ECB34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP_MARKER" not found; SQL statement:
-alter table HybridRelationship_Marker drop constraint FKCEF24485777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP_MARKER" not found; SQL statement:
-alter table HybridRelationship_Marker drop constraint FKCEF2448559832240 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "HYBRIDRELATIONSHIP_MARKER_AUD" not found; SQL statement:
-alter table HybridRelationship_Marker_AUD drop constraint FKCBAEA7D634869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "INDIVIDUALASSOCIATION_LANGUAGESTRING" not found; SQL statement:
-alter table IndividualAssociation_LanguageString drop constraint FKB5C75EC02BEBA58D [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "INDIVIDUALASSOCIATION_LANGUAGESTRING" not found; SQL statement:
-alter table IndividualAssociation_LanguageString drop constraint FKB5C75EC028459272 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "INDIVIDUALASSOCIATION_LANGUAGESTRING" not found; SQL statement:
-alter table IndividualAssociation_LanguageString drop constraint FKB5C75EC084FF3EDF [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "INDIVIDUALASSOCIATION_LANGUAGESTRING_AUD" not found; SQL statement:
-alter table IndividualAssociation_LanguageString_AUD drop constraint FKB1A62C9134869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "INSTITUTIONALMEMBERSHIP" not found; SQL statement:
-alter table InstitutionalMembership drop constraint FK3C8E1FF94FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "INSTITUTIONALMEMBERSHIP" not found; SQL statement:
-alter table InstitutionalMembership drop constraint FK3C8E1FF9BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "INSTITUTIONALMEMBERSHIP" not found; SQL statement:
-alter table InstitutionalMembership drop constraint FK3C8E1FF916B9CA77 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "INSTITUTIONALMEMBERSHIP" not found; SQL statement:
-alter table InstitutionalMembership drop constraint FK3C8E1FF9AAC1B820 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "INSTITUTIONALMEMBERSHIP_AUD" not found; SQL statement:
-alter table InstitutionalMembership_AUD drop constraint FK847A94A34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "KEYSTATEMENT" not found; SQL statement:
-alter table KeyStatement drop constraint FK7125B9F04FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "KEYSTATEMENT" not found; SQL statement:
-alter table KeyStatement drop constraint FK7125B9F0BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "KEYSTATEMENT_AUD" not found; SQL statement:
-alter table KeyStatement_AUD drop constraint FK93036FC134869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "KEYSTATEMENT_LANGUAGESTRING" not found; SQL statement:
-alter table KeyStatement_LanguageString drop constraint FK70BB5FD89C782795 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "KEYSTATEMENT_LANGUAGESTRING" not found; SQL statement:
-alter table KeyStatement_LanguageString drop constraint FK70BB5FD8DA0C376A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "KEYSTATEMENT_LANGUAGESTRING" not found; SQL statement:
-alter table KeyStatement_LanguageString drop constraint FK70BB5FD8AAA67049 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "KEYSTATEMENT_LANGUAGESTRING_AUD" not found; SQL statement:
-alter table KeyStatement_LanguageString_AUD drop constraint FKE203E1A934869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LSIDAUTHORITY" not found; SQL statement:
-alter table LSIDAuthority drop constraint FK759DB8814FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LSIDAUTHORITY_NAMESPACES" not found; SQL statement:
-alter table LSIDAuthority_namespaces drop constraint FKB04948F64FFCFD94 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING" not found; SQL statement:
-alter table LanguageString drop constraint FKB5FDC9A94FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING" not found; SQL statement:
-alter table LanguageString drop constraint FKB5FDC9A9BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING" not found; SQL statement:
-alter table LanguageString drop constraint FKB5FDC9A9E8D36B00 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING_AUD" not found; SQL statement:
-alter table LanguageString_AUD drop constraint FK896AFAFA34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING_ANNOTATION" not found; SQL statement:
-alter table LanguageString_Annotation drop constraint FK8400DFA51E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING_ANNOTATION" not found; SQL statement:
-alter table LanguageString_Annotation drop constraint FK8400DFA537998500 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING_ANNOTATION_AUD" not found; SQL statement:
-alter table LanguageString_Annotation_AUD drop constraint FKD3BAB2F634869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING_MARKER" not found; SQL statement:
-alter table LanguageString_Marker drop constraint FK8DA633B0777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING_MARKER" not found; SQL statement:
-alter table LanguageString_Marker drop constraint FK8DA633B037998500 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "LANGUAGESTRING_MARKER_AUD" not found; SQL statement:
-alter table LanguageString_Marker_AUD drop constraint FK2331098134869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MARKER" not found; SQL statement:
-alter table Marker drop constraint FK88F1805A4FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MARKER" not found; SQL statement:
-alter table Marker drop constraint FK88F1805ABC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MARKER" not found; SQL statement:
-alter table Marker drop constraint FK88F1805AD64DC020 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MARKER_AUD" not found; SQL statement:
-alter table Marker_AUD drop constraint FKB951F12B34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT" not found; SQL statement:
-alter table MaterialOrMethodEvent drop constraint FK458A264F4FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT" not found; SQL statement:
-alter table MaterialOrMethodEvent drop constraint FK458A264FBC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT" not found; SQL statement:
-alter table MaterialOrMethodEvent drop constraint FK458A264F3DA462D5 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT" not found; SQL statement:
-alter table MaterialOrMethodEvent drop constraint FK458A264F14D2C695 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT" not found; SQL statement:
-alter table MaterialOrMethodEvent drop constraint FK458A264F3781DA30 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT" not found; SQL statement:
-alter table MaterialOrMethodEvent drop constraint FK458A264F1600EAB3 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT" not found; SQL statement:
-alter table MaterialOrMethodEvent drop constraint FK458A264F9A129634 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT_AUD" not found; SQL statement:
-alter table MaterialOrMethodEvent_AUD drop constraint FK8C8C94A034869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT_ANNOTATION" not found; SQL statement:
-alter table MaterialOrMethodEvent_Annotation drop constraint FKD9943F3F1E403E0B [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT_ANNOTATION" not found; SQL statement:
-alter table MaterialOrMethodEvent_Annotation drop constraint FKD9943F3F2F50355A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT_ANNOTATION_AUD" not found; SQL statement:
-alter table MaterialOrMethodEvent_Annotation_AUD drop constraint FK6B00B59034869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT_MARKER" not found; SQL statement:
-alter table MaterialOrMethodEvent_Marker drop constraint FKF0BD704A777265A1 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT_MARKER" not found; SQL statement:
-alter table MaterialOrMethodEvent_Marker drop constraint FKF0BD704A2F50355A [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MATERIALORMETHODEVENT_MARKER_AUD" not found; SQL statement:
-alter table MaterialOrMethodEvent_Marker_AUD drop constraint FK78C4691B34869AAE [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA" not found; SQL statement:
-alter table Media drop constraint FK46C7FC44FF2DB2C [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA" not found; SQL statement:
-alter table Media drop constraint FK46C7FC4BC5DA539 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA" not found; SQL statement:
-alter table Media drop constraint FK46C7FC4C2445443 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAKEY_NAMEDAREA" not found; SQL statement:
-alter table MediaKey_NamedArea drop constraint FK31E7D4023FF8E7B2 [42102-170]
-10-09 16:14:55 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAKEY_NAMEDAREA" not found; SQL statement:
-alter table MediaKey_NamedArea drop constraint FK31E7D402BE59D760 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAKEY_NAMEDAREA_AUD" not found; SQL statement:
-alter table MediaKey_NamedArea_AUD drop constraint FK922630D334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAKEY_SCOPE" not found; SQL statement:
-alter table MediaKey_Scope drop constraint FKBFFEE8F05431B96E [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAKEY_SCOPE" not found; SQL statement:
-alter table MediaKey_Scope drop constraint FKBFFEE8F0BE59D760 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAKEY_SCOPE_AUD" not found; SQL statement:
-alter table MediaKey_Scope_AUD drop constraint FK63AD1EC134869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAKEY_TAXON" not found; SQL statement:
-alter table MediaKey_Taxon drop constraint FKC00C3966DE9A3E39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAKEY_TAXON" not found; SQL statement:
-alter table MediaKey_Taxon drop constraint FKC00C3966815C7E9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAKEY_TAXON_AUD" not found; SQL statement:
-alter table MediaKey_Taxon_AUD drop constraint FK311443734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAREPRESENTATION" not found; SQL statement:
-alter table MediaRepresentation drop constraint FK1966BDB14FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAREPRESENTATION" not found; SQL statement:
-alter table MediaRepresentation drop constraint FK1966BDB1BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAREPRESENTATION" not found; SQL statement:
-alter table MediaRepresentation drop constraint FK1966BDB1C2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAREPRESENTATIONPART" not found; SQL statement:
-alter table MediaRepresentationPart drop constraint FK67A455444FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAREPRESENTATIONPART" not found; SQL statement:
-alter table MediaRepresentationPart drop constraint FK67A45544BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAREPRESENTATIONPART" not found; SQL statement:
-alter table MediaRepresentationPart drop constraint FK67A45544E3818E37 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAREPRESENTATIONPART_AUD" not found; SQL statement:
-alter table MediaRepresentationPart_AUD drop constraint FKA75C411534869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAREPRESENTATION_AUD" not found; SQL statement:
-alter table MediaRepresentation_AUD drop constraint FK67AAAB0234869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIAREPRESENTATION_MEDIAREPRESENTATIONPART_AUD" not found; SQL statement:
-alter table MediaRepresentation_MediaRepresentationPart_AUD drop constraint FK3544378734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_AUD" not found; SQL statement:
-alter table Media_AUD drop constraint FKF70B2B9534869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_ANNOTATION" not found; SQL statement:
-alter table Media_Annotation drop constraint FKA020DAAA1E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_ANNOTATION" not found; SQL statement:
-alter table Media_Annotation drop constraint FKA020DAAAC2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_ANNOTATION_AUD" not found; SQL statement:
-alter table Media_Annotation_AUD drop constraint FK99ABA37B34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_CREDIT" not found; SQL statement:
-alter table Media_Credit drop constraint FKC1F78FF432D1B9F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_CREDIT" not found; SQL statement:
-alter table Media_Credit drop constraint FKC1F78FF4C2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_CREDIT_AUD" not found; SQL statement:
-alter table Media_Credit_AUD drop constraint FKDB32A3C534869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_DESCRIPTION" not found; SQL statement:
-alter table Media_Description drop constraint FK368283E12BEBA58D [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_DESCRIPTION" not found; SQL statement:
-alter table Media_Description drop constraint FK368283E128459272 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_DESCRIPTION" not found; SQL statement:
-alter table Media_Description drop constraint FK368283E1C2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_DESCRIPTION_AUD" not found; SQL statement:
-alter table Media_Description_AUD drop constraint FK6817D93234869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_EXTENSION" not found; SQL statement:
-alter table Media_Extension drop constraint FKDB62D164927DE9DF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_EXTENSION" not found; SQL statement:
-alter table Media_Extension drop constraint FKDB62D164C2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_EXTENSION_AUD" not found; SQL statement:
-alter table Media_Extension_AUD drop constraint FKE13FAD3534869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_LANGUAGESTRING" not found; SQL statement:
-alter table Media_LanguageString drop constraint FK353DB784A1CA19B1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_LANGUAGESTRING" not found; SQL statement:
-alter table Media_LanguageString drop constraint FK353DB784A0A6EDCE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_LANGUAGESTRING" not found; SQL statement:
-alter table Media_LanguageString drop constraint FK353DB784C2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_LANGUAGESTRING_AUD" not found; SQL statement:
-alter table Media_LanguageString_AUD drop constraint FK68FA835534869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_MARKER" not found; SQL statement:
-alter table Media_Marker drop constraint FKD21E7935777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_MARKER" not found; SQL statement:
-alter table Media_Marker drop constraint FKD21E7935C2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_MARKER_AUD" not found; SQL statement:
-alter table Media_Marker_AUD drop constraint FK3F51048634869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table Media_OriginalSourceBase drop constraint FK2FEEB6B83A6735D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table Media_OriginalSourceBase drop constraint FK2FEEB6B8C2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table Media_OriginalSourceBase_AUD drop constraint FK97F0C88934869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_REPRESENTATION" not found; SQL statement:
-alter table Media_Representation drop constraint FK1B8712C88F6CABE6 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_REPRESENTATION" not found; SQL statement:
-alter table Media_Representation drop constraint FK1B8712C8BE59D760 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_REPRESENTATION_AUD" not found; SQL statement:
-alter table Media_Representation_AUD drop constraint FK8DC9C9934869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_RIGHTSINFO" not found; SQL statement:
-alter table Media_RightsInfo drop constraint FKAB2186A0C13F7B21 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_RIGHTSINFO" not found; SQL statement:
-alter table Media_RightsInfo drop constraint FKAB2186A0C2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_RIGHTSINFO_AUD" not found; SQL statement:
-alter table Media_RightsInfo_AUD drop constraint FK9BE9647134869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_SEQUENCE" not found; SQL statement:
-alter table Media_Sequence drop constraint FK61D09FCF29B4761 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_SEQUENCE" not found; SQL statement:
-alter table Media_Sequence drop constraint FK61D09FC3282B64 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_SEQUENCE_AUD" not found; SQL statement:
-alter table Media_Sequence_AUD drop constraint FK3C7BD9CD34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_TAXONBASE" not found; SQL statement:
-alter table Media_TaxonBase drop constraint FK1ABD49E07C3D0017 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_TAXONBASE" not found; SQL statement:
-alter table Media_TaxonBase drop constraint FK1ABD49E0BE59D760 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MEDIA_TAXONBASE_AUD" not found; SQL statement:
-alter table Media_TaxonBase_AUD drop constraint FK857187B134869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MULTIACCESSKEY_NAMEDAREA" not found; SQL statement:
-alter table MultiAccessKey_NamedArea drop constraint FK1F5A74893FF8E7B2 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MULTIACCESSKEY_NAMEDAREA" not found; SQL statement:
-alter table MultiAccessKey_NamedArea drop constraint FK1F5A7489B4555A9A [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MULTIACCESSKEY_NAMEDAREA_AUD" not found; SQL statement:
-alter table MultiAccessKey_NamedArea_AUD drop constraint FK4CB735DA34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MULTIACCESSKEY_SCOPE" not found; SQL statement:
-alter table MultiAccessKey_Scope drop constraint FKCC6CE4F75431B96E [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MULTIACCESSKEY_SCOPE" not found; SQL statement:
-alter table MultiAccessKey_Scope drop constraint FKCC6CE4F7B4555A9A [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MULTIACCESSKEY_SCOPE_AUD" not found; SQL statement:
-alter table MultiAccessKey_Scope_AUD drop constraint FK511FBF4834869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MULTIACCESSKEY_TAXON" not found; SQL statement:
-alter table MultiAccessKey_Taxon drop constraint FKCC7A356DDE9A3E39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MULTIACCESSKEY_TAXON" not found; SQL statement:
-alter table MultiAccessKey_Taxon drop constraint FKCC7A356DB64A7B29 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "MULTIACCESSKEY_TAXON_AUD" not found; SQL statement:
-alter table MultiAccessKey_Taxon_AUD drop constraint FKF083E4BE34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP" not found; SQL statement:
-alter table NameRelationship drop constraint FK5E510834FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP" not found; SQL statement:
-alter table NameRelationship drop constraint FK5E51083BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP" not found; SQL statement:
-alter table NameRelationship drop constraint FK5E51083AEB7F3BE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP" not found; SQL statement:
-alter table NameRelationship drop constraint FK5E5108316CDFF85 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP" not found; SQL statement:
-alter table NameRelationship drop constraint FK5E5108328482454 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP" not found; SQL statement:
-alter table NameRelationship drop constraint FK5E51083AF619DE3 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP_AUD" not found; SQL statement:
-alter table NameRelationship_AUD drop constraint FK743F44D434869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP_ANNOTATION" not found; SQL statement:
-alter table NameRelationship_Annotation drop constraint FK2E38AC8B1E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP_ANNOTATION" not found; SQL statement:
-alter table NameRelationship_Annotation drop constraint FK2E38AC8B7B4CB560 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP_ANNOTATION_AUD" not found; SQL statement:
-alter table NameRelationship_Annotation_AUD drop constraint FKD1D59CDC34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP_MARKER" not found; SQL statement:
-alter table NameRelationship_Marker drop constraint FKE3E46396777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP_MARKER" not found; SQL statement:
-alter table NameRelationship_Marker drop constraint FKE3E463967B4CB560 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NAMERELATIONSHIP_MARKER_AUD" not found; SQL statement:
-alter table NameRelationship_Marker_AUD drop constraint FKCD68D66734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS" not found; SQL statement:
-alter table NomenclaturalStatus drop constraint FK1FFEC88B4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS" not found; SQL statement:
-alter table NomenclaturalStatus drop constraint FK1FFEC88BBC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS" not found; SQL statement:
-alter table NomenclaturalStatus drop constraint FK1FFEC88BAEB7F3BE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS" not found; SQL statement:
-alter table NomenclaturalStatus drop constraint FK1FFEC88B7029BD9F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS_AUD" not found; SQL statement:
-alter table NomenclaturalStatus_AUD drop constraint FKFB2DB8DC34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS_ANNOTATION" not found; SQL statement:
-alter table NomenclaturalStatus_Annotation drop constraint FKE6E91F831E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS_ANNOTATION" not found; SQL statement:
-alter table NomenclaturalStatus_Annotation drop constraint FKE6E91F838D2CB1D4 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS_ANNOTATION_AUD" not found; SQL statement:
-alter table NomenclaturalStatus_Annotation_AUD drop constraint FK6A3D3D434869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS_MARKER" not found; SQL statement:
-alter table NomenclaturalStatus_Marker drop constraint FK2F5128E777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS_MARKER" not found; SQL statement:
-alter table NomenclaturalStatus_Marker drop constraint FK2F5128E8D2CB1D4 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "NOMENCLATURALSTATUS_MARKER_AUD" not found; SQL statement:
-alter table NomenclaturalStatus_Marker_AUD drop constraint FK8619495F34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE" not found; SQL statement:
-alter table OriginalSourceBase drop constraint FK505F2E5D4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE" not found; SQL statement:
-alter table OriginalSourceBase drop constraint FK505F2E5DBC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE" not found; SQL statement:
-alter table OriginalSourceBase drop constraint FK505F2E5DAEB7F3BE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE" not found; SQL statement:
-alter table OriginalSourceBase drop constraint FK505F2E5D966B96B2 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table OriginalSourceBase_AUD drop constraint FK9662E5AE34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE_ANNOTATION" not found; SQL statement:
-alter table OriginalSourceBase_Annotation drop constraint FK208142711E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE_ANNOTATION" not found; SQL statement:
-alter table OriginalSourceBase_Annotation drop constraint FK20814271B029DDA0 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE_ANNOTATION_AUD" not found; SQL statement:
-alter table OriginalSourceBase_Annotation_AUD drop constraint FKA074CFC234869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE_MARKER" not found; SQL statement:
-alter table OriginalSourceBase_Marker drop constraint FKB3FFDC7C777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE_MARKER" not found; SQL statement:
-alter table OriginalSourceBase_Marker drop constraint FKB3FFDC7CB029DDA0 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "ORIGINALSOURCEBASE_MARKER_AUD" not found; SQL statement:
-alter table OriginalSourceBase_Marker_AUD drop constraint FKBFB16C4D34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PERMISSIONGROUP" not found; SQL statement:
-alter table PermissionGroup drop constraint FK629941D04FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PERMISSIONGROUP_GRANTEDAUTHORITYIMPL" not found; SQL statement:
-alter table PermissionGroup_GrantedAuthorityImpl drop constraint FK53114371857F6C2 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PERMISSIONGROUP_GRANTEDAUTHORITYIMPL" not found; SQL statement:
-alter table PermissionGroup_GrantedAuthorityImpl drop constraint FK5311437CA0971A3 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY" not found; SQL statement:
-alter table PolytomousKey drop constraint FKA9E6B1384FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY" not found; SQL statement:
-alter table PolytomousKey drop constraint FKA9E6B138BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY" not found; SQL statement:
-alter table PolytomousKey drop constraint FKA9E6B138576595C3 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775A4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775ABC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775A4220AFEB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775AC73A7584 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775A4FEE4393 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775A808998FB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775A9D3C2E93 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775A4382686A [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775A1C0483C4 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE" not found; SQL statement:
-alter table PolytomousKeyNode drop constraint FK860775ADE9A3E39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE_AUD" not found; SQL statement:
-alter table PolytomousKeyNode_AUD drop constraint FK6A6D682B34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE_LANGUAGESTRING" not found; SQL statement:
-alter table PolytomousKeyNode_LanguageString drop constraint FK5574E12EF05D08D4 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE_LANGUAGESTRING" not found; SQL statement:
-alter table PolytomousKeyNode_LanguageString drop constraint FK5574E12E9682414B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE_LANGUAGESTRING" not found; SQL statement:
-alter table PolytomousKeyNode_LanguageString drop constraint FK5574E12EF135C42B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEYNODE_LANGUAGESTRING_AUD" not found; SQL statement:
-alter table PolytomousKeyNode_LanguageString_AUD drop constraint FKE0D0C7FF34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_AUD" not found; SQL statement:
-alter table PolytomousKey_AUD drop constraint FK867830934869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_ANNOTATION" not found; SQL statement:
-alter table PolytomousKey_Annotation drop constraint FK278CF8B61E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_ANNOTATION" not found; SQL statement:
-alter table PolytomousKey_Annotation drop constraint FK278CF8B689D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_ANNOTATION_AUD" not found; SQL statement:
-alter table PolytomousKey_Annotation_AUD drop constraint FK3281DB8734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_CREDIT" not found; SQL statement:
-alter table PolytomousKey_Credit drop constraint FKADC940032D1B9F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_CREDIT" not found; SQL statement:
-alter table PolytomousKey_Credit drop constraint FKADC940089D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_CREDIT_AUD" not found; SQL statement:
-alter table PolytomousKey_Credit_AUD drop constraint FK629EC1D134869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_EXTENSION" not found; SQL statement:
-alter table PolytomousKey_Extension drop constraint FKAE34C1D8927DE9DF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_EXTENSION" not found; SQL statement:
-alter table PolytomousKey_Extension drop constraint FKAE34C1D889D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_EXTENSION_AUD" not found; SQL statement:
-alter table PolytomousKey_Extension_AUD drop constraint FK1FFC43A934869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_MARKER" not found; SQL statement:
-alter table PolytomousKey_Marker drop constraint FK1B037D41777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_MARKER" not found; SQL statement:
-alter table PolytomousKey_Marker drop constraint FK1B037D4189D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_MARKER_AUD" not found; SQL statement:
-alter table PolytomousKey_Marker_AUD drop constraint FKC6BD229234869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_NAMEDAREA" not found; SQL statement:
-alter table PolytomousKey_NamedArea drop constraint FK1C727CFF3FF8E7B2 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_NAMEDAREA" not found; SQL statement:
-alter table PolytomousKey_NamedArea drop constraint FK1C727CFF89D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_NAMEDAREA_AUD" not found; SQL statement:
-alter table PolytomousKey_NamedArea_AUD drop constraint FK750A135034869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table PolytomousKey_OriginalSourceBase drop constraint FK839208C43A6735D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table PolytomousKey_OriginalSourceBase drop constraint FK839208C489D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table PolytomousKey_OriginalSourceBase_AUD drop constraint FKE644349534869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_RIGHTSINFO" not found; SQL statement:
-alter table PolytomousKey_RightsInfo drop constraint FK328DA4ACC13F7B21 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_RIGHTSINFO" not found; SQL statement:
-alter table PolytomousKey_RightsInfo drop constraint FK328DA4AC89D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_RIGHTSINFO_AUD" not found; SQL statement:
-alter table PolytomousKey_RightsInfo_AUD drop constraint FK34BF9C7D34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_SCOPE" not found; SQL statement:
-alter table PolytomousKey_Scope drop constraint FK8D97986D5431B96E [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_SCOPE" not found; SQL statement:
-alter table PolytomousKey_Scope drop constraint FK8D97986D89D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_SCOPE_AUD" not found; SQL statement:
-alter table PolytomousKey_Scope_AUD drop constraint FK4E37C7BE34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_TAXON" not found; SQL statement:
-alter table PolytomousKey_Taxon drop constraint FK8DA4E8E3DE9A3E39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_TAXON" not found; SQL statement:
-alter table PolytomousKey_Taxon drop constraint FK8DA4E8E389D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_TAXONBASE" not found; SQL statement:
-alter table PolytomousKey_TaxonBase drop constraint FKED8F3A547C3D0017 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_TAXONBASE" not found; SQL statement:
-alter table PolytomousKey_TaxonBase drop constraint FKED8F3A5489D97CB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_TAXONBASE_AUD" not found; SQL statement:
-alter table PolytomousKey_TaxonBase_AUD drop constraint FKC42E1E2534869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "POLYTOMOUSKEY_TAXON_AUD" not found; SQL statement:
-alter table PolytomousKey_Taxon_AUD drop constraint FKED9BED3434869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER" not found; SQL statement:
-alter table Primer drop constraint FK8EFB89F34FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER" not found; SQL statement:
-alter table Primer drop constraint FK8EFB89F3BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER" not found; SQL statement:
-alter table Primer drop constraint FK8EFB89F3D0374392 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER" not found; SQL statement:
-alter table Primer drop constraint FK8EFB89F3D57FFDD5 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER_AUD" not found; SQL statement:
-alter table Primer_AUD drop constraint FK319B864434869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER_ANNOTATION" not found; SQL statement:
-alter table Primer_Annotation drop constraint FK9044ED1B1E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER_ANNOTATION" not found; SQL statement:
-alter table Primer_Annotation drop constraint FK9044ED1B48BD1F55 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER_ANNOTATION_AUD" not found; SQL statement:
-alter table Primer_Annotation_AUD drop constraint FKDBAF156C34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER_MARKER" not found; SQL statement:
-alter table Primer_Marker drop constraint FKF6C76C26777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER_MARKER" not found; SQL statement:
-alter table Primer_Marker drop constraint FKF6C76C2648BD1F55 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "PRIMER_MARKER_AUD" not found; SQL statement:
-alter table Primer_Marker_AUD drop constraint FK2F7516F734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE" not found; SQL statement:
-alter table Reference drop constraint FK404D5F2B4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE" not found; SQL statement:
-alter table Reference drop constraint FK404D5F2BBC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE" not found; SQL statement:
-alter table Reference drop constraint FK404D5F2B697665E [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE" not found; SQL statement:
-alter table Reference drop constraint FK404D5F2BAD54327F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE" not found; SQL statement:
-alter table Reference drop constraint FK404D5F2B403E17F4 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE" not found; SQL statement:
-alter table Reference drop constraint FK404D5F2BAEC3B8B8 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_AUD" not found; SQL statement:
-alter table Reference_AUD drop constraint FK8F0FFF7C34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_ANNOTATION" not found; SQL statement:
-alter table Reference_Annotation drop constraint FKFC824E31E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_ANNOTATION" not found; SQL statement:
-alter table Reference_Annotation drop constraint FKFC824E38D0FB4DA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_ANNOTATION_AUD" not found; SQL statement:
-alter table Reference_Annotation_AUD drop constraint FKF3C1293434869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_CREDIT" not found; SQL statement:
-alter table Reference_Credit drop constraint FK5BC6DEAD32D1B9F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_CREDIT" not found; SQL statement:
-alter table Reference_Credit drop constraint FK5BC6DEAD8D0FB4DA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_CREDIT_AUD" not found; SQL statement:
-alter table Reference_Credit_AUD drop constraint FK4AD9EDFE34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_EXTENSION" not found; SQL statement:
-alter table Reference_Extension drop constraint FKDEFCDC0B927DE9DF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_EXTENSION" not found; SQL statement:
-alter table Reference_Extension drop constraint FKDEFCDC0B8D0FB4DA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_EXTENSION_AUD" not found; SQL statement:
-alter table Reference_Extension_AUD drop constraint FK1DF60C5C34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_MARKER" not found; SQL statement:
-alter table Reference_Marker drop constraint FK6BEDC7EE777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_MARKER" not found; SQL statement:
-alter table Reference_Marker drop constraint FK6BEDC7EE8D0FB4DA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_MARKER_AUD" not found; SQL statement:
-alter table Reference_Marker_AUD drop constraint FKAEF84EBF34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_MEDIA" not found; SQL statement:
-alter table Reference_Media drop constraint FKBBEF5B0C2C29593 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_MEDIA" not found; SQL statement:
-alter table Reference_Media drop constraint FKBBEF5B08D0FB4DA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_MEDIA_AUD" not found; SQL statement:
-alter table Reference_Media_AUD drop constraint FK8318CB8134869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table Reference_OriginalSourceBase drop constraint FKD3E8B7F13A6735D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table Reference_OriginalSourceBase drop constraint FKD3E8B7F18D0FB4DA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table Reference_OriginalSourceBase_AUD drop constraint FKC025854234869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_RIGHTSINFO" not found; SQL statement:
-alter table Reference_RightsInfo drop constraint FK1AC8D0D9C13F7B21 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_RIGHTSINFO" not found; SQL statement:
-alter table Reference_RightsInfo drop constraint FK1AC8D0D98D0FB4DA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REFERENCE_RIGHTSINFO_AUD" not found; SQL statement:
-alter table Reference_RightsInfo_AUD drop constraint FKF5FEEA2A34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RELATIONSHIPTERMBASE_INVERSEREPRESENTATION" not found; SQL statement:
-alter table RelationshipTermBase_inverseRepresentation drop constraint FK98592F33473FB677 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RELATIONSHIPTERMBASE_INVERSEREPRESENTATION" not found; SQL statement:
-alter table RelationshipTermBase_inverseRepresentation drop constraint FK98592F33ECEEF4AF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RELATIONSHIPTERMBASE_INVERSEREPRESENTATION_AUD" not found; SQL statement:
-alter table RelationshipTermBase_inverseRepresentation_AUD drop constraint FK5D248B8434869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION" not found; SQL statement:
-alter table Representation drop constraint FK9C4724ED4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION" not found; SQL statement:
-alter table Representation drop constraint FK9C4724EDBC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION" not found; SQL statement:
-alter table Representation drop constraint FK9C4724EDE8D36B00 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION_AUD" not found; SQL statement:
-alter table Representation_AUD drop constraint FK294D143E34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION_ANNOTATION" not found; SQL statement:
-alter table Representation_Annotation drop constraint FK371091E11E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION_ANNOTATION" not found; SQL statement:
-alter table Representation_Annotation drop constraint FK371091E147E8AE60 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION_ANNOTATION_AUD" not found; SQL statement:
-alter table Representation_Annotation_AUD drop constraint FK36EEE73234869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION_MARKER" not found; SQL statement:
-alter table Representation_Marker drop constraint FK560063EC777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION_MARKER" not found; SQL statement:
-alter table Representation_Marker drop constraint FK560063EC47E8AE60 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "REPRESENTATION_MARKER_AUD" not found; SQL statement:
-alter table Representation_Marker_AUD drop constraint FKD640BBBD34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO" not found; SQL statement:
-alter table RightsInfo drop constraint FK252273454FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO" not found; SQL statement:
-alter table RightsInfo drop constraint FK25227345BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO" not found; SQL statement:
-alter table RightsInfo drop constraint FK25227345E8D36B00 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO" not found; SQL statement:
-alter table RightsInfo drop constraint FK25227345F7976FC5 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO" not found; SQL statement:
-alter table RightsInfo drop constraint FK25227345E6D2D338 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO_AUD" not found; SQL statement:
-alter table RightsInfo_AUD drop constraint FK1CA9769634869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO_ANNOTATION" not found; SQL statement:
-alter table RightsInfo_Annotation drop constraint FKECC95C891E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO_ANNOTATION" not found; SQL statement:
-alter table RightsInfo_Annotation drop constraint FKECC95C89EFE62333 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO_ANNOTATION_AUD" not found; SQL statement:
-alter table RightsInfo_Annotation_AUD drop constraint FK78721DDA34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO_MARKER" not found; SQL statement:
-alter table RightsInfo_Marker drop constraint FK81D8C294777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO_MARKER" not found; SQL statement:
-alter table RightsInfo_Marker drop constraint FK81D8C294EFE62333 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "RIGHTSINFO_MARKER_AUD" not found; SQL statement:
-alter table RightsInfo_Marker_AUD drop constraint FK8BF9866534869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE" not found; SQL statement:
-alter table Sequence drop constraint FK544ADBE14FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE" not found; SQL statement:
-alter table Sequence drop constraint FK544ADBE1BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE" not found; SQL statement:
-alter table Sequence drop constraint FK544ADBE19F65E72B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE" not found; SQL statement:
-alter table Sequence drop constraint FK544ADBE16D2CE418 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE" not found; SQL statement:
-alter table Sequence drop constraint FK544ADBE1E671A9DF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_AUD" not found; SQL statement:
-alter table Sequence_AUD drop constraint FK39F4313234869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_ANNOTATION" not found; SQL statement:
-alter table Sequence_Annotation drop constraint FK1010BA6D1E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_ANNOTATION" not found; SQL statement:
-alter table Sequence_Annotation drop constraint FK1010BA6DD57FFDD5 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_ANNOTATION_AUD" not found; SQL statement:
-alter table Sequence_Annotation_AUD drop constraint FKCB4FE9BE34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_MARKER" not found; SQL statement:
-alter table Sequence_Marker drop constraint FK3D22B278777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_MARKER" not found; SQL statement:
-alter table Sequence_Marker drop constraint FK3D22B278D57FFDD5 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_MARKER_AUD" not found; SQL statement:
-alter table Sequence_Marker_AUD drop constraint FKAF40E44934869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_REFERENCE" not found; SQL statement:
-alter table Sequence_Reference drop constraint FK6944904D1DDDC219 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_REFERENCE" not found; SQL statement:
-alter table Sequence_Reference drop constraint FK6944904DD57FFDD5 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_REFERENCE_AUD" not found; SQL statement:
-alter table Sequence_Reference_AUD drop constraint FK18E5CF9E34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_SINGLEREAD" not found; SQL statement:
-alter table Sequence_SingleRead drop constraint FKA334BD3CBBC12E3E [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_SINGLEREAD" not found; SQL statement:
-alter table Sequence_SingleRead drop constraint FKA334BD3CD57FFDD5 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SEQUENCE_SINGLEREAD_AUD" not found; SQL statement:
-alter table Sequence_SingleRead_AUD drop constraint FK5407ED0D34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD" not found; SQL statement:
-alter table SingleRead drop constraint FKAD45CA1E4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD" not found; SQL statement:
-alter table SingleRead drop constraint FKAD45CA1EBC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD" not found; SQL statement:
-alter table SingleRead drop constraint FKAD45CA1E3DA462D5 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD" not found; SQL statement:
-alter table SingleRead drop constraint FKAD45CA1E614CEB1F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD" not found; SQL statement:
-alter table SingleRead drop constraint FKAD45CA1EE0EBCFFE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD" not found; SQL statement:
-alter table SingleRead drop constraint FKAD45CA1E55DDFE96 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD" not found; SQL statement:
-alter table SingleRead drop constraint FKAD45CA1E48BD1F55 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD_AUD" not found; SQL statement:
-alter table SingleRead_AUD drop constraint FKA323B8EF34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD_ANNOTATION" not found; SQL statement:
-alter table SingleRead_Annotation drop constraint FK33E974101E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD_ANNOTATION" not found; SQL statement:
-alter table SingleRead_Annotation drop constraint FK33E974103A5A5E15 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD_ANNOTATION_AUD" not found; SQL statement:
-alter table SingleRead_Annotation_AUD drop constraint FK7B1D19E134869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD_MARKER" not found; SQL statement:
-alter table SingleRead_Marker drop constraint FKCF47B59B777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD_MARKER" not found; SQL statement:
-alter table SingleRead_Marker drop constraint FKCF47B59B3A5A5E15 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SINGLEREAD_MARKER_AUD" not found; SQL statement:
-alter table SingleRead_Marker_AUD drop constraint FKD3199DEC34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA32724FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA3272BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA3272F53E6AFA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA32728C35BD07 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA3272E35D77A3 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA3272EB62BE9A [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA3272156CF96 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA3272C8505DB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA32727CC340C5 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA32724FF2F98B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA3272F95F225A [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase drop constraint FK21CA3272DADF76EA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_AUD drop constraint FKF3D3D74334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_ANNOTATION" not found; SQL statement:
-alter table SpecimenOrObservationBase_Annotation drop constraint FK365E4F3C1E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_ANNOTATION" not found; SQL statement:
-alter table SpecimenOrObservationBase_Annotation drop constraint FK365E4F3C3B8A5ABA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_ANNOTATION_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_Annotation_AUD drop constraint FK34187F0D34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_CREDIT" not found; SQL statement:
-alter table SpecimenOrObservationBase_Credit drop constraint FK7E3A1D8632D1B9F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_CREDIT" not found; SQL statement:
-alter table SpecimenOrObservationBase_Credit drop constraint FK7E3A1D863B8A5ABA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_CREDIT_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_Credit_AUD drop constraint FK7170185734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT" not found; SQL statement:
-alter table SpecimenOrObservationBase_DerivationEvent drop constraint FK20132036BD59A1AD [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT" not found; SQL statement:
-alter table SpecimenOrObservationBase_DerivationEvent drop constraint FK2013203654C216AA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_DERIVATIONEVENT_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_DerivationEvent_AUD drop constraint FKA4A8430734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_EXTENSION" not found; SQL statement:
-alter table SpecimenOrObservationBase_Extension drop constraint FKE03B8292927DE9DF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_EXTENSION" not found; SQL statement:
-alter table SpecimenOrObservationBase_Extension drop constraint FKE03B82923B8A5ABA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_EXTENSION_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_Extension_AUD drop constraint FK7AE0176334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_LANGUAGESTRING" not found; SQL statement:
-alter table SpecimenOrObservationBase_LanguageString drop constraint FKCFAA9316CD55E0D6 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_LANGUAGESTRING" not found; SQL statement:
-alter table SpecimenOrObservationBase_LanguageString drop constraint FKCFAA93168028C309 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_LANGUAGESTRING" not found; SQL statement:
-alter table SpecimenOrObservationBase_LanguageString drop constraint FKCFAA93163B8A5ABA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_LANGUAGESTRING_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_LanguageString_AUD drop constraint FK38B45E734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_MARKER" not found; SQL statement:
-alter table SpecimenOrObservationBase_Marker drop constraint FK8E6106C7777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_MARKER" not found; SQL statement:
-alter table SpecimenOrObservationBase_Marker drop constraint FK8E6106C73B8A5ABA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_MARKER_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_Marker_AUD drop constraint FKD58E791834869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase_OriginalSourceBase drop constraint FKCA7F794A3A6735D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table SpecimenOrObservationBase_OriginalSourceBase drop constraint FKCA7F794A3B8A5ABA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_OriginalSourceBase_AUD drop constraint FK2059F21B34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_RIGHTSINFO" not found; SQL statement:
-alter table SpecimenOrObservationBase_RightsInfo drop constraint FK415EFB32C13F7B21 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_RIGHTSINFO" not found; SQL statement:
-alter table SpecimenOrObservationBase_RightsInfo drop constraint FK415EFB323B8A5ABA [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_RIGHTSINFO_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_RightsInfo_AUD drop constraint FK3656400334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_SEQUENCE" not found; SQL statement:
-alter table SpecimenOrObservationBase_Sequence drop constraint FKBBF27B0E35B10F24 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_SEQUENCE" not found; SQL statement:
-alter table SpecimenOrObservationBase_Sequence drop constraint FKBBF27B0E7EE2770E [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SPECIMENOROBSERVATIONBASE_SEQUENCE_AUD" not found; SQL statement:
-alter table SpecimenOrObservationBase_Sequence_AUD drop constraint FK392E71DF34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA" not found; SQL statement:
-alter table StateData drop constraint FKFB1697BB4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA" not found; SQL statement:
-alter table StateData drop constraint FKFB1697BBBC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA" not found; SQL statement:
-alter table StateData drop constraint FKFB1697BB682A4E4B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA_AUD" not found; SQL statement:
-alter table StateData_AUD drop constraint FKDA6A700C34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA_DEFINEDTERMBASE" not found; SQL statement:
-alter table StateData_DefinedTermBase drop constraint FK107321E2F4E35BCD [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA_DEFINEDTERMBASE" not found; SQL statement:
-alter table StateData_DefinedTermBase drop constraint FK107321E28E7BF9AB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA_DEFINEDTERMBASE_AUD" not found; SQL statement:
-alter table StateData_DefinedTermBase_AUD drop constraint FK7C978EB334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA_LANGUAGESTRING" not found; SQL statement:
-alter table StateData_LanguageString drop constraint FK93FFD2ADF05D08D4 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA_LANGUAGESTRING" not found; SQL statement:
-alter table StateData_LanguageString drop constraint FK93FFD2AD9682414B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA_LANGUAGESTRING" not found; SQL statement:
-alter table StateData_LanguageString drop constraint FK93FFD2AD8E7BF9AB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATEDATA_LANGUAGESTRING_AUD" not found; SQL statement:
-alter table StateData_LanguageString_AUD drop constraint FK1578E1FE34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATISTICALMEASUREMENTVALUE" not found; SQL statement:
-alter table StatisticalMeasurementValue drop constraint FK2DCE02904FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATISTICALMEASUREMENTVALUE" not found; SQL statement:
-alter table StatisticalMeasurementValue drop constraint FK2DCE0290BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATISTICALMEASUREMENTVALUE" not found; SQL statement:
-alter table StatisticalMeasurementValue drop constraint FK2DCE02904C428112 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATISTICALMEASUREMENTVALUE_AUD" not found; SQL statement:
-alter table StatisticalMeasurementValue_AUD drop constraint FKBB16686134869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE" not found; SQL statement:
-alter table StatisticalMeasurementValue_DefinedTermBase drop constraint FK686C42B7F4E35BCD [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE" not found; SQL statement:
-alter table StatisticalMeasurementValue_DefinedTermBase drop constraint FK686C42B75C9F4F2B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "STATISTICALMEASUREMENTVALUE_DEFINEDTERMBASE_AUD" not found; SQL statement:
-alter table StatisticalMeasurementValue_DefinedTermBase_AUD drop constraint FKFEBA3D0834869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP" not found; SQL statement:
-alter table SynonymRelationship drop constraint FKF483ADB34FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP" not found; SQL statement:
-alter table SynonymRelationship drop constraint FKF483ADB3BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP" not found; SQL statement:
-alter table SynonymRelationship drop constraint FKF483ADB3AEB7F3BE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP" not found; SQL statement:
-alter table SynonymRelationship drop constraint FKF483ADB34BAC703F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP" not found; SQL statement:
-alter table SynonymRelationship drop constraint FKF483ADB3F8991B9D [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP" not found; SQL statement:
-alter table SynonymRelationship drop constraint FKF483ADB380924EEC [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP_AUD" not found; SQL statement:
-alter table SynonymRelationship_AUD drop constraint FK8AEBCA0434869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP_ANNOTATION" not found; SQL statement:
-alter table SynonymRelationship_Annotation drop constraint FKF494F15B1E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP_ANNOTATION" not found; SQL statement:
-alter table SynonymRelationship_Annotation drop constraint FKF494F15B260A8379 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP_ANNOTATION_AUD" not found; SQL statement:
-alter table SynonymRelationship_Annotation_AUD drop constraint FKD3E2F9AC34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP_MARKER" not found; SQL statement:
-alter table SynonymRelationship_Marker drop constraint FK7A439066777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP_MARKER" not found; SQL statement:
-alter table SynonymRelationship_Marker drop constraint FK7A439066260A8379 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "SYNONYMRELATIONSHIP_MARKER_AUD" not found; SQL statement:
-alter table SynonymRelationship_Marker_AUD drop constraint FK93C51B3734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE" not found; SQL statement:
-alter table TaxonBase drop constraint FK9249B49B4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE" not found; SQL statement:
-alter table TaxonBase drop constraint FK9249B49BBC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE" not found; SQL statement:
-alter table TaxonBase drop constraint FK9249B49B8492378F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE" not found; SQL statement:
-alter table TaxonBase drop constraint FK9249B49B74FED214 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE" not found; SQL statement:
-alter table TaxonBase drop constraint FK9249B49B7C7B5AED [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_AUD" not found; SQL statement:
-alter table TaxonBase_AUD drop constraint FK37041CEC34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_ANNOTATION" not found; SQL statement:
-alter table TaxonBase_Annotation drop constraint FK41ED09731E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_ANNOTATION" not found; SQL statement:
-alter table TaxonBase_Annotation drop constraint FK41ED09739C9D39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_ANNOTATION_AUD" not found; SQL statement:
-alter table TaxonBase_Annotation_AUD drop constraint FK8C145C434869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_CREDIT" not found; SQL statement:
-alter table TaxonBase_Credit drop constraint FK4CB48B3D32D1B9F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_CREDIT" not found; SQL statement:
-alter table TaxonBase_Credit drop constraint FK4CB48B3D9C9D39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_CREDIT_AUD" not found; SQL statement:
-alter table TaxonBase_Credit_AUD drop constraint FK7CFED28E34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_EXTENSION" not found; SQL statement:
-alter table TaxonBase_Extension drop constraint FKF961257B927DE9DF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_EXTENSION" not found; SQL statement:
-alter table TaxonBase_Extension drop constraint FKF961257B9C9D39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_EXTENSION_AUD" not found; SQL statement:
-alter table TaxonBase_Extension_AUD drop constraint FK71381DCC34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_MARKER" not found; SQL statement:
-alter table TaxonBase_Marker drop constraint FK5CDB747E777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_MARKER" not found; SQL statement:
-alter table TaxonBase_Marker drop constraint FK5CDB747E9C9D39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_MARKER_AUD" not found; SQL statement:
-alter table TaxonBase_Marker_AUD drop constraint FKE11D334F34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table TaxonBase_OriginalSourceBase drop constraint FKFB680C813A6735D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table TaxonBase_OriginalSourceBase drop constraint FKFB680C819C9D39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table TaxonBase_OriginalSourceBase_AUD drop constraint FKB7C811D234869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_RIGHTSINFO" not found; SQL statement:
-alter table TaxonBase_RightsInfo drop constraint FK4CEDB569C13F7B21 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_RIGHTSINFO" not found; SQL statement:
-alter table TaxonBase_RightsInfo drop constraint FK4CEDB5699C9D39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONBASE_RIGHTSINFO_AUD" not found; SQL statement:
-alter table TaxonBase_RightsInfo_AUD drop constraint FKAFF06BA34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONINTERACTION_LANGUAGESTRING" not found; SQL statement:
-alter table TaxonInteraction_LanguageString drop constraint FK579A1DC02BEBA58D [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONINTERACTION_LANGUAGESTRING" not found; SQL statement:
-alter table TaxonInteraction_LanguageString drop constraint FK579A1DC028459272 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONINTERACTION_LANGUAGESTRING" not found; SQL statement:
-alter table TaxonInteraction_LanguageString drop constraint FK579A1DC086C86FE0 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONINTERACTION_LANGUAGESTRING_AUD" not found; SQL statement:
-alter table TaxonInteraction_LanguageString_AUD drop constraint FK9E016B9134869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE" not found; SQL statement:
-alter table TaxonNameBase drop constraint FKB4870C64FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE" not found; SQL statement:
-alter table TaxonNameBase drop constraint FKB4870C6BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE" not found; SQL statement:
-alter table TaxonNameBase drop constraint FKB4870C6BFEAE500 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE" not found; SQL statement:
-alter table TaxonNameBase drop constraint FKB4870C6617E62B3 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE" not found; SQL statement:
-alter table TaxonNameBase drop constraint FKB4870C6D7BE55A0 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE" not found; SQL statement:
-alter table TaxonNameBase drop constraint FKB4870C62B4FEDD6 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE" not found; SQL statement:
-alter table TaxonNameBase drop constraint FKB4870C6B14B73EF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE" not found; SQL statement:
-alter table TaxonNameBase drop constraint FKB4870C67F90DF03 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE" not found; SQL statement:
-alter table TaxonNameBase drop constraint FKB4870C662AD57A2 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_AUD" not found; SQL statement:
-alter table TaxonNameBase_AUD drop constraint FK5CA2CB9734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_ANNOTATION" not found; SQL statement:
-alter table TaxonNameBase_Annotation drop constraint FK9E7794681E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_ANNOTATION" not found; SQL statement:
-alter table TaxonNameBase_Annotation drop constraint FK9E7794688C85CF94 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_ANNOTATION_AUD" not found; SQL statement:
-alter table TaxonNameBase_Annotation_AUD drop constraint FKB6734E3934869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_CREDIT" not found; SQL statement:
-alter table TaxonNameBase_Credit drop constraint FK29BCD8B232D1B9F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_CREDIT" not found; SQL statement:
-alter table TaxonNameBase_Credit drop constraint FK29BCD8B28C85CF94 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_CREDIT_AUD" not found; SQL statement:
-alter table TaxonNameBase_Credit_AUD drop constraint FKD9895D8334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_EXTENSION" not found; SQL statement:
-alter table TaxonNameBase_Extension drop constraint FKC28EE7E6927DE9DF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_EXTENSION" not found; SQL statement:
-alter table TaxonNameBase_Extension drop constraint FKC28EE7E68C85CF94 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_EXTENSION_AUD" not found; SQL statement:
-alter table TaxonNameBase_Extension_AUD drop constraint FK8F98B2B734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_MARKER" not found; SQL statement:
-alter table TaxonNameBase_Marker drop constraint FK39E3C1F3777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_MARKER" not found; SQL statement:
-alter table TaxonNameBase_Marker drop constraint FK39E3C1F38C85CF94 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_MARKER_AUD" not found; SQL statement:
-alter table TaxonNameBase_Marker_AUD drop constraint FK3DA7BE4434869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_NOMENCLATURALSTATUS" not found; SQL statement:
-alter table TaxonNameBase_NomenclaturalStatus drop constraint FK560BA7926615E90D [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_NOMENCLATURALSTATUS" not found; SQL statement:
-alter table TaxonNameBase_NomenclaturalStatus drop constraint FK560BA7928C85CF94 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_NOMENCLATURALSTATUS_AUD" not found; SQL statement:
-alter table TaxonNameBase_NomenclaturalStatus_AUD drop constraint FK9215BC6334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table TaxonNameBase_OriginalSourceBase drop constraint FKF746D2763A6735D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table TaxonNameBase_OriginalSourceBase drop constraint FKF746D2768C85CF94 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table TaxonNameBase_OriginalSourceBase_AUD drop constraint FK7A38D54734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_RIGHTSINFO" not found; SQL statement:
-alter table TaxonNameBase_RightsInfo drop constraint FKA978405EC13F7B21 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_RIGHTSINFO" not found; SQL statement:
-alter table TaxonNameBase_RightsInfo drop constraint FKA978405E8C85CF94 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_RIGHTSINFO_AUD" not found; SQL statement:
-alter table TaxonNameBase_RightsInfo_AUD drop constraint FKB8B10F2F34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_TYPEDESIGNATIONBASE" not found; SQL statement:
-alter table TaxonNameBase_TypeDesignationBase drop constraint FKC0D6BBB5C7DF530C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_TYPEDESIGNATIONBASE" not found; SQL statement:
-alter table TaxonNameBase_TypeDesignationBase drop constraint FKC0D6BBB58C85CF94 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNAMEBASE_TYPEDESIGNATIONBASE_AUD" not found; SQL statement:
-alter table TaxonNameBase_TypeDesignationBase_AUD drop constraint FKBB24070634869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE" not found; SQL statement:
-alter table TaxonNode drop constraint FK924F5BCC4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE" not found; SQL statement:
-alter table TaxonNode drop constraint FK924F5BCCBC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE" not found; SQL statement:
-alter table TaxonNode drop constraint FK924F5BCC84A3CE1B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE" not found; SQL statement:
-alter table TaxonNode drop constraint FK924F5BCC39DB2DFB [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE" not found; SQL statement:
-alter table TaxonNode drop constraint FK924F5BCC381381B5 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE" not found; SQL statement:
-alter table TaxonNode drop constraint FK924F5BCCCC05993E [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE" not found; SQL statement:
-alter table TaxonNode drop constraint FK924F5BCCDE9A3E39 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE_AUD" not found; SQL statement:
-alter table TaxonNode_AUD drop constraint FKE090C39D34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE_ANNOTATION" not found; SQL statement:
-alter table TaxonNode_Annotation drop constraint FKD8A9A9A21E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE_ANNOTATION" not found; SQL statement:
-alter table TaxonNode_Annotation drop constraint FKD8A9A9A2927D8399 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE_ANNOTATION_AUD" not found; SQL statement:
-alter table TaxonNode_Annotation_AUD drop constraint FKB2C4367334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE_MARKER" not found; SQL statement:
-alter table TaxonNode_Marker drop constraint FK395842D777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE_MARKER" not found; SQL statement:
-alter table TaxonNode_Marker drop constraint FK395842D927D8399 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONNODE_MARKER_AUD" not found; SQL statement:
-alter table TaxonNode_Marker_AUD drop constraint FK77D9D37E34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP" not found; SQL statement:
-alter table TaxonRelationship drop constraint FK7482BA024FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP" not found; SQL statement:
-alter table TaxonRelationship drop constraint FK7482BA02BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP" not found; SQL statement:
-alter table TaxonRelationship drop constraint FK7482BA02AEB7F3BE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP" not found; SQL statement:
-alter table TaxonRelationship drop constraint FK7482BA02E71EF6CE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP" not found; SQL statement:
-alter table TaxonRelationship drop constraint FK7482BA02F8991B9D [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP" not found; SQL statement:
-alter table TaxonRelationship drop constraint FK7482BA02F11BD77B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP_AUD" not found; SQL statement:
-alter table TaxonRelationship_AUD drop constraint FKA0DE16D334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP_ANNOTATION" not found; SQL statement:
-alter table TaxonRelationship_Annotation drop constraint FK82C86DAC1E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP_ANNOTATION" not found; SQL statement:
-alter table TaxonRelationship_Annotation drop constraint FK82C86DAC2BD180D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP_ANNOTATION_AUD" not found; SQL statement:
-alter table TaxonRelationship_Annotation_AUD drop constraint FKE86DE57D34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP_MARKER" not found; SQL statement:
-alter table TaxonRelationship_Marker drop constraint FK69FBDD37777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP_MARKER" not found; SQL statement:
-alter table TaxonRelationship_Marker drop constraint FK69FBDD372BD180D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TAXONRELATIONSHIP_MARKER_AUD" not found; SQL statement:
-alter table TaxonRelationship_Marker_AUD drop constraint FK21F8978834869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY" not found; SQL statement:
-alter table TermVocabulary drop constraint FK487AA6924FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY" not found; SQL statement:
-alter table TermVocabulary drop constraint FK487AA692BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_AUD" not found; SQL statement:
-alter table TermVocabulary_AUD drop constraint FKA6ED3B6334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_ANNOTATION" not found; SQL statement:
-alter table TermVocabulary_Annotation drop constraint FK76D2071C1E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_ANNOTATION" not found; SQL statement:
-alter table TermVocabulary_Annotation drop constraint FK76D2071C258E060 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_ANNOTATION_AUD" not found; SQL statement:
-alter table TermVocabulary_Annotation_AUD drop constraint FK222D46ED34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_CREDIT" not found; SQL statement:
-alter table TermVocabulary_Credit drop constraint FK7604C56632D1B9F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_CREDIT" not found; SQL statement:
-alter table TermVocabulary_Credit drop constraint FK7604C566258E060 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_CREDIT_AUD" not found; SQL statement:
-alter table TermVocabulary_Credit_AUD drop constraint FKB1E3D03734869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_EXTENSION" not found; SQL statement:
-alter table TermVocabulary_Extension drop constraint FKA8814EB2927DE9DF [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_EXTENSION" not found; SQL statement:
-alter table TermVocabulary_Extension drop constraint FKA8814EB2258E060 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_EXTENSION_AUD" not found; SQL statement:
-alter table TermVocabulary_Extension_AUD drop constraint FKD522D38334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_MARKER" not found; SQL statement:
-alter table TermVocabulary_Marker drop constraint FK862BAEA7777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_MARKER" not found; SQL statement:
-alter table TermVocabulary_Marker drop constraint FK862BAEA7258E060 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_MARKER_AUD" not found; SQL statement:
-alter table TermVocabulary_Marker_AUD drop constraint FK160230F834869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table TermVocabulary_OriginalSourceBase drop constraint FK8F2D512A3A6735D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_ORIGINALSOURCEBASE" not found; SQL statement:
-alter table TermVocabulary_OriginalSourceBase drop constraint FK8F2D512A258E060 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_ORIGINALSOURCEBASE_AUD" not found; SQL statement:
-alter table TermVocabulary_OriginalSourceBase_AUD drop constraint FKA898D9FB34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_REPRESENTATION" not found; SQL statement:
-alter table TermVocabulary_Representation drop constraint FKA408B63AB31C4747 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_REPRESENTATION" not found; SQL statement:
-alter table TermVocabulary_Representation drop constraint FKA408B63A258E060 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_REPRESENTATION_AUD" not found; SQL statement:
-alter table TermVocabulary_Representation_AUD drop constraint FK681B370B34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_RIGHTSINFO" not found; SQL statement:
-alter table TermVocabulary_RightsInfo drop constraint FK81D2B312C13F7B21 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_RIGHTSINFO" not found; SQL statement:
-alter table TermVocabulary_RightsInfo drop constraint FK81D2B312258E060 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TERMVOCABULARY_RIGHTSINFO_AUD" not found; SQL statement:
-alter table TermVocabulary_RightsInfo_AUD drop constraint FK246B07E334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE" not found; SQL statement:
-alter table TypeDesignationBase drop constraint FK8AC9DCAE4FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE" not found; SQL statement:
-alter table TypeDesignationBase drop constraint FK8AC9DCAEBC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE" not found; SQL statement:
-alter table TypeDesignationBase drop constraint FK8AC9DCAEAEB7F3BE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE" not found; SQL statement:
-alter table TypeDesignationBase drop constraint FK8AC9DCAE9E3ED08 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE" not found; SQL statement:
-alter table TypeDesignationBase drop constraint FK8AC9DCAE4CB0F315 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE" not found; SQL statement:
-alter table TypeDesignationBase drop constraint FK8AC9DCAEFBFA41D9 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE_AUD" not found; SQL statement:
-alter table TypeDesignationBase_AUD drop constraint FK243C037F34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE_ANNOTATION" not found; SQL statement:
-alter table TypeDesignationBase_Annotation drop constraint FK4D7327801E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE_ANNOTATION" not found; SQL statement:
-alter table TypeDesignationBase_Annotation drop constraint FK4D73278044E9E6D4 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE_ANNOTATION_AUD" not found; SQL statement:
-alter table TypeDesignationBase_Annotation_AUD drop constraint FK88BF955134869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE_MARKER" not found; SQL statement:
-alter table TypeDesignationBase_Marker drop constraint FKB914A10B777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE_MARKER" not found; SQL statement:
-alter table TypeDesignationBase_Marker drop constraint FKB914A10B44E9E6D4 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "TYPEDESIGNATIONBASE_MARKER_AUD" not found; SQL statement:
-alter table TypeDesignationBase_Marker_AUD drop constraint FKECA3515C34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "USERACCOUNT" not found; SQL statement:
-alter table UserAccount drop constraint FKB3F13C24FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "USERACCOUNT" not found; SQL statement:
-alter table UserAccount drop constraint FKB3F13C2AAC1B820 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "USERACCOUNT_AUD" not found; SQL statement:
-alter table UserAccount_AUD drop constraint FK6A57909334869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "USERACCOUNT_GRANTEDAUTHORITYIMPL" not found; SQL statement:
-alter table UserAccount_GrantedAuthorityImpl drop constraint FKFD724D851857F6C2 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "USERACCOUNT_GRANTEDAUTHORITYIMPL" not found; SQL statement:
-alter table UserAccount_GrantedAuthorityImpl drop constraint FKFD724D855EA5DD89 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "USERACCOUNT_PERMISSIONGROUP" not found; SQL statement:
-alter table UserAccount_PermissionGroup drop constraint FK812DE753DA9DCB5F [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "USERACCOUNT_PERMISSIONGROUP" not found; SQL statement:
-alter table UserAccount_PermissionGroup drop constraint FK812DE753887E3D12 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET" not found; SQL statement:
-alter table WorkingSet drop constraint FK668D5B914FF2DB2C [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET" not found; SQL statement:
-alter table WorkingSet drop constraint FK668D5B91BC5DA539 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET" not found; SQL statement:
-alter table WorkingSet drop constraint FK668D5B9123DB7F04 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_AUD" not found; SQL statement:
-alter table WorkingSet_AUD drop constraint FK628F58E234869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_ANNOTATION" not found; SQL statement:
-alter table WorkingSet_Annotation drop constraint FKCBBA8CBD1E403E0B [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_ANNOTATION" not found; SQL statement:
-alter table WorkingSet_Annotation drop constraint FKCBBA8CBDBBD2C869 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_ANNOTATION_AUD" not found; SQL statement:
-alter table WorkingSet_Annotation_AUD drop constraint FK1E28140E34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_DESCRIPTIONBASE" not found; SQL statement:
-alter table WorkingSet_DescriptionBase drop constraint FK731CC81F33B8A841 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_DESCRIPTIONBASE" not found; SQL statement:
-alter table WorkingSet_DescriptionBase drop constraint FK731CC81FBBD2C869 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_DESCRIPTIONBASE_AUD" not found; SQL statement:
-alter table WorkingSet_DescriptionBase_AUD drop constraint FK8959CE7034869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_MARKER" not found; SQL statement:
-alter table WorkingSet_Marker drop constraint FK9CB22CC8777265A1 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_MARKER" not found; SQL statement:
-alter table WorkingSet_Marker drop constraint FK9CB22CC8BBD2C869 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_MARKER_AUD" not found; SQL statement:
-alter table WorkingSet_Marker_AUD drop constraint FK6AEAB69934869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_REPRESENTATION" not found; SQL statement:
-alter table WorkingSet_Representation drop constraint FKA003835BB31C4747 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_REPRESENTATION" not found; SQL statement:
-alter table WorkingSet_Representation drop constraint FKA003835BBBD2C869 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_REPRESENTATION_AUD" not found; SQL statement:
-alter table WorkingSet_Representation_AUD drop constraint FK21B88BAC34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_TAXONBASE" not found; SQL statement:
-alter table WorkingSet_TaxonBase drop constraint FK34EB896D7C3D0017 [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_TAXONBASE" not found; SQL statement:
-alter table WorkingSet_TaxonBase drop constraint FK34EB896DB4555A9A [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Table "WORKINGSET_TAXONBASE_AUD" not found; SQL statement:
-alter table WorkingSet_TaxonBase_AUD drop constraint FK582B38BE34869AAE [42102-170]
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table AgentBase add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Amplification add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Annotation add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table CDM_VIEW add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table CdmMetaData add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Classification add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Collection add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Credit add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table DefinedTermBase add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table DerivationEvent add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table DescriptionBase add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table DescriptionElementBase add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table DeterminationEvent add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Extension add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table FeatureNode add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table FeatureTree add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table GatheringEvent add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table GrantedAuthorityImpl add constraint _UniqueKey unique (uuid, authority) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table HomotypicalGroup add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table HybridRelationship add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table InstitutionalMembership add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table KeyStatement add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table LSIDAuthority add constraint _UniqueKey unique (uuid, authority) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table LanguageString add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Marker add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table MaterialOrMethodEvent add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Media add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table MediaRepresentation add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:56 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table MediaRepresentationPart add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table NameRelationship add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table NomenclaturalStatus add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table OriginalSourceBase add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table PermissionGroup add constraint _UniqueKey unique (uuid, name) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table PolytomousKey add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table PolytomousKeyNode add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Primer add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Reference add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Representation add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table RightsInfo add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table Sequence add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table SingleRead add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table SpecimenOrObservationBase add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table StateData add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table StatisticalMeasurementValue add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table SynonymRelationship add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table TaxonBase add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table TaxonNameBase add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table TaxonNode add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table TaxonRelationship add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table TermVocabulary add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table TypeDesignationBase add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table UserAccount add constraint _UniqueKey unique (uuid, username) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:14:57 jdbc[2]: exception
-org.h2.jdbc.JdbcSQLException: Constraint "_UNIQUEKEY" already exists; SQL statement:
-alter table WorkingSet add constraint _UniqueKey unique (uuid) [90045-170]
-       at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
-       at org.h2.message.DbException.get(DbException.java:169)
-       at org.h2.message.DbException.get(DbException.java:146)
-       at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:89)
-       at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:68)
-       at org.h2.command.CommandContainer.update(CommandContainer.java:75)
-       at org.h2.command.Command.executeUpdate(Command.java:230)
-       at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:125)
-       at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:110)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
-       at org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:418)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:375)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)
-       at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)
-       at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:498)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1743)
-       at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1781)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:247)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:373)
-       at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:358)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1547)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1485)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
-       at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1393)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1134)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522)
-       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.createBean(MonitoredListableBeanFactory.java:106)
-       at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295)
-       at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
-       at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
-       at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:626)
-       at eu.etaxonomy.cdm.api.application.MonitoredListableBeanFactory.preInstantiateSingletons(MonitoredListableBeanFactory.java:70)
-       at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.finishBeanFactoryInitialization(MonitoredGenericApplicationContext.java:74)
-       at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
-       at eu.etaxonomy.cdm.api.application.MonitoredGenericApplicationContext.refresh(MonitoredGenericApplicationContext.java:102)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.setNewDataSource(CdmApplicationController.java:248)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.<init>(CdmApplicationController.java:191)
-       at eu.etaxonomy.cdm.api.application.CdmApplicationController.NewInstance(CdmApplicationController.java:141)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.getApplicationController(CdmStoreConnector.java:154)
-       at eu.etaxonomy.taxeditor.store.CdmStoreConnector.run(CdmStoreConnector.java:102)
-       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
-10-09 16:32:03 database: close
-java.lang.ArrayIndexOutOfBoundsException: 2048
-       at org.h2.store.Data.writeValue(Data.java:415)
-       at org.h2.index.PageDataLeaf.writeData(PageDataLeaf.java:528)
-       at org.h2.index.PageDataLeaf.moveTo(PageDataLeaf.java:568)
-       at org.h2.store.PageStore.compact(PageStore.java:724)
-       at org.h2.store.PageStore.compact(PageStore.java:538)
-       at org.h2.engine.Database.closeOpenFilesAndUnlock(Database.java:1316)
-       at org.h2.engine.Database.close(Database.java:1266)
-       at org.h2.engine.DatabaseCloser.run(DatabaseCloser.java:63)
diff --git a/eu.etaxonomy.taxeditor.remoting/src/test/resources/unitils.properties b/eu.etaxonomy.taxeditor.remoting/src/test/resources/unitils.properties
deleted file mode 100644 (file)
index 7f99896..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-#\r
-# NOTE: this is the unitils.properties file for the cdmlib-persistence module\r
-# a separate unitils.properties exists for cdmlib-io and for cdmlib-services\r
-#\r
-#\r
-# the list of all properties is found in\r
-# http://unitils.org/unitils-default.properties\r
-#\r
-\r
-### Unitils Modules ###\r
-# List of modules that is loaded. Overloading this list is normally not useful, unless you want to add a custom\r
-# module. Disabling a module can be performed by setting unitils.module.<modulename>.enabled to false.\r
-# If a module's specific dependencies are not found (e.g. hibernate is not in you classpath), this module is not loaded,\r
-# even if it is in this list and the enabled property is set to true. It's therefore not strictly necessary to disable\r
-# any of these modules.\r
-#DEFAULT: unitils.modules=database,dbunit,hibernate,mock,easymock,inject,spring,jpa\r
-unitils.module.easymock.enabled=false\r
-unitils.module.mock.enabled=false\r
-\r
-\r
-### Database ###\r
-#\r
-# Name or path of the user specific properties file. This file should contain the necessary parameters to connect to the\r
-# developer's own unit test schema. It is recommended to override the name of this file in the project specific properties\r
-# file, to include the name of the project. The system will try to find this file in the classpath, the user home folder\r
-# (recommended) or the local filesystem.\r
-#\r
-unitils.configuration.localFileName=unitils-cdmlib-local.properties\r
-\r
-# H2 #\r
-#\r
-database.driverClassName=org.h2.Driver\r
-database.url=jdbc:h2:file:./h2/cdmTest;AUTO_SERVER=TRUE\r
-database.dialect=h2\r
-database.userName=sa\r
-database.password=\r
-database.schemaNames=PUBLIC\r
-org.dbunit.dataset.datatype.IDataTypeFactory.implClassName.h2=org.dbunit.ext.h2.H2DataTypeFactory\r
-org.unitils.core.dbsupport.DbSupport.implClassName.h2=eu.etaxonomy.cdm.database.H2DbSupport\r
-database.storedIndentifierCase.h2=auto\r
-database.identifierQuoteString.h2=auto\r
-\r
-\r
-#### Transaction mode ###\r
-#\r
-# If set to commit or rollback, each test is run in a transaction,\r
-# which is committed or rolled back after the test is finished.\r
-# Since we have many tests with incomplete data these tests would be\r
-# failing during commit so it is better use rollback as default\r
-# and set commit for individual test where necessary\r
-DatabaseModule.Transactional.value.default=rollback\r
-\r
-# org.unitils.database.transaction.impl.DefaultUnitilsTransactionManager is used by default:\r
-#\r
-#   Implements transactions for unit tests, by delegating to a spring PlatformTransactionManager.\r
-#   The concrete implementation of PlatformTransactionManager that is used depends on the test class.\r
-#   If a custom PlatformTransactionManager was configured in a spring ApplicationContext, this one is used.\r
-#   If not, a suitable subclass of PlatformTransactionManager is created, depending on the configuration\r
-#   of a test. E.g. if some ORM persistence unit was configured on the test, a PlatformTransactionManager\r
-#   that can offer transactional behavior for such a persistence unit is used.\r
-#   If no such configuration is found, a DataSourceTransactionManager is used.\r
-#\r
-# org.unitils.database.transaction.UnitilsTransactionManager.implClassName=org.unitils.database.transaction.impl.SpringTransactionManager\r
-\r
-### Hibernate ###\r
-#\r
-HibernateModule.configuration.implClassName=org.hibernate.cfg.Configuration\r
-\r
index ca6afae0565ab77a6774286598660ec1e0f14a40..1b00e9df37b028566922eaecfdf9cd80d6d9ca7d 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: DataStore Bundle
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.store;singleton:=true
-Bundle-Version: 3.3.8.qualifier
+Bundle-Version: 3.4.0.qualifier
 Bundle-Activator: eu.etaxonomy.taxeditor.store.internal.TaxeditorStorePlugin
 Bundle-Vendor: EDIT
 Export-Package: eu.etaxonomy.cdm,
@@ -58,7 +58,12 @@ Require-Bundle: org.eclipse.osgi,
  org.eclipse.jface.text,
  org.eclipse.ui.forms,
  eu.etaxonomy.taxeditor.cdmlib,
- org.eclipse.nebula.widgets.compositetable;bundle-version="1.0.0"
+ org.eclipse.nebula.widgets.compositetable;bundle-version="1.0.0",
+ org.eclipse.core.databinding,
+ org.eclipse.core.databinding.beans,
+ org.eclipse.core.databinding.observable,
+ org.eclipse.core.databinding.property,
+ org.eclipse.jface.databinding
 Import-Package: org.eclipse.core.commands,
  org.eclipse.core.commands.operations,
  org.eclipse.core.expressions,
diff --git a/eu.etaxonomy.taxeditor.store/icons/character_data_derivate-16x16-32.png b/eu.etaxonomy.taxeditor.store/icons/character_data_derivate-16x16-32.png
new file mode 100644 (file)
index 0000000..b9dd5ef
Binary files /dev/null and b/eu.etaxonomy.taxeditor.store/icons/character_data_derivate-16x16-32.png differ
index f21f025332867f66dcfd89cbe3785bca91abe53d..5273219f82e4586152b33e882360b484391a96a4 100644 (file)
@@ -4,7 +4,7 @@
   <parent>
        <groupId>eu.etaxonomy</groupId>
        <artifactId>taxeditor-parent</artifactId>
-       <version>3.3.8-SNAPSHOT</version>
+       <version>3.4.0-SNAPSHOT</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
index 4b946fa36f118ca55a29402cc11a601c4fd4d0e8..4c946a9a53b2541f01ca7ef3267303f6bb945179 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 /**
 * Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy 
+* European Distributed Institute of Taxonomy
 * http://www.e-taxonomy.eu
-* 
+*
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
@@ -14,7 +14,6 @@ import org.eclipse.jface.dialogs.MessageDialog;
 import org.eclipse.jface.viewers.IStructuredSelection;
 import org.eclipse.jface.wizard.IWizardContainer;
 import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.jface.wizard.WizardDialog;
 import org.eclipse.swt.SWT;
 import org.eclipse.ui.IEditorPart;
 import org.eclipse.ui.IEditorReference;
@@ -33,16 +32,16 @@ import eu.etaxonomy.cdm.io.common.IIoConfigurator;
  * @version 1.0
  */
 public abstract class AbstractImportWizard<CONFIG extends IIoConfigurator> extends Wizard implements IImportWizard {
-       
-       protected final String CONFIGURATION_PAGE = "CONFIGURATION_PAGE"; 
-       
+
+       protected final String CONFIGURATION_PAGE = "CONFIGURATION_PAGE";
+
        private GenericConfiguratorWizardPage pageConfiguration;
        private NomenclaturalCodeWizardPage pageNomenclaturalCode;
 
        private IWorkbench workbench;
 
        private IStructuredSelection selection;
-       
+
 
        /* (non-Javadoc)
         * @see org.eclipse.jface.wizard.Wizard#addPages()
@@ -51,25 +50,30 @@ public abstract class AbstractImportWizard<CONFIG extends IIoConfigurator> exten
        @Override
        public void addPages() {
                super.addPages();
-               
+
                pageConfiguration = GenericConfiguratorWizardPage.Import(CONFIGURATION_PAGE, getConfigurator());
                this.addPage(pageConfiguration);
-               
+
                pageNomenclaturalCode = new NomenclaturalCodeWizardPage((IImportConfigurator)getConfigurator());
                this.addPage(pageNomenclaturalCode);
-               
-               
+
+
        }
-       
+
        /* (non-Javadoc)
         * @see org.eclipse.jface.wizard.Wizard#setContainer(org.eclipse.jface.wizard.IWizardContainer)
         */
        @Override
        public void setContainer(IWizardContainer wizardContainer) {
-               super.setContainer(wizardContainer);
-               checkForUnsavedEditors();
+               if(existUnsavedEditors()){
+                   MessageDialog.open(MessageDialog.WARNING, getShell(), "Unsaved editors", "Please save all open editors before executing " +
+                           "an import operation. The import operation will be cancelled", SWT.NONE);
+               }
+               else{
+                   super.setContainer(wizardContainer);
+               }
        }
-       
+
        /* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
         */
@@ -78,28 +82,28 @@ public abstract class AbstractImportWizard<CONFIG extends IIoConfigurator> exten
                this.setWorkbench(workbench);
                this.setSelection(selection);
        }
-       
-       protected void checkForUnsavedEditors(){
+
+       protected boolean existUnsavedEditors(){
                IWorkbenchPage activePage = getWorkbench().getActiveWorkbenchWindow().getActivePage();
-               
                if(activePage != null){
                        for (IEditorReference reference : activePage.getEditorReferences()) {
                                IEditorPart editor = reference.getEditor(false);
                                if(editor.isDirty()){
-                                       
-                                       MessageDialog.open(MessageDialog.WARNING, getShell(), "Unsaved editors", "Please save all open editors before executing " +
-                                                       "an import operation. The import operation will be cancelled", SWT.NONE);
-                                       
-                                       performCancel();
-                                       if(getContainer() instanceof WizardDialog){
-                                               ((WizardDialog)getContainer()).close();
-                                       }
-                                       
+                                       return true;
                                }
                        }
                }
+               return false;
        }
-       
+
+       /* (non-Javadoc)
+        * @see org.eclipse.jface.wizard.Wizard#canFinish()
+        */
+       @Override
+       public boolean canFinish() {
+           return !existUnsavedEditors();
+       }
+
        /**
         * <p>getConfigurator</p>
         *
index 81947acc6f825c1f27784eb3654ca83bdcb10c10..d1d90b90b6448072f2e5723f9c8eec196f4671a5 100644 (file)
@@ -147,6 +147,8 @@ public class ImageResources {
     public static final String SINGLE_READ_DERIVATE = "single_read_derivate";
     public static final String SINGLE_READ_DERIVATE_MULTILINK = "single_read_derivate_multilink";
 
+    public static final String CHARACTER_DATA_DERIVATE = "character_data_derivate";
+
 
 
        /***************************************************************************
@@ -347,6 +349,9 @@ public class ImageResources {
                        "single_read_derivate-16x16-32.png");
                registerImage(registry, SINGLE_READ_DERIVATE_MULTILINK,
                        "single_read_derivate_multilink-16x16-32.png");
+               registerImage(registry, CHARACTER_DATA_DERIVATE,
+                       "character_data_derivate-16x16-32.png");
+
        }
 
        private void registerImage(ImageRegistry registry, String key,
index 9fc72e2b883a582e44396a7c9be12fc2aa3bfa12..23e6825e38192a9c63de4dd6f5e2daa86db0c334 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * 
+ *
  */
 package eu.etaxonomy.taxeditor.parser;
 
@@ -29,10 +29,10 @@ import eu.etaxonomy.taxeditor.store.CdmStore;
 public class ParseHandler{
 
        private TaxonNameBase taxonNameBase;
-       
+
        private class MatchMatrix {
                List<TaxonNameBase> duplicateNames = new ArrayList<TaxonNameBase>();
-               
+
                List<INomenclaturalReference> duplicateReferences = new ArrayList<INomenclaturalReference>();
                List<INomenclaturalReference> duplicateInReferences = new ArrayList<INomenclaturalReference>();
 
@@ -50,10 +50,10 @@ public class ParseHandler{
        private NonViralName name;
 
        private boolean doResolveInReferences;
-       
+
        /**
-        * Creates a new instance 
-        * 
+        * Creates a new instance
+        *
         * @param textWidget
         * @param name
         */
@@ -64,7 +64,7 @@ public class ParseHandler{
                        this.name = (NonViralName) HibernateProxyHelper.deproxy(name);
                }
        }
-       
+
        /**
         * Factory method to create a new instance of the this class
         *
@@ -74,9 +74,9 @@ public class ParseHandler{
         */
        public static ParseHandler NewInstance(TaxonNameBase name){
                return new ParseHandler(name);
-               
+
        }
-       
+
        /**
         * Parses a given string and returns a <code>TaxonNameBase</code> instance with the
         * results of the parsing.
@@ -95,17 +95,17 @@ public class ParseHandler{
 //             if (name.hasProblem()) {
 //                     name.setFullTitleCache(unparsedNameString);
 //             }
-               
+
                return name;
        }
-       
+
        public static TaxonNameBase parseName(String unparsedNameString, Rank rank){
                TaxonNameBase name = nonViralNameParser.parseFullName(unparsedNameString,
                                PreferencesUtil.getPreferredNomenclaturalCode(), rank);
-               
+
                return name;
        }
-       
+
        /**
         * Creates an empty <code>TaxonNameBase</code> instance with the nomenclatural code
         * currently set in preferences.
@@ -115,7 +115,7 @@ public class ParseHandler{
        public static TaxonNameBase createEmptyName(){
                return nonViralNameParser.getNonViralNameInstance("", PreferencesUtil.getPreferredNomenclaturalCode());
        }
-       
+
        /**
         * Parses the string that was entered into the text widget and returns a
         * NonViralName object that resulted from the parsing process.
@@ -123,7 +123,7 @@ public class ParseHandler{
         * @return      The parsed NonViralName object
         */
        public NonViralName parse(String unparsedNameString){
-               
+
 //             String unparsedNameString = "";
 //             try {
 //                     Method getText;
@@ -133,18 +133,18 @@ public class ParseHandler{
 //                     // we should never get here
 //                     StoreUtil.error(this.getClass(), "Error trying to invoke getText method", e);
 //             }
-               
-               
+
+
                nonViralNameParser.parseReferencedName(name, unparsedNameString,
                                name.getRank(), true);
 
 //             if (name.hasProblem()) {
 //                     name.setFullTitleCache(unparsedNameString);
 //             }
-               
+
                return name;
        }
-       
+
        /**
         * Parses the string that was entered into the text widget and returns a
         * NonViralName object that resulted from the parsing process.
@@ -157,39 +157,40 @@ public class ParseHandler{
         * @return      The parsed NonViralName object
         */
        public NonViralName parseAndResolveDuplicates(String unparsedNameString){
-               
+
                NonViralName parsedName = parse(unparsedNameString);
-               
+
                MatchMatrix matchMatrix = findMatches(parsedName);
-               
+
                resolveDuplicates(parsedName, matchMatrix);
-               
+
                return parsedName;
        }
-               
-       
-       
-       
-       /** 
+
+
+
+
+       /**
         * @param name The name to resolve duplicates for.
         */
        private void resolveDuplicates(NonViralName name, MatchMatrix matchMatrix) {
                resolveDuplicateNames(name, matchMatrix);
-               
+
                resolveAllDuplicateAuthors(name, matchMatrix);
-               
+
                resolveDuplicateReferences(name, matchMatrix);
-               
-               if(matchMatrix.duplicateInReferences != null)
-                       resolveDuplicateInReferences(name, matchMatrix);
+
+               if(matchMatrix.duplicateInReferences != null) {
+            resolveDuplicateInReferences(name, matchMatrix);
+        }
        }
 
 
-       /** 
+       /**
         * @param name The name to resolve duplicates for.
         */
        private void resolveDuplicateNames(NonViralName name, MatchMatrix matchMatrix) {
-                               
+
                if (matchMatrix.duplicateNames.size() == 1){
                        name = (NonViralName) matchMatrix.duplicateNames.iterator().next();
                }else if(matchMatrix.duplicateNames.size() > 1){
@@ -198,27 +199,27 @@ public class ParseHandler{
                }
        }
 
-       /** 
+       /**
         * @param name The name to resolve duplicates for.
         */
        private void resolveDuplicateReferences(NonViralName name, MatchMatrix matchMatrix) {
                if(matchMatrix.duplicateReferences.size() == 1){
                        // exactly one match. We assume that the user wants this reference
-                       INomenclaturalReference duplicate = matchMatrix.duplicateReferences.iterator().next();  
+                       INomenclaturalReference duplicate = matchMatrix.duplicateReferences.iterator().next();
                        name.setNomenclaturalReference(duplicate);
                }else if(matchMatrix.duplicateReferences.size() > 1){
                        // FIXME TODO resolve multiple duplications. Use first match for a start
                        INomenclaturalReference duplicate = matchMatrix.duplicateReferences.iterator().next();
                        name.setNomenclaturalReference(duplicate);
-               }               
+               }
        }
 
-       /** 
+       /**
         * @param name The name to resolve duplicates for.
         */
        private void resolveDuplicateInReferences(NonViralName name, MatchMatrix matchMatrix) {
                Reference reference = (Reference) HibernateProxyHelper.deproxy(name.getNomenclaturalReference());
-               
+
                if(matchMatrix.duplicateInReferences.size() > 0){
                        Reference inReference = (Reference) matchMatrix.duplicateInReferences.iterator().next();
                        reference.setInReference(inReference);
@@ -227,58 +228,58 @@ public class ParseHandler{
                        MessagingUtils.warn(this.getClass(), reference.getTitleCache());
                }
        }
-       
 
-       /** 
+
+       /**
         * @param name The name to resolve duplicates for.
         */
        private void resolveAllDuplicateAuthors(NonViralName name, MatchMatrix matchMatrix) {
-               
+
                if(matchMatrix.duplicateCombinationAuthorTeams.size() > 0){
                        name.setCombinationAuthorTeam(matchMatrix.duplicateCombinationAuthorTeams.iterator().next());
                        Reference reference = (Reference) name.getNomenclaturalReference();
                        if(reference != null){
-                               reference.setAuthorTeam(matchMatrix.duplicateCombinationAuthorTeams.iterator().next());
+                               reference.setAuthorship(matchMatrix.duplicateCombinationAuthorTeams.iterator().next());
                        }
                        // FIXME TODO resolve multiple duplications. We use first match for a start.
                }
-               
+
                if(matchMatrix.duplicateExCombinationAuthorTeams.size() > 0){
                        name.setExCombinationAuthorTeam(matchMatrix.duplicateExCombinationAuthorTeams.iterator().next());
                        // FIXME TODO resolve multiple duplications. We use first match for a start.
                }
-               
+
                if(matchMatrix.duplicateBasionymAuthorTeams.size() > 0){
                        name.setBasionymAuthorTeam(matchMatrix.duplicateBasionymAuthorTeams.iterator().next());
                        // FIXME TODO resolve multiple duplications. We use first match for a start.
                }
-               
+
                if(matchMatrix.duplicateExBasionymAuthorTeams.size() > 0){
                        name.setExBasionymAuthorTeam(matchMatrix.duplicateExBasionymAuthorTeams.iterator().next());
                        // FIXME TODO resolve multiple duplications. We use first match for a start.
                }
        }
-       
-       /** 
+
+       /**
         * Splits a NonViralName into its parts and calls methods to find matches for these
         * parts in the database.
-        * 
+        *
         * @param name  The NonViralName to find matches for.
         */
        private MatchMatrix findMatches(NonViralName name){
-               
+
                MatchMatrix matchMatrix = new MatchMatrix();
-               
+
                matchMatrix.duplicateNames = findMatchingLatinNames(name);
-               
-               matchMatrix.duplicateCombinationAuthorTeams = findMatchingAuthors((TeamOrPersonBase) name.getCombinationAuthorTeam());
-               matchMatrix.duplicateExCombinationAuthorTeams = findMatchingAuthors((TeamOrPersonBase) name.getExCombinationAuthorTeam());
-               matchMatrix.duplicateBasionymAuthorTeams = findMatchingAuthors((TeamOrPersonBase) name.getBasionymAuthorTeam());
-               matchMatrix.duplicateExBasionymAuthorTeams = findMatchingAuthors((TeamOrPersonBase) name.getExBasionymAuthorTeam());
-               
+
+               matchMatrix.duplicateCombinationAuthorTeams = findMatchingAuthors(name.getCombinationAuthorTeam());
+               matchMatrix.duplicateExCombinationAuthorTeams = findMatchingAuthors(name.getExCombinationAuthorTeam());
+               matchMatrix.duplicateBasionymAuthorTeams = findMatchingAuthors(name.getBasionymAuthorTeam());
+               matchMatrix.duplicateExBasionymAuthorTeams = findMatchingAuthors(name.getExBasionymAuthorTeam());
+
                INomenclaturalReference nomenclaturalReference = name.getNomenclaturalReference();
-               
-               // check if the reference has an inreference and also check if the inReference already exists 
+
+               // check if the reference has an inreference and also check if the inReference already exists
                if(nomenclaturalReference != null){
                        Reference inReference = ((Reference)nomenclaturalReference).getInReference();
                        if(inReference != null){
@@ -286,18 +287,20 @@ public class ParseHandler{
                                matchMatrix.duplicateInReferences = findMatchingNomenclaturalReference(inReference);
                        }
                }
-               
+
                matchMatrix.duplicateReferences = findMatchingNomenclaturalReference(nomenclaturalReference);
-               
+
                return matchMatrix;
        }
-       
+
        /**
         * @param nomenclaturalReference        The NomenclaturalReference to find matches for.
         * @return      A <code>List</code> of possibly matching NomenclaturalReference's.
         */
        private List<INomenclaturalReference> findMatchingNomenclaturalReference(INomenclaturalReference nomenclaturalReference) {
-               if(nomenclaturalReference == null) return new ArrayList<INomenclaturalReference>();
+               if(nomenclaturalReference == null) {
+            return new ArrayList<INomenclaturalReference>();
+        }
                try{
                        return CdmStore.getService(ICommonService.class).findMatching(nomenclaturalReference, MatchStrategyConfigurator.ReferenceMatchStrategy());
                }catch (MatchException e) {
@@ -315,7 +318,7 @@ public class ParseHandler{
                if(authorTeam == null){
                        return new ArrayList<TeamOrPersonBase>();
                }
-               
+
                try{
                        return CdmStore.getService(ICommonService.class).findMatching(authorTeam, MatchStrategyConfigurator.TeamOrPersonMatchStrategy());
                }catch (MatchException e) {
@@ -332,7 +335,7 @@ public class ParseHandler{
 
                try {
                        return CdmStore.getService(ICommonService.class).findMatching(taxonNameBase, MatchStrategyConfigurator.NonViralNameMatchStrategy());
-                       
+
                } catch (MatchException e) {
                        MessagingUtils.error(this.getClass(), "Error finding matching names", e);
                }
index 00a999bd835a197d2a17f7243d8f25cea94fedcd..8b151109d24e2cf12f5d26087a06c041ea6319ae 100644 (file)
@@ -17,8 +17,6 @@ import java.util.EnumSet;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.core.runtime.jobs.Job;
 import org.eclipse.swt.widgets.Display;
-import org.hibernate.collection.internal.AbstractPersistentCollection;
-import org.hibernate.proxy.AbstractLazyInitializer;
 import org.springframework.core.io.ClassPathResource;
 import org.springframework.core.io.Resource;
 import org.springframework.security.access.PermissionEvaluator;
@@ -32,7 +30,6 @@ import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
 import eu.etaxonomy.cdm.api.service.IService;
 import eu.etaxonomy.cdm.config.ICdmSource;
 import eu.etaxonomy.cdm.database.DbSchemaValidation;
-import eu.etaxonomy.cdm.database.ICdmDataSource;
 import eu.etaxonomy.cdm.ext.geo.IEditGeoService;
 import eu.etaxonomy.cdm.model.common.CdmBase;
 import eu.etaxonomy.cdm.model.common.Language;
@@ -100,7 +97,7 @@ public class CdmStore {
        protected static CdmStore getDefault() {
                if (instance != null && instance.isConnected) {
                        return instance;
-               } else if (instance == null || !instance.isConnected) {
+               } else{// if (instance == null || !instance.isConnected) {
 
                        MessagingUtils
                                        .warningDialog(
@@ -110,10 +107,8 @@ public class CdmStore {
                                                        + "connected to a datasource. You may choose a datasource to connect to or create a new one in the datasource view.");
 
                        AbstractUtility.showView(CdmDataSourceViewPart.ID);
-
+                       return null;
                }
-
-               throw new RuntimeException();
        }
 
        /**
@@ -129,7 +124,7 @@ public class CdmStore {
                        MessagingUtils.messageDialog("Connection to CDM Source Failed", CdmStore.class, "Could not connect to target CDM Source", e);
                }
 
-               
+
        }
 
        /**
@@ -203,7 +198,7 @@ public class CdmStore {
 
        private CdmStore(ICdmApplicationConfiguration applicationController,
                        ICdmSource cdmSource) {
-               this.applicationConfiguration = applicationController;          
+               this.applicationConfiguration = applicationController;
                this.cdmSource = cdmSource;
                isConnected = true;
        }
@@ -512,7 +507,7 @@ public class CdmStore {
                }
                return null;
        }
-       
+
        /**
         * <p>
         * getDataSource
index db37406d42e9673f27a5e6c072bef21039db4c17..a4754ca91b16209fce35b94e9232401cd6015c84 100644 (file)
@@ -84,10 +84,10 @@ public class ReferenceSelectionDialog extends AbstractFilteredCdmResourceSelecti
        protected String getTitle(Reference cdmObject) {
                if(cdmObject == null){
                        return "";
-               }else if(cdmObject.getAuthorTeam() == null){
+               }else if(cdmObject.getAuthorship() == null){
                        return super.getTitle(cdmObject);
                }else{
-                       return ReferenceDefaultCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorTeam().getTitleCache());
+                       return ReferenceDefaultCacheStrategy.putAuthorToEndOfString(cdmObject.getTitleCache(), cdmObject.getAuthorship().getTitleCache());
                }
        }
 
index 6cb8a02a346cafc51eeeb32c35052c4351d7e754..03f76ed7ce5a57d1fe595afa9768eed9e01d7775 100644 (file)
@@ -37,6 +37,7 @@ import org.eclipse.ui.forms.widgets.ExpandableComposite;
 import org.eclipse.ui.forms.widgets.FormToolkit;
 import org.eclipse.ui.forms.widgets.Section;
 import org.eclipse.ui.internal.forms.widgets.FormFonts;
+import org.joda.time.DateTime;
 import org.joda.time.Partial;
 import org.springframework.security.core.GrantedAuthority;
 
@@ -56,6 +57,7 @@ import eu.etaxonomy.cdm.model.common.Group;
 import eu.etaxonomy.cdm.model.common.ICdmBase;
 import eu.etaxonomy.cdm.model.common.IEnumTerm;
 import eu.etaxonomy.cdm.model.common.IdentifiableSource;
+import eu.etaxonomy.cdm.model.common.Identifier;
 import eu.etaxonomy.cdm.model.common.Language;
 import eu.etaxonomy.cdm.model.common.LanguageString;
 import eu.etaxonomy.cdm.model.common.Marker;
@@ -85,6 +87,7 @@ import eu.etaxonomy.cdm.model.media.Media;
 import eu.etaxonomy.cdm.model.media.MediaRepresentation;
 import eu.etaxonomy.cdm.model.media.MediaRepresentationPart;
 import eu.etaxonomy.cdm.model.media.Rights;
+import eu.etaxonomy.cdm.model.molecular.DnaSample;
 import eu.etaxonomy.cdm.model.name.NameRelationship;
 import eu.etaxonomy.cdm.model.name.NameTypeDesignation;
 import eu.etaxonomy.cdm.model.name.NomenclaturalStatus;
@@ -100,8 +103,7 @@ import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.ui.combo.EnumComboElement;
 import eu.etaxonomy.taxeditor.ui.combo.TermComboElement;
 import eu.etaxonomy.taxeditor.ui.element.MinMaxTextSection.UnitType;
-import eu.etaxonomy.taxeditor.ui.mvc.OriginalLabelDataController;
-import eu.etaxonomy.taxeditor.ui.mvc.OriginalLabelDataElement;
+import eu.etaxonomy.taxeditor.ui.mvc.element.DateElement;
 import eu.etaxonomy.taxeditor.ui.openurl.IOpenUrlEnabled;
 import eu.etaxonomy.taxeditor.ui.openurl.OpenUrlSelectorElement;
 import eu.etaxonomy.taxeditor.ui.password.EditPasswordElement;
@@ -239,11 +241,16 @@ import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.AmplificationGeneralDeta
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.AmplificationGeneralDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.AmplificationPrimerDetailElement;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.AmplificationPrimerDetailSection;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.CurrentSampleDesignationDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.DnaQualityDetailElement;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.DnaQualityDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.DnaSampleGeneralDetailElement;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.DnaSampleGeneralDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.PrimerGeneralDetailElement;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SampleDesignationDetailElement;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SampleDesignationDetailSection;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SampleDesignationHistoryDetailSection;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SampleDesignationTextDetailElement;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SequenceContigFileCollectionDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SequenceGeneralDetailElement;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SequenceGeneralDetailSection;
@@ -1812,6 +1819,12 @@ public class CdmFormFactory extends FormToolkit {
         return section;
     }
 
+    public SampleDesignationDetailSection createSampleDesignationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
+        SampleDesignationDetailSection section = new SampleDesignationDetailSection(this, conversation, parentElement, selectionProvider, style);
+        addAndAdaptSection(parentElement, section);
+        return section;
+    }
+
     public PreservedSpecimenDeterminationDetailSection createPreservedSpecimenDeterminationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style){
         PreservedSpecimenDeterminationDetailSection section = new PreservedSpecimenDeterminationDetailSection(this, conversation, parentElement, selectionProvider, style);
         addAndAdaptSection(parentElement, section);
@@ -2157,6 +2170,12 @@ public class CdmFormFactory extends FormToolkit {
         return element;
     }
 
+    public OriginalLabelDataElement createOriginalLabelDataElement(ICdmFormElement parentElement) {
+        OriginalLabelDataElement element = new OriginalLabelDataElement(this, parentElement);
+        addAndAdaptElement(parentElement, element);
+        return element;
+    }
+
     public PreservedSpecimenDetailElement createPreservedSpecimenDetailElement(ICdmFormElement parentElement) {
         PreservedSpecimenDetailElement element = new PreservedSpecimenDetailElement(this, parentElement);
         addAndAdaptElement(parentElement, element);
@@ -2175,6 +2194,12 @@ public class CdmFormFactory extends FormToolkit {
         return element;
     }
 
+    public SampleDesignationDetailElement createSampleDesignationDetailElement(ICdmFormElement parentElement) {
+        SampleDesignationDetailElement element = new SampleDesignationDetailElement(this, parentElement);
+        addAndAdaptElement(parentElement, element);
+        return element;
+    }
+
     /**
      * @param parentElement
      * @param element
@@ -2329,6 +2354,12 @@ public class CdmFormFactory extends FormToolkit {
         return section;
     }
 
+    public CurrentSampleDesignationDetailSection createCurrentSampleDesignationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
+        CurrentSampleDesignationDetailSection section = new CurrentSampleDesignationDetailSection(this, conversation, parentElement, style);
+        addAndAdaptSection(parentElement, section);
+        return section;
+    }
+
     public CurrentDeterminationDetailSection createCurrentDeterminationDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
         CurrentDeterminationDetailSection section = new CurrentDeterminationDetailSection(this, conversation, parentElement, style);
         addAndAdaptSection(parentElement, section);
@@ -2341,6 +2372,12 @@ public class CdmFormFactory extends FormToolkit {
         return section;
     }
 
+    public SampleDesignationHistoryDetailSection createSampleDesignationHistoryDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
+        SampleDesignationHistoryDetailSection section = new SampleDesignationHistoryDetailSection(this, conversation, parentElement, style);
+        addAndAdaptSection(parentElement, section);
+        return section;
+    }
+
     public DeterminationHistoryDetailSection createDeterminationHistoryDetailSection(ConversationHolder conversation, ICdmFormElement parentElement, int style){
         DeterminationHistoryDetailSection section = new DeterminationHistoryDetailSection(this, conversation, parentElement, style);
         addAndAdaptSection(parentElement, section);
@@ -2551,6 +2588,8 @@ public class CdmFormFactory extends FormToolkit {
             if (descriptionElement.getFeature().equals(Feature.PROTOLOGUE())) {
                 element = new ProtologueElement(this, parentElement, descriptionElement, removeListener, style);
             }
+        } else if (entity instanceof Identifier) {
+            element = new SampleDesignationTextDetailElement(this, parentElement, (Identifier<DnaSample>) entity, removeListener, backgroundColor, style);
         }
 
         if (element == null) {
@@ -2639,6 +2678,14 @@ public class CdmFormFactory extends FormToolkit {
         return labelElement;
     }
 
+    public DateElement createDateElement(ICdmFormElement formElement, String labelText, DateTime dateTime, int style){
+        Label label = new Label(formElement.getLayoutComposite(), style);
+        label.setText(labelText+" (yyyy-MM-dd)");
+        DateElement dateElement = new DateElement(formElement.getLayoutComposite(), dateTime, style);
+        dateElement.initController(this, formElement);
+        return dateElement;
+    }
+
     /**
      * <p>
      * Getter for the field <code>selectionProvider</code>.
@@ -2729,14 +2776,4 @@ public class CdmFormFactory extends FormToolkit {
         return section;
     }
 
-    /**
-     * @param parentElement
-     * @return
-     */
-    public OriginalLabelDataController createOriginalLabelDataController(AbstractCdmDetailSection<DerivedUnitFacade> parentElement) {
-        OriginalLabelDataElement originalLabelDataElement = new OriginalLabelDataElement(parentElement.getLayoutComposite(), SWT.NONE);
-        originalLabelDataElement.initController(this, parentElement);
-        return originalLabelDataElement.getController();
-    }
-
 }
index e5f21b4deb11fce9d0aa3be249f39b03becc9248..83e229bd4272bfeab55ed24bfa02f51964cc156c 100644 (file)
@@ -57,35 +57,47 @@ public class NumberWithLabelElement extends TextWithLabelElement {
        }
 
        /**
-        * <p>getInteger</p>
-        *
-        * @return a {@link java.lang.Integer} object.
+        * Get the value of this field as an {@link Integer}.
+        * @return the Integer value or null if {@link NumberFormatException} occurs.
         */
        public Integer getInteger() {
                String text = super.getText().trim();
-               return text.equals("") ? 0 : new Integer(text);
+               try {
+                   return text.equals("") ? 0 : new Integer(text);
+        } catch (NumberFormatException e) {
+            exception = e;
+        }
+               return null;
        }
 
        /**
-        * <p>getFloat</p>
-        *
-        * @return a {@link java.lang.Float} object.
+        * Get the value of this field as a {@link Float}.
+        * @return the Float value or null if {@link NumberFormatException} occurs.
         */
        public Float getFloat(){
-               String text = super.getText();
-               return new Float(text);
+           String text = super.getText();
+           try {
+               return new Float(text);
+           } catch (NumberFormatException e) {
+               exception = e;
+           }
+           return null;
        }
 
        /**
-        * <p>getDouble</p>
-        *
-        * @return a {@link java.lang.Float} object.
+        * Get the value of this field as an {@link Double}.
+        * @return the Double value or null if {@link NumberFormatException} occurs.
         */
        public Double getDouble(){
-               String text = super.getText();
-               return new Double(text);
+           String text = super.getText();
+           try {
+               return new Double(text);
+           } catch (NumberFormatException e) {
+               exception = e;
+           }
+           return null;
        }
-       
+
        private String getStringRepresentation(Object number){
                if(number != null){
                        return number.toString();
@@ -107,15 +119,16 @@ public class NumberWithLabelElement extends TextWithLabelElement {
 
                try{
 
-                       Float number = Float.parseFloat(value);
+                       Float number = Float.parseFloat(value);
 
                        if((start != null && number < start) || (end != null && number > end)){
-                               throw new NumberFormatException("You entered a number that is not within the allowed bounds.");
+                               exception = new NumberFormatException("You entered a number that is not within the allowed bounds.");
+                               throw exception;
                        }
 
                }catch(NumberFormatException e){
                        text.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_RED));
-                       firePropertyChangeEvent(new CdmPropertyChangeEvent(this, e));
+                       firePropertyChangeEvent(new CdmPropertyChangeEvent(this, event));
                        exception = e;
                        return;
                }
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/OriginalLabelDataElement.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/OriginalLabelDataElement.java
new file mode 100644 (file)
index 0000000..e5753d1
--- /dev/null
@@ -0,0 +1,63 @@
+// $Id$
+/**
+ * Copyright (C) 2014 EDIT
+ * European Distributed Institute of Taxonomy
+ * http://www.e-taxonomy.eu
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * See LICENSE.TXT at the top of this package for the full license terms.
+ */
+package eu.etaxonomy.taxeditor.ui.element;
+
+import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
+import eu.etaxonomy.taxeditor.ui.mvc.OriginalLabelDataField;
+import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
+
+/**
+ * @author pplitzner
+ * @date 17.06.2014
+ *
+ */
+public class OriginalLabelDataElement extends AbstractCdmDetailElement<DerivedUnitFacade> {
+
+    private TextWithLabelElement textOriginalLabelData;
+
+    /**
+     * @param formFactory
+     * @param formElement
+     */
+    public OriginalLabelDataElement(CdmFormFactory formFactory,
+            ICdmFormElement formElement) {
+        super(formFactory, formElement);
+    }
+
+    /*
+     * (non-Javadoc)
+     *
+     * @see
+     * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#createControls
+     * (eu.etaxonomy.taxeditor.forms.ICdmFormElement, java.lang.Object, int)
+     */
+    @Override
+    protected void createControls(ICdmFormElement formElement,
+            DerivedUnitFacade entity, int style) {
+        new OriginalLabelDataField(formElement.getLayoutComposite(), style, entity.innerDerivedUnit(), getFormFactory());
+//        textOriginalLabelData = formFactory.createTextWithLabelElement(formElement,
+//                "Original Label Data", entity.innerDerivedUnit().getOriginalLabelInfo(), SWT.MULTI);
+    }
+
+    /*
+     * (non-Javadoc)
+     *
+     * @see
+     * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#handleEvent(java
+     * .lang.Object)
+     */
+    @Override
+    public void handleEvent(Object eventSource) {
+        if (eventSource == textOriginalLabelData) {
+            getEntity().innerDerivedUnit().setOriginalLabelInfo(textOriginalLabelData.getText());
+        }
+    }
+
+}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataController.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataController.java
deleted file mode 100644 (file)
index d085ec3..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-// $Id$
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.ui.mvc;
-
-import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
-import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
-import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
-import eu.etaxonomy.taxeditor.ui.mvc.interfaces.CdmCompositeController;
-import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
-
-/**
- * @author pplitzner
- * @date 17.06.2014
- *
- */
-public class OriginalLabelDataController extends AbstractCdmDetailElement<DerivedUnitFacade> implements CdmCompositeController{
-
-    private final OriginalLabelDataElement originalLabelDataElement;
-
-    /**
-     * @param dateTimeElement
-     * @param formFactory
-     * @param parentElement
-     * @param initialDateTime
-     * @param none
-     */
-    public OriginalLabelDataController(CdmFormFactory formFactory, ICdmFormElement parentElement, OriginalLabelDataElement originalLabelDataElement, int style) {
-        super(formFactory, parentElement);
-        this.originalLabelDataElement = originalLabelDataElement;
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.ui.element.IRelevantFormElement#setIrrelevant(boolean)
-     */
-    @Override
-    public void setIrrelevant(boolean irrelevant) {
-        // TODO Auto-generated method stub
-
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.ui.element.IEnableableFormElement#setEnabled(boolean)
-     */
-    @Override
-    public void setEnabled(boolean enabled) {
-        originalLabelDataElement.setEnabled(enabled);
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.ui.element.IEnableableFormElement#isEnabled()
-     */
-    @Override
-    public boolean isEnabled() {
-        return originalLabelDataElement.isEnabled();
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement#createControls(eu.etaxonomy.taxeditor.ui.element.ICdmFormElement, java.lang.Object, int)
-     */
-    @Override
-    protected void createControls(ICdmFormElement formElement, DerivedUnitFacade entity, int style) {
-        originalLabelDataElement.getText().setText(entity.getTitleCache());
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement#handleEvent(java.lang.Object)
-     */
-    @Override
-    public void handleEvent(Object eventSource) {
-    }
-}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataElement.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataElement.java
deleted file mode 100644 (file)
index d064f6d..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-// $Id$
-/**
-* Copyright (C) 2014 EDIT
-* European Distributed Institute of Taxonomy
-* http://www.e-taxonomy.eu
-*
-* The contents of this file are subject to the Mozilla Public License Version 1.1
-* See LICENSE.TXT at the top of this package for the full license terms.
-*/
-package eu.etaxonomy.taxeditor.ui.mvc;
-
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.forms.widgets.TableWrapData;
-import org.eclipse.ui.forms.widgets.TableWrapLayout;
-
-import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
-import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
-
-/**
- * @author pplitzner
- * @date 17.06.2014
- *
- */
-public class OriginalLabelDataElement extends AbstractCdmComposite<OriginalLabelDataController>{
-    private final Text text;
-
-    /**
-     * @param parent
-     * @param style
-     */
-    public OriginalLabelDataElement(Composite parent, int style) {
-        super(parent, style);
-        {
-            TableWrapLayout tableWrapLayout = new TableWrapLayout();
-            tableWrapLayout.verticalSpacing = 0;
-            tableWrapLayout.topMargin = 0;
-            tableWrapLayout.rightMargin = 0;
-            tableWrapLayout.leftMargin = 0;
-            tableWrapLayout.horizontalSpacing = 0;
-            tableWrapLayout.bottomMargin = 0;
-            tableWrapLayout.numColumns = 3;
-            setLayout(tableWrapLayout);
-        }
-
-        Label lblOriginalLabelData = new Label(this, SWT.NONE);
-        lblOriginalLabelData.setLayoutData(new TableWrapData(TableWrapData.RIGHT, TableWrapData.TOP, 1, 1));
-        lblOriginalLabelData.setText("Original Label Data");
-
-        text = new Text(this, SWT.BORDER | SWT.READ_ONLY | SWT.WRAP | SWT.MULTI);
-        text.setEditable(false);
-        text.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB, TableWrapData.TOP, 1, 1));
-        new Label(this, SWT.NONE);
-
-        // TODO Auto-generated constructor stub
-    }
-
-    /* (non-Javadoc)
-     * @see eu.etaxonomy.taxeditor.ui.mvc.AbstractCdmComposite#initInternalController(eu.etaxonomy.taxeditor.ui.element.CdmFormFactory, eu.etaxonomy.taxeditor.ui.element.ICdmFormElement)
-     */
-    @Override
-    protected void initInternalController(CdmFormFactory formFactory, ICdmFormElement parentElement) {
-        controller = new OriginalLabelDataController(formFactory, parentElement, this, SWT.NONE);
-    }
-
-    public Text getText() {
-        return text;
-    }
-}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataField.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/mvc/OriginalLabelDataField.java
new file mode 100644 (file)
index 0000000..3603e4d
--- /dev/null
@@ -0,0 +1,113 @@
+// $Id$
+/**
+* Copyright (C) 2014 EDIT
+* European Distributed Institute of Taxonomy
+* http://www.e-taxonomy.eu
+*
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+package eu.etaxonomy.taxeditor.ui.mvc;
+
+import java.util.List;
+
+import org.eclipse.core.databinding.DataBindingContext;
+import org.eclipse.core.databinding.beans.BeansObservables;
+import org.eclipse.core.databinding.observable.value.IObservableValue;
+import org.eclipse.jface.databinding.swt.SWTObservables;
+import org.eclipse.jface.util.IPropertyChangeListener;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
+
+import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
+import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.CdmPropertyChangeEvent;
+
+/**
+ * @author pplitzner
+ * @date 23.06.2014
+ *
+ */
+public class OriginalLabelDataField extends Composite {
+
+    private DataBindingContext m_bindingContext;
+    private DerivedUnit derivedUnit = null;
+    private final Text originalLabelInfoText;
+    private CdmFormFactory formFactory;
+
+    public OriginalLabelDataField(Composite parent, int style, DerivedUnit newDerivedUnit, CdmFormFactory formFactory) {
+        this(parent, style);
+        setDerivedUnit(newDerivedUnit);
+        this.formFactory = formFactory;
+    }
+
+    public OriginalLabelDataField(Composite parent, int style) {
+        super(parent, style);
+        setLayout(new GridLayout(2, false));
+
+        new Label(this, SWT.NONE).setText("Original Label Data");
+
+        originalLabelInfoText = new Text(this, SWT.BORDER | SWT.WRAP | SWT.MULTI);
+        originalLabelInfoText.addModifyListener(new ModifyListener() {
+            @Override
+            public void modifyText(ModifyEvent e) {
+                if(formFactory!=null){
+                    List<IPropertyChangeListener> propertyChangeListeners = formFactory.getPropertyChangeListeners();
+                    for (IPropertyChangeListener iPropertyChangeListener : propertyChangeListeners) {
+                        iPropertyChangeListener.propertyChange(new CdmPropertyChangeEvent(OriginalLabelDataField.this, e));
+                    }
+                }
+            }
+        });
+        originalLabelInfoText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
+
+        if (derivedUnit != null) {
+            m_bindingContext = initDataBindings();
+        }
+    }
+
+    @Override
+    protected void checkSubclass() {
+        // Disable the check that prevents subclassing of SWT components
+    }
+
+    private DataBindingContext initDataBindings() {
+        IObservableValue originalLabelInfoObserveWidget = SWTObservables.observeText(originalLabelInfoText, SWT.Modify);
+        IObservableValue originalLabelInfoObserveValue = BeansObservables
+                .observeValue(derivedUnit, "originalLabelInfo");
+        //
+        DataBindingContext bindingContext = new DataBindingContext();
+        //
+        bindingContext.bindValue(originalLabelInfoObserveWidget, originalLabelInfoObserveValue, null, null);
+        //
+        return bindingContext;
+    }
+
+    public DerivedUnit getDerivedUnit() {
+        return derivedUnit;
+    }
+
+    public void setDerivedUnit(DerivedUnit newDerivedUnit) {
+        setDerivedUnit(newDerivedUnit, true);
+    }
+
+    public void setDerivedUnit(DerivedUnit newDerivedUnit, boolean update) {
+        derivedUnit = newDerivedUnit;
+        if (update) {
+            if (m_bindingContext != null) {
+                m_bindingContext.dispose();
+                m_bindingContext = null;
+            }
+            if (derivedUnit != null) {
+                m_bindingContext = initDataBindings();
+            }
+        }
+    }
+
+}
index 52edbe8a6f119c221a2eb5c5d8e97c780384f8fa..9fafead8120721bc81c7396822d2314201132347 100644 (file)
@@ -62,7 +62,7 @@ public class DateElement extends AbstractCdmComposite<DateElementController> {
             setLayout(tableWrapLayout);
         }
 
-        textDate = new Text(this, SWT.BORDER);
+        textDate = new Text(this, SWT.BORDER | SWT.WRAP);
         textDate.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB, TableWrapData.TOP, 1, 1));
         toolkit.adapt(textDate, true, true);
     }
index 12bcab92169b0318100cbe566bc56d8b9d09055a..3bacbb7a91485e9881d40888cb4297d64531af7f 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 /**
 * Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy 
+* European Distributed Institute of Taxonomy
 * http://www.e-taxonomy.eu
-* 
+*
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
@@ -31,48 +31,48 @@ import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
  * @version 1.0
  */
 public class OpenUrlSelectorWizard extends Wizard {
-       
-       private MobotOpenUrlServiceWrapper openUrlServiceWrapper;
 
-       private MobotOpenUrlQuery query;
-       
+       private final MobotOpenUrlServiceWrapper openUrlServiceWrapper;
+
+       private final MobotOpenUrlQuery query;
+
        private OpenUrlReference openUrlReference;
-       
-       private CdmFormFactory formFactory;
+
+       private final CdmFormFactory formFactory;
 
        private URI openUrlReferenceImageUri;
-       
-       private Reference reference;
-       
-       private String referenceDetail;
-       
-       
-       
+
+       private final Reference reference;
+
+       private final String referenceDetail;
+
+
+
        /**
-        * @param openUrlSelectorElement 
+        * @param openUrlSelectorElement
         * @param reference
         */
        public OpenUrlSelectorWizard(Reference reference, String referenceDetail) {
                if(reference == null){
                        throw new IllegalArgumentException("Reference may not be empty");
                }
-               
+
                this.reference = reference;
                this.referenceDetail = referenceDetail;
-               
+
                setWindowTitle("Mobot Open Url");
                setNeedsProgressMonitor(true);
-               
+
                formFactory = new CdmFormFactory(Display.getDefault());
-               
+
                openUrlServiceWrapper = new MobotOpenUrlServiceWrapper();
                openUrlServiceWrapper.setBaseUrl(PreferencesUtil.getPreferenceStore().getString(IPreferenceKeys.OPENURL_ACCESS_POINT));
-               
+
                query  = new MobotOpenUrlQuery();
-               
+
                query.refType = ReferenceType.getReferenceType(reference);
-               if(reference.getAuthorTeam() != null){
-                       query.authorName = reference.getAuthorTeam().getTitleCache();
+               if(reference.getAuthorship() != null){
+                       query.authorName = reference.getAuthorship().getTitleCache();
                }
                query.abbreviation = reference.getTitle();
                if(reference.getInReference() != null){
@@ -86,19 +86,19 @@ public class OpenUrlSelectorWizard extends Wizard {
                query.publicationPlace = reference.getPlacePublished();
                query.publisherName = reference.getPublisher();
                query.volume = reference.getVolume();
-               
+
                query.startPage = referenceDetail;
        }
-       
+
        /* (non-Javadoc)
         * @see org.eclipse.jface.wizard.Wizard#addPages()
         */
        @Override
        public void addPages() {
-               
+
                addPage(new OpenUrlResultPage());
                addPage(new OpenUrlReferencePage());
-               
+
                super.addPages();
        }
 
index 34f1cbbcc2b2a3b05c392f1ca94c658796673ee9..1d4a8cc3388c4fcd9565413acfedad9edf98e9da 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 /**
 * Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy 
+* European Distributed Institute of Taxonomy
 * http://www.e-taxonomy.eu
-* 
+*
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
@@ -14,6 +14,7 @@ import java.util.Arrays;
 import java.util.Collection;
 
 import org.eclipse.jface.action.Action;
+import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.action.ToolBarManager;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.swt.SWT;
@@ -46,43 +47,44 @@ public class CurrentDeterminationDetailSection extends
                        int style) {
                super(formFactory, conversation, parentElement, "Current Determination", style);
        }
-       
+
        @Override
        protected Control createToolbar() {
                ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT);
-               
-               Action addAction = new Action("add", Action.AS_PUSH_BUTTON){
+
+               Action addAction = new Action("add", IAction.AS_PUSH_BUTTON){
                        /* (non-Javadoc)
                         * @see org.eclipse.jface.action.Action#run()
                         */
                        @Override
                        public void run() {
                                DeterminationEvent element = createNewElement();
-                               
+
                                // set as preferred determination
                                getEntity().setPreferredDetermination(element);
-                               
+
                                if(element != null){
-                                       if(! getSection().isExpanded())
-                                               getSection().setExpanded(true);
-                                       internalUpdateSection(true); 
+                                       if(! getSection().isExpanded()) {
+                        getSection().setExpanded(true);
+                    }
+                                       internalUpdateSection(true);
                                }
                        }
                };
                addAction.setImageDescriptor(new ImageDescriptor() {
-                       
+
                        @Override
                        public ImageData getImageData() {
                                return ImageResources.getImage(ImageResources.ADD_ICON).getImageData();
                        }
                });
                addAction.setToolTipText(getTooltipString());
-               
+
                toolBarManager.add(addAction);
-               
+
                return toolBarManager.createControl(this);
        }
-       
+
        @Override
        public void refresh() {
                internalUpdateSection(false);
@@ -96,7 +98,7 @@ public class CurrentDeterminationDetailSection extends
                DeterminationEvent preferredDetermination = entity.getPreferredDetermination();
                return preferredDetermination != null ? Arrays.asList(new DeterminationEvent[]{preferredDetermination}) : null;
        }
-       
+
        /* (non-Javadoc)
         * @see eu.etaxonomy.taxeditor.ui.section.occurrence.AbstractDeterminationEventDetailSection#createNewElement()
         */
@@ -106,7 +108,7 @@ public class CurrentDeterminationDetailSection extends
                newElement.setPreferredFlag(true);
                return newElement;
        }
-       
+
 
        /* (non-Javadoc)
         * @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#getTooltipString()
index 00c732c4d3d3be9796a19b4c0228801778c11c67..a2be5ed29e1f1417ad5bb9efae318074bb3b323a 100644 (file)
@@ -51,7 +51,7 @@ public class DerivedUnitGeneralDetailElement extends
        private TextWithLabelElement text_accessionNumber;
        private GatheringEventUnitElement element_elevation;
 
-       
+
 
        /**
         * @param formFactory
@@ -75,9 +75,8 @@ public class DerivedUnitGeneralDetailElement extends
                toggleableText_titleCache = formFactory.createToggleableTextField(
                                formElement, "Title Cache", entity.getTitleCache(),
                                entity.isProtectedTitleCache(), style);
-               combo_specorobstype = formFactory
-                               .createEnumComboElement(SpecimenOrObservationType.class,
-                                               formElement, style);
+
+        combo_specorobstype = formFactory.createEnumComboElement(SpecimenOrObservationType.class, formElement, style);
                combo_specorobstype.setSelection(entity.getType());
                selection_country = formFactory.createSelectionElement(NamedArea.class, getConversationHolder(),
                                formElement, "Country",
@@ -89,7 +88,7 @@ public class DerivedUnitGeneralDetailElement extends
                                entity.getExactLocation(), style);
                element_elevation = formFactory.createGatheringEventUnitElement(
                                formElement, "Elevation : ", entity, MinMaxTextSection.UnitType.ELEVATION,  style);
-               
+
                element_date = formFactory.createTimePeriodElement(formElement, "Date",
                                entity.getGatheringPeriod(), style);
                selection_collector = formFactory
index d73d9ae5c5d1e7dc0b3ff06ce1a89bb45beb5e8b..e68552eb8649dca1603261beef1fe56d181f1b42 100644 (file)
@@ -65,6 +65,7 @@ public class FieldUnitGeneralDetailElement extends AbstractCdmDetailElement<Deri
     protected void createControls(ICdmFormElement formElement, DerivedUnitFacade entity, int style) {
         toggleableText_titleCache = formFactory.createToggleableTextField(formElement, "Title Cache",
                 entity.getTitleCache(), entity.isProtectedTitleCache(), style);
+
         combo_specorobstype = formFactory.createEnumComboElement(SpecimenOrObservationType.class, formElement, style);
         combo_specorobstype.setSelection(entity.getType());
         selection_country = formFactory.createSelectionElement(NamedArea.class, getConversationHolder(), formElement,
@@ -74,7 +75,7 @@ public class FieldUnitGeneralDetailElement extends AbstractCdmDetailElement<Deri
         element_point = formFactory.createPointElement(formElement, entity.getExactLocation(), style);
         element_elevation = formFactory.createGatheringEventUnitElement(
                                formElement, "Elevation : ", entity, MinMaxTextSection.UnitType.ELEVATION,  style);
-               
+
         element_date = formFactory.createTimePeriodElement(formElement, "Date", entity.getGatheringPeriod(), style);
         selection_collector = formFactory.createSelectionElement(AgentBase.class, getConversationHolder(), formElement,
                 "Collector", entity.getCollector(), EntitySelectionElement.ALL, style);
index 635dfd4226ed0bead42cbf829bcacc6fb284af7e..e4c1602b27a5eaa2319885d334bf5a6e3fd4eb38 100644 (file)
@@ -43,26 +43,7 @@ public class OriginalLabelDataSection extends AbstractCdmDetailSection<DerivedUn
      */
     @Override
     public String getHeading() {
-        return "Original Label Data: ";
-    }
-
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.forms.widgets.ExpandableComposite#setText(java.lang.String)
-     */
-    @Override
-    public void setText(String title) {
-        String text = getHeading();
-        if(getEntity()!=null){// && getEntity().getOriginalLabelData!=null){
-            String titleCache = getEntity().getTitleCache();
-            text += titleCache.substring(0, Math.min(10, titleCache.length()));
-            text += "...";
-        }
-        if(text!=null){
-            super.setText(text);
-        }
-        else{
-            super.setText(title);
-        }
+        return "Original Label Data";
     }
 
     /* (non-Javadoc)
@@ -70,7 +51,7 @@ public class OriginalLabelDataSection extends AbstractCdmDetailSection<DerivedUn
      */
     @Override
     protected AbstractCdmDetailElement<DerivedUnitFacade> createCdmDetailElement(AbstractCdmDetailSection<DerivedUnitFacade> parentElement, int style) {
-        return formFactory.createOriginalLabelDataController(parentElement);
+        return formFactory.createOriginalLabelDataElement(parentElement);
     }
 
 }
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AbstractSampleDesignationDetailSection.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/AbstractSampleDesignationDetailSection.java
new file mode 100644 (file)
index 0000000..beae890
--- /dev/null
@@ -0,0 +1,64 @@
+// $Id$
+/**
+* Copyright (C) 2007 EDIT
+* European Distributed Institute of Taxonomy
+* http://www.e-taxonomy.eu
+*
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+
+package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
+
+import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
+import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
+import eu.etaxonomy.cdm.model.common.Identifier;
+import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
+import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection;
+import eu.etaxonomy.taxeditor.view.derivateSearch.DerivateLabelProvider;
+
+/**
+ *
+ * @author pplitzner
+ * @date Oct 16, 2014
+ *
+ */
+public abstract class AbstractSampleDesignationDetailSection extends
+               AbstractEntityCollectionSection<IdentifiableEntity<?>, Identifier> {
+
+       public AbstractSampleDesignationDetailSection(CdmFormFactory formFactory,
+                       ConversationHolder conversation, ICdmFormElement parentElement,
+                       String title, int style) {
+               super(formFactory, conversation, parentElement, title, style);
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#createNewElement()
+        */
+       /** {@inheritDoc} */
+       @Override
+       public Identifier createNewElement() {
+           Identifier identifier = getEntity().addIdentifier(null, DerivateLabelProvider.getSampleDesignationTerm());
+               return identifier;
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#removeElement(eu.etaxonomy.cdm.model.common.IVersionableEntity)
+        */
+       /** {@inheritDoc} */
+       @Override
+       public void removeElement(Identifier sampleDesignation) {
+               getEntity().removeIdentifier(sampleDesignation);
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#getEmptyString()
+        */
+       /** {@inheritDoc} */
+       @Override
+       public String getEmptyString() {
+               return "No sample designations yet.";
+       }
+
+}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/CurrentSampleDesignationDetailSection.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/CurrentSampleDesignationDetailSection.java
new file mode 100644 (file)
index 0000000..322631e
--- /dev/null
@@ -0,0 +1,77 @@
+// $Id$
+/**
+* Copyright (C) 2007 EDIT
+* European Distributed Institute of Taxonomy
+* http://www.e-taxonomy.eu
+*
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+
+package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
+
+import java.util.Collection;
+import java.util.Collections;
+
+import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
+import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
+import eu.etaxonomy.cdm.model.common.Identifier;
+import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
+import eu.etaxonomy.taxeditor.view.derivateSearch.DerivateLabelProvider;
+
+/**
+ *
+ * @author pplitzner
+ * @date Oct 16, 2014
+ *
+ */
+public class CurrentSampleDesignationDetailSection extends AbstractSampleDesignationDetailSection {
+
+       public CurrentSampleDesignationDetailSection(CdmFormFactory formFactory,
+                       ConversationHolder conversation, ICdmFormElement parentElement,
+                       int style) {
+               super(formFactory, conversation, parentElement, "Current Sample Designation", style);
+       }
+
+       @Override
+       public void refresh() {
+               internalUpdateSection(false);
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection#getCollection(java.lang.Object)
+        */
+       @Override
+       public Collection<Identifier> getCollection(IdentifiableEntity<?> entity) {
+           Identifier currentSampleDesignation = DerivateLabelProvider.getCurrentSampleDesignation(entity);
+           if(currentSampleDesignation!=null){
+               return Collections.singleton(currentSampleDesignation);
+           }
+           else{
+               return Collections.emptyList();
+           }
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#getTooltipString()
+        */
+       /** {@inheritDoc} */
+       @Override
+       protected String getTooltipString() {
+               return "Create new current sample designation";
+       }
+
+          /* (non-Javadoc)
+     * @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#addElement(eu.etaxonomy.cdm.model.common.IVersionableEntity)
+     */
+    /** {@inheritDoc} */
+    @Override
+    public void addElement(Identifier sampleDesignation) {
+        //The current sample designation is always the first one found.
+        //The following are recent sample designations with the most recent being
+        //the second one found and so on
+        getEntity().addIdentifier(0, sampleDesignation);
+    }
+
+}
index ea6507c524925b1735f7eaf7c3e70984220a3d9e..039f2f745c00364d16aab23fcaad5a05bf2634a6 100644 (file)
@@ -9,9 +9,17 @@
 */
 package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
 
+import org.joda.time.DateTime;
+
+import eu.etaxonomy.cdm.model.common.DefinedTerm;
+import eu.etaxonomy.cdm.model.molecular.DnaQuality;
 import eu.etaxonomy.cdm.model.molecular.DnaSample;
+import eu.etaxonomy.taxeditor.ui.combo.TermComboElement;
 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
 import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
+import eu.etaxonomy.taxeditor.ui.element.NumberWithLabelElement;
+import eu.etaxonomy.taxeditor.ui.element.TextWithLabelElement;
+import eu.etaxonomy.taxeditor.ui.mvc.element.DateElement;
 import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
 
 /**
@@ -21,6 +29,16 @@ import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
  */
 public class DnaQualityDetailElement extends AbstractCdmDetailElement<DnaSample> {
 
+    //TODO: add vocabulary
+//    private final TermType qualityTermVocabulary = CdmStore.getService(IVocabularyService.class).find(VocabularyEnum.DnaQualityTerm.getUuid());
+
+    private TextWithLabelElement textPurificationMethod;
+    private NumberWithLabelElement numberRatioOfAbsorbance260_280;
+    private NumberWithLabelElement numberRatioOfAbsorbance260_230;
+    private NumberWithLabelElement numberConcentration;
+    private TermComboElement<DefinedTerm> comboQualityTerm;
+    private DateElement dateQualityCheck;
+
     /**
      * @param formFactory
      * @param formElement
@@ -38,14 +56,22 @@ public class DnaQualityDetailElement extends AbstractCdmDetailElement<DnaSample>
      */
     @Override
     protected void createControls(ICdmFormElement formElement, DnaSample entity, int style) {
-        //TODO DNA purification details
-        //TODO Ratio of absorbance 260-280
-        //TODO Ratio of absorbance 260-230
-        //TODO concentration unit
-        //TODO concentration
-        //TODO DNA quality
-        //TODO Quality check date
-        //TODO Descritpion
+        DnaQuality dnaQuality = entity.getDnaQuality();
+        if(dnaQuality==null){
+            dnaQuality = DnaQuality.NewInstance();
+            entity.setDnaQuality(dnaQuality);
+        }
+        Double ratioOfAbsorbance260_230 = dnaQuality.getRatioOfAbsorbance260_230();
+        Double ratioOfAbsorbance260_280 = dnaQuality.getRatioOfAbsorbance260_280();
+        Double concentration = dnaQuality.getConcentration();
+        DefinedTerm qualityTerm = dnaQuality.getQualityTerm();
+
+//        textPurificationMethod = formFactory.createTextWithLabelElement(formElement, "Purification Method", dnaQuality.getPurificationMethod(), style);
+        numberRatioOfAbsorbance260_280 = formFactory.createNumberTextWithLabelElement(formElement, "Ratio of absorbance 260-280", ratioOfAbsorbance260_280, style);
+        numberRatioOfAbsorbance260_230 = formFactory.createNumberTextWithLabelElement(formElement, "Ratio of absorbance 260-230", ratioOfAbsorbance260_230, style);
+        numberConcentration = formFactory.createNumberTextWithLabelElement(formElement, "Concentration", concentration, style);
+//        comboQualityTerm = formFactory.createDefinedTermComboElement(qualityTermVocabulary, formElement, "Quality Term", qualityTerm, style);
+        dateQualityCheck = formFactory.createDateElement(formElement, "Quality Check", dnaQuality.getQualityCheckDate(), style);
     }
 
     /*
@@ -57,5 +83,26 @@ public class DnaQualityDetailElement extends AbstractCdmDetailElement<DnaSample>
      */
     @Override
     public void handleEvent(Object eventSource) {
+        DnaQuality dnaQuality = getEntity().getDnaQuality();
+        if(eventSource==textPurificationMethod){
+            //TODO
+//            dnaQuality.setPurificationMethod(textPurificationMethod.getText());
+        }
+        else if(eventSource==numberRatioOfAbsorbance260_230){
+            dnaQuality.setRatioOfAbsorbance260_230(numberRatioOfAbsorbance260_230.getDouble());
+        }
+        else if(eventSource==numberRatioOfAbsorbance260_280){
+            dnaQuality.setRatioOfAbsorbance260_280(numberRatioOfAbsorbance260_280.getDouble());
+        }
+        else if(eventSource==numberConcentration){
+            dnaQuality.setConcentration(numberConcentration.getDouble());
+        }
+        else if(eventSource==comboQualityTerm){
+            dnaQuality.setQualityTerm(comboQualityTerm.getSelection());
+        }
+        else if(eventSource==dateQualityCheck.getController()){
+            DateTime dateTime = dateQualityCheck.getController().getDateTime();
+            dnaQuality.setQualityCheckDate(dateTime);
+        }
     }
 }
index d0dd9c4dd32735fba4dbee5880b3c4bb6ba48dfb..3b5dc4d88b17fb69ed89ac15cfa7e0f4b5e96eed 100644 (file)
@@ -31,7 +31,6 @@ import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
  */
 public class DnaSampleGeneralDetailElement extends AbstractCdmDetailElement<DnaSample> {
 
-
     private TimePeriodElement datePreservationDate;
     private EntitySelectionElement<AgentBase> selectionPreparedBy;
     private NumberWithLabelElement numberPreservationTemperature;
@@ -56,7 +55,7 @@ public class DnaSampleGeneralDetailElement extends AbstractCdmDetailElement<DnaS
     @Override
     protected void createControls(ICdmFormElement formElement, DnaSample entity, int style) {
         TimePeriod timePeriod = null;
-        AgentBase actor = null;
+        AgentBase<?> actor = null;
         Double temperature = null;
         DefinedTerm definedMaterialOrMethod = null;
         if(entity.getPreservation()!=null){
@@ -66,13 +65,13 @@ public class DnaSampleGeneralDetailElement extends AbstractCdmDetailElement<DnaS
             definedMaterialOrMethod = entity.getPreservation().getDefinedMaterialOrMethod();
         }
         datePreservationDate = formFactory.createTimePeriodElement(formElement, "Preservation date", timePeriod, style);
-        // TODO sample designation
         selectionPreparedBy = formFactory.createSelectionElement(AgentBase.class, getConversationHolder(), formElement, "Prepared by", actor, EntitySelectionElement.ALL, style);
         numberPreservationTemperature = formFactory.createNumberTextWithLabelElement(formElement, "Preservation Temp. [C°]", temperature, style);
         comboMaterialOrMethods = formFactory.createDefinedTermComboElement(TermType.MaterialOrMethod, formElement, "Materials & Methods", definedMaterialOrMethod, style);
         //TODO preparation date
         //TODO sample type
         textBarcode = formFactory.createTextWithLabelElement(formElement, "Barcode", entity.getBarcode(), style);
+
     }
 
     /*
index 214dc06cbdeeed407a3461043adea97eee3473d4..3ec0627e43e062282c7d4089ee45a31441690c44 100644 (file)
@@ -10,7 +10,7 @@
 package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
 
 import eu.etaxonomy.cdm.model.molecular.Primer;
-import eu.etaxonomy.cdm.model.molecular.Sequence;
+import eu.etaxonomy.cdm.model.molecular.SequenceString;
 import eu.etaxonomy.cdm.model.reference.Reference;
 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
 import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
@@ -53,7 +53,7 @@ public class PrimerGeneralDetailElement extends AbstractCdmDetailElement<Primer>
         textPrimerName = formFactory.createTextWithLabelElement(formElement, "Primer Name", entity.getLabel(), style);
         String sequenceString = "";
         if(entity.getSequence()!=null){
-            sequenceString = entity.getSequence().getSequenceString();
+            sequenceString = entity.getSequence().getString();
         }
         textPrimerSequence = formFactory.createTextWithLabelElement(formElement, "Primer seq. 5'->3'", sequenceString, style);
 
@@ -77,12 +77,12 @@ public class PrimerGeneralDetailElement extends AbstractCdmDetailElement<Primer>
             getEntity().setLabel(textPrimerName.getText());
         }
         else if(eventSource==textPrimerSequence){
-            Sequence sequence = getEntity().getSequence();
-            if(sequence==null){
-                sequence = Sequence.NewInstance("");
-                getEntity().setSequence(sequence);
+            SequenceString sequenceString = getEntity().getSequence();
+            if(sequenceString==null){
+                sequenceString = SequenceString.NewInstance("");
+                getEntity().setSequence(sequenceString);
             }
-            sequence.setSequenceString(textPrimerSequence.getText());
+            sequenceString.setString(textPrimerSequence.getText());
         }
         else if(eventSource==selectionReference){
             getEntity().setPublishedIn(selectionReference.getSelection());
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationDetailElement.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationDetailElement.java
new file mode 100644 (file)
index 0000000..3a12bfd
--- /dev/null
@@ -0,0 +1,69 @@
+// $Id$
+/**
+* Copyright (C) 2007 EDIT
+* European Distributed Institute of Taxonomy
+* http://www.e-taxonomy.eu
+*
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+
+package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
+
+import org.eclipse.ui.forms.widgets.ExpandableComposite;
+
+import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
+import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
+import eu.etaxonomy.taxeditor.ui.element.LayoutConstants;
+import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
+
+/**
+ *
+ * @author pplitzner
+ * @date Oct 20, 2014
+ *
+ */
+public class SampleDesignationDetailElement extends AbstractCdmDetailElement<IdentifiableEntity<?>> {
+
+       private CurrentSampleDesignationDetailSection sectionCurrentSampleDesignation;
+
+       private SampleDesignationHistoryDetailSection sectionSampleDesignationHistory;
+
+       /**
+        * @param formFactory
+        * @param formElement
+        */
+       public SampleDesignationDetailElement(CdmFormFactory formFactory,
+                       ICdmFormElement formElement) {
+               super(formFactory, formElement);
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement#createControls(eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement, java.lang.Object, int)
+        */
+       @Override
+       protected void createControls(ICdmFormElement formElement,
+               IdentifiableEntity<?> entity, int style) {
+
+        sectionCurrentSampleDesignation = formFactory.createCurrentSampleDesignationDetailSection(getConversationHolder(), formElement, ExpandableComposite.EXPANDED);
+        sectionCurrentSampleDesignation.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
+        sectionCurrentSampleDesignation.setEntity(entity);
+
+        sectionSampleDesignationHistory = formFactory.createSampleDesignationHistoryDetailSection(getConversationHolder(), formElement, ExpandableComposite.TWISTIE);
+        sectionSampleDesignationHistory.setLayoutData(LayoutConstants.FILL_HORIZONTALLY(2, 1));
+        sectionSampleDesignationHistory.setEntity(entity);
+
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement#handleEvent(java.lang.Object)
+        */
+       @Override
+       public void handleEvent(Object eventSource) {
+               if(eventSource == sectionCurrentSampleDesignation){
+                       sectionSampleDesignationHistory.refresh();
+               }
+       }
+
+}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationDetailSection.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationDetailSection.java
new file mode 100644 (file)
index 0000000..45f5731
--- /dev/null
@@ -0,0 +1,64 @@
+// $Id$
+/**
+* Copyright (C) 2007 EDIT
+* European Distributed Institute of Taxonomy
+* http://www.e-taxonomy.eu
+*
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+
+package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
+
+import org.eclipse.jface.viewers.ISelectionProvider;
+
+import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
+import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
+import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
+import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
+import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
+
+/**
+ * @author n.hoffmann
+ * @created May 11, 2011
+ * @version 1.0
+ */
+public class SampleDesignationDetailSection extends AbstractCdmDetailSection<IdentifiableEntity<?>> {
+
+       /**
+        * @param formFactory
+        * @param conversation
+        * @param parentElement
+        * @param selectionProvider
+        * @param style
+        */
+       public SampleDesignationDetailSection(CdmFormFactory formFactory,
+                       ConversationHolder conversation, ICdmFormElement parentElement,
+                       ISelectionProvider selectionProvider, int style) {
+               super(formFactory, conversation, parentElement, selectionProvider, style);
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#getHeading()
+        */
+       @Override
+       public String getHeading() {
+               return "Sample Designations";
+       }
+
+       @Override
+    protected void setSectionTitle() {
+           this.setText(getHeading());
+           setTextClient(createToolbar());
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
+        */
+       @Override
+       protected AbstractCdmDetailElement<IdentifiableEntity<?>> createCdmDetailElement(AbstractCdmDetailSection<IdentifiableEntity<?>> parentElement, int style) {
+           return formFactory.createSampleDesignationDetailElement(parentElement);
+       }
+
+}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationHistoryDetailSection.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationHistoryDetailSection.java
new file mode 100644 (file)
index 0000000..77e44fa
--- /dev/null
@@ -0,0 +1,88 @@
+// $Id$
+/**
+* Copyright (C) 2007 EDIT
+* European Distributed Institute of Taxonomy
+* http://www.e-taxonomy.eu
+*
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+
+package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
+
+import java.util.Collection;
+import java.util.LinkedList;
+
+import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
+import eu.etaxonomy.cdm.model.common.IdentifiableEntity;
+import eu.etaxonomy.cdm.model.common.Identifier;
+import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
+import eu.etaxonomy.taxeditor.view.derivateSearch.DerivateLabelProvider;
+
+/**
+ * @author n.hoffmann
+ * @created May 11, 2011
+ * @version 1.0
+ */
+public class SampleDesignationHistoryDetailSection extends AbstractSampleDesignationDetailSection {
+
+       /**
+        * @param formFactory
+        * @param conversation
+        * @param parentElement
+        * @param style
+        */
+       public SampleDesignationHistoryDetailSection(CdmFormFactory formFactory,
+                       ConversationHolder conversation, ICdmFormElement parentElement,
+                       int style) {
+               super(formFactory, conversation, parentElement, "Sample Designation History", style);
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection#getCollection(java.lang.Object)
+        */
+       @Override
+       public Collection<Identifier> getCollection(IdentifiableEntity<?> entity) {
+           LinkedList<Identifier> sampleDesignations = new LinkedList<Identifier>();
+           for (Identifier identifier : entity.getIdentifiers()) {
+               if(identifier.getType()!=null && identifier.getType().equals(DerivateLabelProvider.getSampleDesignationTerm())){
+                   sampleDesignations.add(identifier);
+               }
+           }
+           if(sampleDesignations.size()>0){
+               sampleDesignations.removeFirst();//first is the current sample designation
+           }
+           return sampleDesignations;
+       }
+
+       @Override
+       public void refresh() {
+               internalUpdateSection(false);
+       }
+
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#getTooltipString()
+        */
+       /** {@inheritDoc} */
+       @Override
+       protected String getTooltipString() {
+               return "Add a sample designation to the history";
+       }
+
+       /* (non-Javadoc)
+     * @see eu.etaxonomy.taxeditor.section.AbstractEntityCollectionSection#addElement(eu.etaxonomy.cdm.model.common.IVersionableEntity)
+     */
+    /** {@inheritDoc} */
+    @Override
+    public void addElement(Identifier sampleDesignation) {
+        //The current sample designation is always the first one found.
+        //The following are recent sample designations with the most recent being
+        //the second one found and so on
+        Identifier currentSampleDesignation = DerivateLabelProvider.getCurrentSampleDesignation(getEntity());
+        int indexOfCurrentSampleDesignation = getEntity().getIdentifiers().indexOf(currentSampleDesignation);
+        getEntity().addIdentifier(indexOfCurrentSampleDesignation+1, sampleDesignation);
+    }
+
+}
diff --git a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationTextDetailElement.java b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/occurrence/dna/SampleDesignationTextDetailElement.java
new file mode 100644 (file)
index 0000000..ef54fb2
--- /dev/null
@@ -0,0 +1,81 @@
+// $Id$
+/**
+ * Copyright (C) 2007 EDIT
+ * European Distributed Institute of Taxonomy
+ * http://www.e-taxonomy.eu
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * See LICENSE.TXT at the top of this package for the full license terms.
+ */
+
+package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
+
+import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.graphics.Color;
+
+import eu.etaxonomy.cdm.model.common.Identifier;
+import eu.etaxonomy.taxeditor.ui.element.AbstractFormSection;
+import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
+import eu.etaxonomy.taxeditor.ui.element.TextWithLabelElement;
+import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement;
+
+/**
+ *
+ * @author pplitzner
+ * @date Oct 16, 2014
+ *
+ * @param <T>
+ */
+public class SampleDesignationTextDetailElement extends
+               AbstractEntityCollectionElement<Identifier> {
+
+    protected TextWithLabelElement text_description;
+
+       /**
+     * @param formFactory
+     * @param section
+     * @param entity
+     * @param removeListener
+     * @param backgroundColor
+     * @param style
+     */
+    public SampleDesignationTextDetailElement(CdmFormFactory formFactory, AbstractFormSection<?> section,
+            Identifier entity, SelectionListener removeListener, Color backgroundColor, int style) {
+        super(formFactory, section, entity, removeListener, backgroundColor, style);
+    }
+
+       /*
+        * (non-Javadoc)
+        *
+        * @see
+        * eu.etaxonomy.taxeditor.section.AbstractEntityCollectionElement#createControls
+        * (eu.etaxonomy.taxeditor.forms.ICdmFormElement, int)
+        */
+       /** {@inheritDoc} */
+       @Override
+       public void createControls(ICdmFormElement element, int style) {
+               text_description = formFactory.createTextWithLabelElement(element,
+                               "Sample Designation", null, style);
+       }
+
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#handleEvent(java.lang.Object)
+     */
+    @Override
+    public void handleEvent(Object eventSource) {
+        if(eventSource==text_description){
+            this.entity.setIdentifier(text_description.getText());
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement#setEntity(java.lang.Object)
+     */
+    @Override
+    public void setEntity(Identifier entity) {
+        this.entity = entity;
+        text_description.setText(entity.getIdentifier());
+    }
+
+}
index f03ea461d12c6aaedcf52fd31a41dfb45c268c87..fa019eabde18ce590b3a8bdeb42dd340e0ee4638 100644 (file)
@@ -9,6 +9,8 @@
 */
 package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
 
+import org.eclipse.swt.widgets.Text;
+
 import eu.etaxonomy.cdm.model.common.DefinedTerm;
 import eu.etaxonomy.cdm.model.common.TermType;
 import eu.etaxonomy.cdm.model.molecular.Sequence;
@@ -33,6 +35,9 @@ public class SequenceGeneralDetailElement extends AbstractCdmDetailElement<Seque
     private NumberWithLabelElement textConsensusSequenceLength;
     private TextWithLabelElement textBarcodeSequence;
     private TextWithLabelElement textGeneticAccessNo;
+    private UriWithLabelElement textNCBIUri;
+    private UriWithLabelElement textENAUri;
+    private UriWithLabelElement textDDBJUri;
     private TextWithLabelElement textBoldProcessID;
     private UriWithLabelElement textBoldUri;
 
@@ -54,16 +59,22 @@ public class SequenceGeneralDetailElement extends AbstractCdmDetailElement<Seque
     @Override
     protected void createControls(ICdmFormElement formElement, Sequence entity, int style) {
         comboMarker = formFactory.createDefinedTermComboElement(TermType.DnaMarker, formElement, "DNA Marker", entity.getDnaMarker(), style);
-        textConsensusSequence = formFactory.createTextWithLabelElement(formElement, "Consensus Sequence 5'->3'", entity.getConsensusSequence().getString(), style);
-        textConsensusSequenceLength = formFactory.createNumberTextWithLabelElement(formElement, "Consensus Seq. Length", entity.getConsensusSequence().getLength(), style);
-        textConsensusSequenceLength.setEnabled(false);
+//        textConsensusSequence = formFactory.createTextWithLabelElement(formElement, "Consensus Sequence 5'->3'", entity.getConsensusSequence().getString(), style);
+//        textConsensusSequenceLength = formFactory.createNumberTextWithLabelElement(formElement, "Consensus Seq. Length", entity.getConsensusSequence().getLength(), style);
+//        ((Text) textConsensusSequenceLength.getMainControl()).setEditable(false);
         textBarcodeSequence = formFactory.createTextWithLabelElement(formElement, "Barcode Sequence 5'->3'", entity.getBarcodeSequencePart()==null?"":entity.getBarcodeSequencePart().getString(), style);
 
         textGeneticAccessNo = formFactory.createTextWithLabelElement(formElement, "Genetic Acc. No.", entity.getGeneticAccessionNumber(), style);
+        textNCBIUri = formFactory.createUriWithLabelElement(formElement, "NCBI URI", entity.getGenBankUri(), style);
+        ((Text) textNCBIUri.getMainControl()).setEditable(false);
+        textENAUri = formFactory.createUriWithLabelElement(formElement, "ENA URI", entity.getEmblUri(), style);
+        ((Text) textENAUri.getMainControl()).setEditable(false);
+        textDDBJUri = formFactory.createUriWithLabelElement(formElement, "DDBJ URI", entity.getDdbjUri(), style);
+        ((Text) textDDBJUri.getMainControl()).setEditable(false);
         textBoldProcessID = formFactory.createTextWithLabelElement(formElement, "BOLD Process ID", entity.getBoldProcessId(), style);
         textBoldUri = formFactory.createUriWithLabelElement(formElement, "BOLD URI", entity.getBoldUri(), style);
-        textBoldUri.setEnabled(false);
-
+        ((Text) textBoldUri.getMainControl()).setEditable(false);
+        ((Text) textBoldUri.getMainControl()).setToolTipText("Query BOLD");
     }
 
     /*
@@ -87,9 +98,6 @@ public class SequenceGeneralDetailElement extends AbstractCdmDetailElement<Seque
             getEntity().setConsensusSequence(consensusSequence);
             textConsensusSequenceLength.setNumber(consensusSequence.getLength());
         }
-        else if(eventSource==textConsensusSequenceLength){
-            // this is a derived value and should not be edited
-        }
         else if(eventSource==textBarcodeSequence){
             SequenceString barcodeSequencePart = getEntity().getBarcodeSequencePart();
             if(barcodeSequencePart==null){
@@ -100,6 +108,16 @@ public class SequenceGeneralDetailElement extends AbstractCdmDetailElement<Seque
         }
         else if(eventSource==textGeneticAccessNo){
             getEntity().setGeneticAccessionNumber(textGeneticAccessNo.getText());
+            if(textGeneticAccessNo.getText()!=null && !textGeneticAccessNo.getText().isEmpty()){
+                textNCBIUri.setUri(getEntity().getGenBankUri());
+                textENAUri.setUri(getEntity().getEmblUri());
+                textDDBJUri.setUri(getEntity().getDdbjUri());
+            }
+            else{
+                textNCBIUri.setText("");
+                textENAUri.setText("");
+                textDDBJUri.setText("");
+            }
         }
         else if(eventSource==textBoldProcessID){
             getEntity().setBoldProcessId(textBoldProcessID.getText());
@@ -110,9 +128,6 @@ public class SequenceGeneralDetailElement extends AbstractCdmDetailElement<Seque
                 textBoldUri.setText("");
             }
         }
-        else if(eventSource==textBoldUri){
-            //cannot be set because it is generated from the genetic access number and a base URI
-        }
     }
 
 }
index b4545e78fa2c73e7cf07acb00a7e40626d9ec2a1..f3e5de673c20b711b09a0793408e6d67d9c1e876 100644 (file)
@@ -11,15 +11,13 @@ package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
 
 import org.apache.log4j.Logger;
 
-import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
-import eu.etaxonomy.cdm.api.facade.MethodNotSupportedByDerivedUnitTypeException;
 import eu.etaxonomy.cdm.model.agent.AgentBase;
 import eu.etaxonomy.cdm.model.common.DefinedTerm;
 import eu.etaxonomy.cdm.model.common.TermType;
 import eu.etaxonomy.cdm.model.common.TimePeriod;
+import eu.etaxonomy.cdm.model.molecular.DnaSample;
 import eu.etaxonomy.cdm.model.occurrence.Collection;
 import eu.etaxonomy.cdm.model.occurrence.PreservationMethod;
-import eu.etaxonomy.taxeditor.model.MessagingUtils;
 import eu.etaxonomy.taxeditor.ui.combo.TermComboElement;
 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
 import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
@@ -33,17 +31,15 @@ import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
  * @date 16.12.2013
  *
  */
-public class TissueSampleGeneralDetailElement extends AbstractCdmDetailElement<DerivedUnitFacade> {
+public class TissueSampleGeneralDetailElement extends AbstractCdmDetailElement<DnaSample> {
 
     static private final Logger logger = Logger.getLogger(TissueSampleGeneralDetailElement.class);
 
-    //title cache
-    //sample designation
+    private TermComboElement<DefinedTerm> comboKindOfTissue;
     private TimePeriodElement datePreparation;
     private EntitySelectionElement<AgentBase> selectionPreparedBy;
     private TermComboElement<DefinedTerm> comboPreservationMedium;
     private TimePeriodElement datePreservation;
-    private EntitySelectionElement<AgentBase> selectionStoredAt;
     private EntitySelectionElement<Collection> selectionCollection;
     private TextWithLabelElement textAccessionNumber;
     private TextWithLabelElement textBarcode;
@@ -65,24 +61,22 @@ public class TissueSampleGeneralDetailElement extends AbstractCdmDetailElement<D
      * (eu.etaxonomy.taxeditor.forms.ICdmFormElement, java.lang.Object, int)
      */
     @Override
-    protected void createControls(ICdmFormElement formElement, DerivedUnitFacade entity, int style) {
-        //FIXME handle all parameters here and in handleEvent()
-        datePreparation = formFactory.createTimePeriodElement(formElement, "Preparation date", null, style);
-        selectionPreparedBy = formFactory.createSelectionElement(AgentBase.class, getConversationHolder(), formElement, "Prepared By", null, EntitySelectionElement.ALL, style);
+    protected void createControls(ICdmFormElement formElement, DnaSample entity, int style) {
+        //TODO handle all parameters here and in handleEvent()
+        comboKindOfTissue = formFactory.createDefinedTermComboElement(TermType.KindOfUnit, formElement, "Kind Of Tissue", entity.getKindOfUnit(), style);
+
         TimePeriod preservationDate = null;
         DefinedTerm preservationMedium = null;
-        try {
-            if(entity.getPreservationMethod()!=null){
-                preservationDate = entity.getPreservationMethod().getTimeperiod();
-                preservationMedium = entity.getPreservationMethod().getMedium();
-            }
-        } catch (MethodNotSupportedByDerivedUnitTypeException e) {
-            // we ignore this
-            MessagingUtils.info(e.getMessage());
+//        TimePeriod preparationDate = null;
+//        AgentBase preparedBy = null;
+        if(entity.getPreservation()!=null){
+            preservationDate = entity.getPreservation().getTimeperiod();
+            preservationMedium = entity.getPreservation().getMedium();
         }
+//        datePreparation = formFactory.createTimePeriodElement(formElement, "Preparation date", preparationDate, style);
+//        selectionPreparedBy = formFactory.createSelectionElement(AgentBase.class, getConversationHolder(), formElement, "Prepared By", preparedBy, EntitySelectionElement.ALL, style);
         comboPreservationMedium = formFactory.createDefinedTermComboElement(TermType.MaterialOrMethod, formElement, "Preservation medium", preservationMedium, style);
         datePreservation = formFactory.createTimePeriodElement(formElement, "Preservation date", preservationDate, style);
-        selectionStoredAt = formFactory.createSelectionElement(AgentBase.class, getConversationHolder(), formElement, "Stored at", null, EntitySelectionElement.ALL, style);
         selectionCollection = formFactory.createSelectionElement(Collection.class, getConversationHolder(), formElement, "Collection", entity.getCollection(), EntitySelectionElement.ALL, style);
         textAccessionNumber = formFactory.createTextWithLabelElement(formElement, "Accession Number", entity.getAccessionNumber(), style);
         textBarcode = formFactory.createTextWithLabelElement(formElement, "Barcode", entity.getBarcode(), style);
@@ -98,34 +92,35 @@ public class TissueSampleGeneralDetailElement extends AbstractCdmDetailElement<D
      */
     @Override
     public void handleEvent(Object eventSource) {
-//        if (eventSource==comboPreservationMedium) {
-//            addPreservationMethod().setMedium(comboPreservationMedium.getSelection());
-//        }
-//        else if (eventSource==datePreservation) {
-//            addPreservationMethod().setTimeperiod(datePreservation.getTimePeriod());
-//        }
-//        else if(eventSource==selectionCollection){
-//            getEntity().setCollection(selectionCollection.getSelection());
-//        }
-//        else if(eventSource==textAccessionNumber){
-//            getEntity().setAccessionNumber(textAccessionNumber.getText());
-//        }
-//        else if(eventSource==textBarcode){
-//            getEntity().setBarcode(textBarcode.getText());
-//        }
+        if(eventSource==comboKindOfTissue) {
+            getEntity().setKindOfUnit(comboKindOfTissue.getSelection());
+        }
+        else if(eventSource==selectionPreparedBy) {
+            addPreservationMethod().setActor(selectionPreparedBy.getSelection());
+        }
+        else if(eventSource==comboPreservationMedium) {
+            addPreservationMethod().setMedium(comboPreservationMedium.getSelection());
+        }
+        else if (eventSource==datePreservation) {
+            addPreservationMethod().setTimeperiod(datePreservation.getTimePeriod());
+        }
+        else if(eventSource==selectionCollection){
+            getEntity().setCollection(selectionCollection.getSelection());
+        }
+        else if(eventSource==textAccessionNumber){
+            getEntity().setAccessionNumber(textAccessionNumber.getText());
+        }
+        else if(eventSource==textBarcode){
+            getEntity().setBarcode(textBarcode.getText());
+        }
     }
 
     private PreservationMethod addPreservationMethod(){
         PreservationMethod preservationMethod = null;
-        try {
-            preservationMethod = getEntity().getPreservationMethod();
-            if(getEntity().getPreservationMethod()==null){
-                preservationMethod = PreservationMethod.NewInstance();
-                getEntity().setPreservationMethod(preservationMethod);
-            }
-        } catch (MethodNotSupportedByDerivedUnitTypeException e) {
-            // TODO Auto-generated catch block
-            e.printStackTrace();
+        preservationMethod = getEntity().getPreservation();
+        if(getEntity().getPreservation()==null){
+            preservationMethod = PreservationMethod.NewInstance();
+            getEntity().setPreservation(preservationMethod);
         }
         return preservationMethod;
     }
index 5ae74b7566b1e55aa17ca61731b3308755107105..df89f176b17e246dd01b5649b1baf38a52618af7 100644 (file)
@@ -12,7 +12,7 @@ package eu.etaxonomy.taxeditor.ui.section.occurrence.dna;
 import org.eclipse.jface.viewers.ISelectionProvider;
 
 import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
-import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
+import eu.etaxonomy.cdm.model.molecular.DnaSample;
 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
 import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
 import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
@@ -23,7 +23,7 @@ import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
  * @date 12.12.2013
  *
  */
-public class TissueSampleGeneralDetailSection extends AbstractCdmDetailSection<DerivedUnitFacade> {
+public class TissueSampleGeneralDetailSection extends AbstractCdmDetailSection<DnaSample> {
 
     /**
      * @param formFactory
@@ -51,7 +51,7 @@ public class TissueSampleGeneralDetailSection extends AbstractCdmDetailSection<D
      * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
      */
     @Override
-    protected AbstractCdmDetailElement<DerivedUnitFacade> createCdmDetailElement(AbstractCdmDetailSection<DerivedUnitFacade> parentElement, int style) {
+    protected AbstractCdmDetailElement<DnaSample> createCdmDetailElement(AbstractCdmDetailSection<DnaSample> parentElement, int style) {
         return formFactory.createTissueSampleGeneralDetailElement(parentElement);
     }
 
index fa748ef736fd5c4da507336fef72eeabc380131a..a1daa3a347e8a5d4d1bd01d023f5055c9537b0cc 100644 (file)
@@ -9,7 +9,6 @@
  */
 package eu.etaxonomy.taxeditor.ui.section.occurrence.media;
 
-import org.eclipse.swt.widgets.Label;
 import org.joda.time.DateTime;
 
 import eu.etaxonomy.cdm.api.service.IVocabularyService;
@@ -79,13 +78,7 @@ public class MediaSpecimenGeneralDetailElement extends AbstractCdmDetailElement<
             comboKindOfUnit = formFactory.createDefinedTermComboElement(mediaSpecimenVocabulary, formElement, "Kind of Media", entity.getKindOfUnit(), style);
             textTitleLanguageString = formFactory.createLanguageStringWithLabelElement(formElement, "Motif", media.getTitle(), style);
             selectionArtist = formFactory.createSelectionElement(AgentBase.class, getConversationHolder(), formElement, "Prepared by", media.getArtist(), EntitySelectionElement.ALL, style);
-
-            Label label = new Label(getLayoutComposite(), style);
-            label.setText("Preparation Date (yyyy-mm-dd)");
-            date = new DateElement(formElement.getLayoutComposite(), entity.getMediaSpecimen().getMediaCreated(), style);
-            date.initController(formFactory, formElement);
-
-
+            date = formFactory.createDateElement(formElement, "Preparation Date", entity.getMediaSpecimen().getMediaCreated(), style);
             textMethodLanguageString = formFactory.createLanguageStringWithLabelElement(formElement, "Method", media.getDescription(Language.getDefaultLanguage()), style);
             selection_collection = formFactory.createSelectionElement(Collection.class, getConversationHolder(), formElement, "Collection", entity.getCollection(), EntitySelectionElement.ALL, style);
             text_accessionNumber = formFactory.createTextWithLabelElement(formElement, "Accession Number", entity.getAccessionNumber(), style);
index f497d941619b9b811ed108f61b26a8deafb70e47..31bd726b4aea5249f8ce22cc658bf36301a3497b 100644 (file)
@@ -129,7 +129,7 @@ public class ReferenceDetailElement extends AbstractIdentifiableEntityDetailElem
                selection_authorTeam = formFactory
                                .createSelectionElement(AgentBase.class,
                                                getConversationHolder(), formElement, "Author",
-                                               AuthorHelper.getAuthor(entity.getAuthorTeam()),
+                                               AuthorHelper.getAuthor(entity.getAuthorship()),
                                                EntitySelectionElement.ALL, style);
 
                ReferenceType referenceType = entity.getType();
@@ -398,7 +398,7 @@ public class ReferenceDetailElement extends AbstractIdentifiableEntityDetailElem
                }
                // selections
                else if (eventSource == selection_authorTeam) {
-                       getEntity().setAuthorTeam(
+                       getEntity().setAuthorship(
                                        (TeamOrPersonBase) selection_authorTeam.getSelection());
                } else if (eventSource == selection_inReference) {
                        getEntity().setInReference(selection_inReference.getSelection());
index cf694e94fe7b1af71a6a191bc58a317dec50d90c..9521b5345640461fd994727301b913de944b44ea 100644 (file)
@@ -72,6 +72,7 @@ public class UpdateDataSourceHandler extends AbstractDataSourceHandler {
 
                                                                CdmDataSourceViewPart view = (CdmDataSourceViewPart) StoreUtil.getView(CdmDataSourceViewPart.ID, false);
                                                                if(view != null){
+                                                                   container.getMetaDataFromDataSource();
                                                                        view.getViewer().update(new CdmMetaDataAwareDataSourceContainer[]{container}, null);
                                                                }
 
index 29d858118abee0684e953b74abfc1c67a627c269..2d06fd31650d5461ff1bfef90095c9eef95f6da9 100644 (file)
@@ -20,11 +20,12 @@ import org.hibernate.LazyInitializationException;
 
 import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
 import eu.etaxonomy.cdm.api.service.IOccurrenceService;
+import eu.etaxonomy.cdm.model.common.CdmBase;
 import eu.etaxonomy.cdm.model.common.DefinedTerm;
+import eu.etaxonomy.cdm.model.common.Identifier;
 import eu.etaxonomy.cdm.model.molecular.DnaSample;
 import eu.etaxonomy.cdm.model.molecular.Sequence;
 import eu.etaxonomy.cdm.model.molecular.SingleRead;
-import eu.etaxonomy.cdm.model.occurrence.Collection;
 import eu.etaxonomy.cdm.model.occurrence.DerivedUnit;
 import eu.etaxonomy.cdm.model.occurrence.FieldUnit;
 import eu.etaxonomy.cdm.model.occurrence.GatheringEvent;
@@ -45,6 +46,8 @@ import eu.etaxonomy.taxeditor.store.CdmStore;
  */
 public class DerivateLabelProvider extends ColumnLabelProvider {
 
+    private static final String NO_SAMPLE_DESIGNATION = "[no sample designation]";
+
     private Set<SingleRead> multiLinkSingleReads;
 
     private ConversationHolder conversation;
@@ -53,6 +56,7 @@ public class DerivateLabelProvider extends ColumnLabelProvider {
     private static DefinedTerm drawingTerm = null;
     private static DefinedTerm specimenScanTerm = null;
     private static DefinedTerm detailImageTerm = null;
+    private static DefinedTerm sampleDesignationTerm = null;
 
     private static void initializeTerms() {
         List<DefinedTerm> preferredTerms = CdmStore.getTermManager().getPreferredTerms(DefinedTerm.class);
@@ -69,6 +73,9 @@ public class DerivateLabelProvider extends ColumnLabelProvider {
             else if(definedTerm.getUuid().equals(UUID.fromString("31eb8d02-bf5d-437c-bcc6-87a626445f34"))){
                 detailImageTerm = definedTerm;
             }
+            else if(definedTerm.getUuid().equals(UUID.fromString("fadeba12-1be3-4bc7-9ff5-361b088d86fc"))){
+                sampleDesignationTerm = definedTerm;
+            }
         }
     }
 
@@ -100,6 +107,13 @@ public class DerivateLabelProvider extends ColumnLabelProvider {
         return detailImageTerm;
     }
 
+    public static DefinedTerm getSampleDesignationTerm(){
+        if(sampleDesignationTerm==null){
+            initializeTerms();
+        }
+        return sampleDesignationTerm;
+    }
+
 
     /** {@inheritDoc} */
     @Override
@@ -122,98 +136,152 @@ public class DerivateLabelProvider extends ColumnLabelProvider {
 
     /**
      *
-     * @param element
+     * @param derivate
      * @return
      */
     public String getDerivateText(Object element){
+        //TODO: use list of strings to assemble labels to avoid adding the separator every time and to allow null values
+        TreeNode parentNode = null;
+        TreeNode node = null;
+        Object derivate = element;
         if(element instanceof TreeNode){
+            node = (TreeNode) element;
+            parentNode = node.getParent();
             //unwrap specimen from TreeNode
-            element = ((TreeNode) element).getValue();
+            derivate = node.getValue();
         }
 
         conversation.bind();
 
-        String label = "";
-        if(element instanceof FieldUnit){
-            FieldUnit fieldUnit = (FieldUnit)element;
+        final String emptyString = "";
+        final String separator = ", ";
+
+        String label = emptyString;
+
+        //Field Unit
+        if(derivate instanceof FieldUnit){
+            FieldUnit fieldUnit = (FieldUnit)derivate;
             if(fieldUnit.getGatheringEvent()!=null){
                 GatheringEvent gatheringEvent = fieldUnit.getGatheringEvent();
-                if(!conversation.getSession().contains(gatheringEvent)){
+                if(CdmStore.getService(IOccurrenceService.class).exists(fieldUnit.getUuid()) && !conversation.getSession().contains(gatheringEvent)){
                     fieldUnit = (FieldUnit) CdmStore.getService(IOccurrenceService.class).load(fieldUnit.getUuid());
                     gatheringEvent = fieldUnit.getGatheringEvent();
                 }
-                label += gatheringEvent.getCountry()!=null?gatheringEvent.getCountry().getLabel()+", ":"";
-                label += gatheringEvent.getLocality()!=null?gatheringEvent.getLocality().getText()+", ":"";
-                label += gatheringEvent.getGatheringDate()!=null?gatheringEvent.getGatheringDate()+", ":"";
-                label += gatheringEvent.getCollector()!=null?gatheringEvent.getCollector()+", ":"";
+                label += gatheringEvent.getCountry()!=null?gatheringEvent.getCountry().getLabel()+separator:emptyString;
+                label += gatheringEvent.getLocality()!=null?gatheringEvent.getLocality().getText()+separator:emptyString;
+                label += gatheringEvent.getGatheringDate()!=null?gatheringEvent.getGatheringDate()+separator:emptyString;
+                label += gatheringEvent.getCollector()!=null?gatheringEvent.getCollector()+separator:emptyString;
             }
-            label += fieldUnit.getFieldNumber()!=null?fieldUnit.getFieldNumber():"";
+            label += fieldUnit.getFieldNumber()!=null?fieldUnit.getFieldNumber():emptyString;
         }
-        else if(element instanceof MediaSpecimen){
-            MediaSpecimen mediaSpecimen = (MediaSpecimen)element;
+        //MediaSpecimen
+        else if(derivate instanceof MediaSpecimen){
+            MediaSpecimen mediaSpecimen = (MediaSpecimen)derivate;
             if(mediaSpecimen.getMediaSpecimen()!=null){
-                label += mediaSpecimen.getMediaSpecimen().getTitle()!=null?mediaSpecimen.getMediaSpecimen().getTitle().getText()+", ":"[no motif]";
-                label += mediaSpecimen.getMediaSpecimen().getArtist()!=null?mediaSpecimen.getMediaSpecimen().getArtist()+", ":"";
+                label += mediaSpecimen.getMediaSpecimen().getTitle()!=null?mediaSpecimen.getMediaSpecimen().getTitle().getText()+separator:"[no motif]";
+                label += mediaSpecimen.getMediaSpecimen().getArtist()!=null?mediaSpecimen.getMediaSpecimen().getArtist()+separator:emptyString;
             }
-            label += mediaSpecimen.getAccessionNumber()!=null?mediaSpecimen.getAccessionNumber()+", ":"";
-            Collection collection = mediaSpecimen.getCollection();
+            eu.etaxonomy.cdm.model.occurrence.Collection collection = mediaSpecimen.getCollection();
             if(collection!=null){
-                label += collection.getName()!=null?collection.getName()+" ":"";
+                label += collection.getName()!=null?collection.getName()+" ":emptyString;
+                label += collection.getCode()!=null?"("+collection.getCode()+")"+separator:emptyString;
             }
+            label += mediaSpecimen.getAccessionNumber()!=null?mediaSpecimen.getAccessionNumber()+separator:emptyString;
         }
-        else if(element instanceof DnaSample
-                || (element instanceof DerivedUnit
-                        && ((SpecimenOrObservationBase<?>) element).getRecordBasis()==SpecimenOrObservationType.DnaSample)){
-            //TODO implement
-            label += element.toString();
+        //TissueSample + DnaSample
+        else if(derivate instanceof DnaSample){
+            DnaSample dnaSample = (DnaSample)derivate;
+            if(((DnaSample) derivate).getRecordBasis()==SpecimenOrObservationType.DnaSample){
+                Identifier<DnaSample> currentSampleDesignation = getCurrentSampleDesignation(dnaSample);
+                if(currentSampleDesignation!=null && currentSampleDesignation.getIdentifier()!=null){
+                    label += currentSampleDesignation.getIdentifier()+separator;
+                }
+                else{
+                    label += NO_SAMPLE_DESIGNATION+separator;
+                }
+            }
+            else if(((DnaSample) derivate).getRecordBasis()==SpecimenOrObservationType.TissueSample){
+                label += dnaSample.getKindOfUnit()+separator;
+                Identifier<DnaSample> currentSampleDesignation = getCurrentSampleDesignation(dnaSample);
+                if(currentSampleDesignation!=null && currentSampleDesignation.getIdentifier()!=null){
+                    label += currentSampleDesignation.getIdentifier()+separator;
+                }
+                else{
+                    label += NO_SAMPLE_DESIGNATION+separator;
+                }
+            }
 
         }
-        else if(element instanceof DerivedUnit){
-            DerivedUnit derivedUnit = (DerivedUnit)element;
+        //DerivedUnit + TissueSample
+        else if(derivate instanceof DerivedUnit){
+            DerivedUnit derivedUnit = (DerivedUnit)derivate;
             if(derivedUnit.getRecordBasis()==SpecimenOrObservationType.PreservedSpecimen){
                 java.util.Collection<FieldUnit> fieldUnits = CdmStore.getService(IOccurrenceService.class).getFieldUnits(derivedUnit.getUuid());
                 if(fieldUnits!=null && !fieldUnits.isEmpty()){
                     FieldUnit fieldUnit = fieldUnits.iterator().next();
                     GatheringEvent gatheringEvent = fieldUnit.getGatheringEvent();
+//                  gatheringEvent = HibernateProxyHelper.deproxy(gatheringEvent, GatheringEvent.class);
                     if(gatheringEvent!=null){
-                        label += gatheringEvent.getCollector()!=null?gatheringEvent.getCollector()+", ":"";
+                        label += gatheringEvent.getCollector()!=null?gatheringEvent.getCollector()+separator:emptyString;
                     }
-                    label += fieldUnit.getFieldNumber()!=null?fieldUnit.getFieldNumber()+", ":"";
+                    label += fieldUnit.getFieldNumber()!=null?fieldUnit.getFieldNumber()+separator:emptyString;
                 }
-                Collection collection = derivedUnit.getCollection();
+                eu.etaxonomy.cdm.model.occurrence.Collection collection = derivedUnit.getCollection();
                 if(collection!=null){
-                    label += collection.getName()!=null?collection.getName()+" ":"";
-                    label += collection.getCode()!=null?"("+collection.getCode()+"), ":"";
+                    label += collection.getName()!=null?collection.getName()+" ":emptyString;
+                    label += collection.getCode()!=null?"("+collection.getCode()+"), ":emptyString;
                 }
-                label += derivedUnit.getAccessionNumber()!=null?derivedUnit.getAccessionNumber()+", ":"";
-                label += derivedUnit.getBarcode()!=null?derivedUnit.getBarcode():"";
+                label += derivedUnit.getAccessionNumber()!=null?derivedUnit.getAccessionNumber()+separator:emptyString;
+                label += derivedUnit.getBarcode()!=null?derivedUnit.getBarcode():emptyString;
             }
             else if(derivedUnit.getRecordBasis()==SpecimenOrObservationType.TissueSample){
-                //TODO: implement
-//                kindofTissue + SampleDesignation
+                //TissueSample should only be created by using it's own class
+                //in future using only one class with different SpecimenOrObservationTypes is desired
+//                label += derivedUnit.getKindOfUnit() + NO_SAMPLE_DESIGNATION;
             }
         }
-        else if(element instanceof Sequence){
-            Sequence sequence = (Sequence)element;
-            label += "SampleDesignation?"+", ";
-            label += sequence.getDnaMarker()!=null?sequence.getDnaMarker():"";
+        //Sequence
+        else if(derivate instanceof Sequence){
+            Sequence sequence = (Sequence)derivate;
+            Identifier<DnaSample> currentSampleDesignation = getCurrentSampleDesignation(sequence);
+            if(currentSampleDesignation!=null && currentSampleDesignation.getIdentifier()!=null){
+                label += currentSampleDesignation.getIdentifier()+separator;
+            }
+            else{
+                label += NO_SAMPLE_DESIGNATION+separator;
+            }
+            label += sequence.getDnaMarker()!=null?sequence.getDnaMarker():emptyString;
         }
-        else if(element instanceof SingleRead){
-            SingleRead singleRead = (SingleRead)element;
-            label += singleRead.getPrimer()!=null?singleRead.getPrimer().getLabel()+", ":"";
-            label += "Marker?";
+        //SingleRead
+        else if(derivate instanceof SingleRead){
+            SingleRead singleRead = (SingleRead)derivate;
+            if(parentNode!=null && parentNode.getValue() instanceof Sequence){
+                Sequence sequence = (Sequence) parentNode.getValue();
+                Identifier<DnaSample> currentSampleDesignation = getCurrentSampleDesignation(sequence);
+                if(currentSampleDesignation!=null && currentSampleDesignation.getIdentifier()!=null){
+                    label = currentSampleDesignation.getIdentifier()+separator;
+                }
+                else{
+                    label += NO_SAMPLE_DESIGNATION+separator;
+                }
+                label += singleRead.getPrimer()!=null?singleRead.getPrimer().getLabel()+separator:emptyString;
+                if(sequence!=null){
+                    label += sequence.getDnaMarker()!=null?sequence.getDnaMarker():emptyString;
+                }
+            }
         }
-        else if(element instanceof SpecimenOrObservationBase){
-            SpecimenOrObservationBase<?> derivate = (SpecimenOrObservationBase<?>) element;
-            SpecimenOrObservationType type = derivate.getRecordBasis();
-            return derivate.getTitleCache() + (type!=null?" ["+type.toString()+"]":"");
+        //SOOB
+        else if(derivate instanceof SpecimenOrObservationBase){
+            SpecimenOrObservationBase<?> specimen = (SpecimenOrObservationBase<?>) derivate;
+            SpecimenOrObservationType type = specimen.getRecordBasis();
+            return specimen.getTitleCache() + (type!=null?" ["+type.toString()+"]":emptyString);
         }
         if(label.isEmpty()){
-            label = element.toString();
+            label = derivate.toString();
         }
         //remove last comma
-        else if(label.endsWith(", ")){
-            label = label.substring(0, label.length()-2);
+        else if(label.endsWith(separator)){
+            label = label.substring(0, label.length()-separator.length());
         }
         return label;
     }
@@ -275,6 +343,25 @@ public class DerivateLabelProvider extends ColumnLabelProvider {
         return super.getImage(element);
     }
 
+    public static Identifier<DnaSample> getCurrentSampleDesignation(CdmBase entity) {
+        if(entity instanceof DnaSample){
+            DnaSample dnaSample = (DnaSample)entity;
+            for (Identifier<DnaSample> identifier : dnaSample.getIdentifiers()) {
+                if(identifier.getType()!=null && identifier.getType().equals(DerivateLabelProvider.getSampleDesignationTerm())){
+                    //first sample designation is the current
+                    return identifier;
+                }
+            }
+        }
+        else if(entity instanceof Sequence){
+            Sequence sequence = (Sequence)entity;
+            if(sequence.getDnaSample()!=null){
+                return getCurrentSampleDesignation(sequence.getDnaSample());
+            }
+        }
+        return null;
+    }
+
     /**
      * @param multiLinkSingleReads2
      */
index 536c3b2b78694396052c43ecc3fca9217bf3d5df..ea5a9ccf9a9f664a6b38a62d4ef9fb3cea53ef0b 100644 (file)
@@ -52,13 +52,15 @@ public class DerivateSearchCompositeController implements Listener{
     private final DerivateSearchComposite derivateSearchComposite;
     private IIdentifiableEntityServiceConfigurator<SpecimenOrObservationBase<DerivedUnitFacadeCacheStrategy>> configurator;
     private EnumTermComboController<SpecimenOrObservationType> enumTermComboController;
-    private DerivateLabelProvider labelProvider;
-
+    private final DerivateSearchView derivateSearchView;
+       private DerivateLabelProvider labelProvider;
     /**
      * @param parent
+     * @param derivateSearchView
      */
-    public DerivateSearchCompositeController(Composite parent) {
+    public DerivateSearchCompositeController(Composite parent, DerivateSearchView derivateSearchView) {
         this.derivateSearchComposite = new DerivateSearchComposite(parent, SWT.NONE);
+        this.derivateSearchView = derivateSearchView;
         init();
     }
 
@@ -106,6 +108,10 @@ public class DerivateSearchCompositeController implements Listener{
     }
 
     private void searchDerivates(){
+        if(!derivateSearchView.getConversationHolder().isBound()){
+            derivateSearchView.setFocus(); //rebind the conversation
+        }
+
         configurator.setTitleSearchString(derivateSearchComposite.getSearchField().getText());
         SpecimenOrObservationType type = enumTermComboController.getSelection();
         //filter by specimen type
@@ -151,6 +157,7 @@ public class DerivateSearchCompositeController implements Listener{
     public void reset(){
         derivateSearchComposite.getResultViewer().setInput(null);
         derivateSearchComposite.getSearchField().setText("");
+        enumTermComboController.setSelection(SpecimenOrObservationType.Unknown);
         derivateSearchComposite.getComboDerivateType().deselectAll();
     }
 
index 781bf6f0319a9a581d728fece4d76d6624df6c1c..7189a81df0b558398b385b18551152241be5cf45 100644 (file)
@@ -41,7 +41,7 @@ public class DerivateSearchView extends ViewPart implements IContextListener {
      */
     @Override
     public void createPartControl(Composite parent) {
-        derivateSearchCompositeController = new DerivateSearchCompositeController(parent);
+        derivateSearchCompositeController = new DerivateSearchCompositeController(parent, this);
         getSite().setSelectionProvider(derivateSearchCompositeController.getResultViewer());
         derivateSearchCompositeController.setEnabled(CdmStore.isActive());
     }
index 207e1e5edb7636da4a668fd9d9e6f4dcf049f5ab..697991efdbebbcf119dc32e4a928f1340be6d6eb 100644 (file)
@@ -12,6 +12,7 @@ package eu.etaxonomy.taxeditor.view.detail;
 
 import org.eclipse.jface.util.IPropertyChangeListener;
 import org.eclipse.jface.util.PropertyChangeEvent;
+import org.eclipse.swt.widgets.Control;
 import org.eclipse.ui.forms.SectionPart;
 
 import eu.etaxonomy.cdm.api.facade.DerivedUnitFacade;
@@ -120,15 +121,23 @@ public class CdmSectionPart<T> extends SectionPart implements
                if (event != null) {
 
                        Object eventSource = event.getSource();
+                       Control[] children = formSection.getLayoutComposite().getChildren();
+                       boolean containsElement = false;
+                       for (Control control : children) {
+                           if(eventSource.equals(control)){
+                               containsElement = true;
+                               break;
+                           }
+            }
+                       if(containsElement){
+                           markDirty();
+                       }
 
-                       if (formSection.equals(eventSource)){
+                       else if (formSection.equals(eventSource)){
                                markDirty();
                        }
-                       if((
-                                               (eventSource instanceof ICdmFormElement)
-                                               && formSection.containsFormElement((ICdmFormElement) eventSource))
-                                               ) {
-                               markDirty();
+                       else if(((eventSource instanceof ICdmFormElement)&& formSection.containsFormElement((ICdmFormElement) eventSource))) {
+                           markDirty();
                        }
                }
        }
index bedd1ffe717fd0619d1bef34a25d2e59eef552ee..bfe64abd77b1e20b89a5968f0469efb0b1c29a91 100644 (file)
@@ -101,6 +101,7 @@ import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.AmplificationGeneralDeta
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.AmplificationPrimerDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.DnaQualityDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.DnaSampleGeneralDetailSection;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SampleDesignationDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SequenceContigFileCollectionDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SequenceGeneralDetailSection;
 import eu.etaxonomy.taxeditor.ui.section.occurrence.dna.SequenceReferenceCollectionDetailSection;
@@ -291,7 +292,9 @@ public class DetailsViewer extends AbstractCdmDataViewer {
                 createDerivedUnitBaseElementSection(rootElement);
             }
             else if(((DerivedUnitFacade) input).getType()==SpecimenOrObservationType.TissueSample){
-                createTissueSampleSection(rootElement);
+                //TissueSample should only be created by using it's own class
+                //in future using only one class with different SpecimenOrObservationTypes is desired
+//                createTissueSampleSection(rootElement);
             }
             else if(((DerivedUnitFacade) input).getType()==SpecimenOrObservationType.StillImage){
                 createSpecimenScanSection(rootElement);
@@ -306,7 +309,13 @@ public class DetailsViewer extends AbstractCdmDataViewer {
                 createDerivedUnitBaseElementSection(rootElement);
             }
         } else if (input instanceof DnaSample){
-            createDnaSampleSection(rootElement);
+            DnaSample dnaSample = (DnaSample)input;
+            if(dnaSample.getRecordBasis()==SpecimenOrObservationType.TissueSample){
+                createTissueSampleSection(rootElement);
+            }
+            else if(dnaSample.getRecordBasis()==SpecimenOrObservationType.DnaSample){
+                createDnaSampleSection(rootElement);
+            }
         } else if (input instanceof MediaSpecimen){
             createMediaSpecimenSection(rootElement);
         }
@@ -758,7 +767,12 @@ public class DetailsViewer extends AbstractCdmDataViewer {
 
         TissueSampleGeneralDetailSection section = formFactory.createTissueSampleGeneralDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
 
+        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
+
+        SampleDesignationDetailSection sampleDesignationDetailSection = formFactory.createSampleDesignationDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
+
         addPart(section);
+        addPart(sampleDesignationDetailSection);
     }
 
     private void createDnaSampleSection(RootElement parent) {
@@ -770,8 +784,13 @@ public class DetailsViewer extends AbstractCdmDataViewer {
 
         DnaQualityDetailSection qualitySection = formFactory.createDnaQualityDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
 
+        formFactory.createHorizontalSeparator(parent, SWT.BORDER);
+
+        SampleDesignationDetailSection sampleDesignationDetailSection = formFactory.createSampleDesignationDetailSection(getConversationHolder(), parent, this, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
+
         addPart(section);
         addPart(qualitySection);
+        addPart(sampleDesignationDetailSection);
     }
 
     private void createAmplificationSection(RootElement parent) {
index 1eacc7cf85ac35ea51feb7766357d5bd821f4f07..d52b5b19652facf363dc8d581834fb310a3ac39e 100644 (file)
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: eu.etaxonomy.taxeditor.test
 Bundle-SymbolicName: eu.etaxonomy.taxeditor.test;singleton:=true
-Bundle-Version: 3.0.10.qualifier
+Bundle-Version: 3.4.0.qualifier
 Bundle-ActivationPolicy: lazy
 Bundle-Vendor: EDIT
 Bundle-RequiredExecutionEnvironment: JavaSE-1.6
index cbabcdb93c6223f3fb038b6471c6d7bd5b3f5f40..2fdee3be14e73bed09e76914a8c237047b16dcce 100644 (file)
@@ -4,7 +4,7 @@
        <parent>\r
                <groupId>eu.etaxonomy</groupId>\r
                <artifactId>taxeditor-parent</artifactId>\r
-               <version>3.0.12-SNAPSHOT</version>\r
+               <version>3.4.0-SNAPSHOT</version>\r
        </parent>\r
        <modelVersion>4.0.0</modelVersion>\r
        <artifactId>eu.etaxonomy.taxeditor.test</artifactId>\r
index cf45cfff69b70d223a2e9bc504587751ce523394..8d1923a5b0723554cb9d3ab31fd34935df20b31a 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?pde version="3.5"?>
 
-<product name="EDIT Taxonomic Editor" uid="eu.etaxonomy.taxeditor.product" id="eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product" application="eu.etaxonomy.taxeditor.application.application" version="3.3.8.qualifier" useFeatures="true" includeLaunchers="true">
+<product name="EDIT Taxonomic Editor" uid="eu.etaxonomy.taxeditor.product" id="eu.etaxonomy.taxeditor.application.eu_etaxonomy_taxeditor_product" application="eu.etaxonomy.taxeditor.application.application" version="3.4.0.qualifier" useFeatures="true" includeLaunchers="true">
 
    <aboutInfo>
       <image path="/eu.etaxonomy.taxeditor.application/icons/256color_48x48.gif"/>
    <vm>
    </vm>
 
-   <!--license>
-        <url>http://www.mozilla.org/MPL/</url>
-        <text>
-   The contents of this file are subject to the Mozilla Public License Version 1.1 (the &amp;quot;License&amp;quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at
-http://www.mozilla.org/MPL/
-
-Software distributed under the License is distributed on an &amp;quot;AS IS&amp;quot; basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
-         </text>
-   </license -->
-
    <plugins>
    </plugins>
 
index 22a6e9d99780b7e63c50271314b595314bf7eeef..9ab80b1d52a950ed76981c18b6adc45cee49944f 100644 (file)
@@ -3,7 +3,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>taxeditor-parent</artifactId>
-    <version>3.3.8-SNAPSHOT</version>
+    <version>3.4.0-SNAPSHOT</version>
   </parent>
 
   <modelVersion>4.0.0</modelVersion>
diff --git a/pom.xml b/pom.xml
index 6c7798a66459587a4f99b9f848108a4317cd4c41..3b7ab00e59512949606756d7c9dd688075c681d1 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
   </prerequisites>
   <groupId>eu.etaxonomy</groupId>
   <artifactId>taxeditor-parent</artifactId>
-  <version>3.3.8-SNAPSHOT</version>
+  <version>3.4.0-SNAPSHOT</version>
   <name>EDIT Taxonomic Editor</name>
   <description>The Taxonomic Editor for EDIT's platform for
     cybertaxonomy</description>
   <properties>
     <java.codelevel>1.6</java.codelevel>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <cdmlib.version>3.3.8-SNAPSHOT</cdmlib.version>
+    <cdmlib.version>3.4.0-SNAPSHOT</cdmlib.version>
     <!-- TODO can we use project.version ????? -->
     <tycho.version>0.14.0</tycho.version>
-    <taxeditor.version>3.3.8-SNAPSHOT</taxeditor.version>
+    <taxeditor.version>3.4.0-SNAPSHOT</taxeditor.version>
     <update.dir>snapshot</update.dir>
   </properties>
   <modules>