Community
Participate
Working Groups
Introduce support for the SAP HANA database platform. The patch includes - the platform class org.eclipse.persistence.platform.database.HANAPlatform - a corresponding isHANA() method in its superclass org.eclipse.persistence.internal.databaseaccess.DatasourcePlatform - an ant build script - a first set of test sources (copied from the main svn repository) that have been changed in order to run (or be skipped) on the SAP HANA platform. The build script produces a jar file "hana_platform.jar" containing the HANAPlatform and the DatasourcePlatform only, which can be added to the classpath of the application. It also produces a "hana_platform_src.zip" file containing the sources of the two classes, and a "hana_test.zip" file containing the sources of the adapted test classes. The build script defines a "merge-src" target that copies the contents of these zip files over the sources of the regular EclipseLink trunk repository, which allows you to build and run the adapted EclipseLink tests against the SAP HANA database.
Created attachment 216114 [details] Patch containing the platform contribution
Planning on taking a look soon.
Sabine, Please answer the following questions in this bug: 1. Did you author 100% of the content being contributed? 2. Do you have the rights to contribute the content to Eclipse? 3. Are you contributing the content under the Project License (Dual EPL/EDL)? The answers are required by the Eclipse Legal team before we can accept this code.
(In reply to comment #3) > 1. Did you author 100% of the content being contributed? a) The HANAPlatform class is authored 100% by Reiner Singer from SAP (reiner.singer@sap.com) and me. I'll ask Reiner by email to confirm this as well. b) The class DatasourcePlatform and everything in the "test" folder is copied from the EclipseLink trunk branch and only adapted in a few places to make the tests run or being skipped on HANA. The modifications to these files are 100% by me. c) The remaining files (mainly build files) are authored 100% by me. If the copied sources cause legal difficulties, please let me know. I actually planned to contribute the changes in the tests directly to the main EclipseLink repo as soon as the platform is in incubation. I placed them here only temporarily so that the test changes are visible to the community as well (instead of collecting them on my pc). > 2. Do you have the rights to contribute the content to Eclipse? Yes. > 3. Are you contributing the content under the Project License (Dual EPL/EDL)? Yes.
I confirm also, that the HANAPlatform was authored 100% by Sabine & me.
Reiner, Could you please also post answers to the following questions: 2. Do you have the rights to contribute the content to Eclipse? 3. Are you contributing the content under the Project License (Dual EPL/EDL)?
>2. Do you have the rights to contribute the content to Eclipse? yes >3. Are you contributing the content under the Project License (Dual EPL/EDL)? yes
Patch checked in to incubator
CQ 6569
Added Wiki page: http://wiki.eclipse.org/EclipseLink/Development/Incubator/Extensions/HANAPlatform
Issues with the SAP HANA database platform are further tracked in bug 383862.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink