Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 380226 - Database Platform for SAP HANA Database
Summary: Database Platform for SAP HANA Database
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard: submitted_patch
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-22 05:18 EDT by Sabine Heider CLA
Modified: 2022-06-09 10:20 EDT (History)
3 users (show)

See Also:


Attachments
Patch containing the platform contribution (679.57 KB, patch)
2012-05-23 06:40 EDT, Sabine Heider CLA
douglas.clarke: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Heider CLA 2012-05-22 05:18:28 EDT
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.
Comment 1 Sabine Heider CLA 2012-05-23 06:40:42 EDT
Created attachment 216114 [details]
Patch containing the platform contribution
Comment 2 Tom Ware CLA 2012-05-23 10:20:01 EDT
Planning on taking a look soon.
Comment 3 Tom Ware CLA 2012-06-15 09:12:48 EDT
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.
Comment 4 Sabine Heider CLA 2012-06-15 12:03:40 EDT
(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.
Comment 5 Reiner Singer CLA 2012-06-19 03:52:17 EDT
I confirm also, that the HANAPlatform was authored 100% by Sabine & me.
Comment 6 Tom Ware CLA 2012-06-19 08:22:57 EDT
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)?
Comment 7 Reiner Singer CLA 2012-06-19 08:38:04 EDT
>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
Comment 8 Tom Ware CLA 2012-06-20 09:10:18 EDT
Patch checked in to incubator
Comment 9 Tom Ware CLA 2012-06-20 09:11:18 EDT
CQ 6569
Comment 11 Sabine Heider CLA 2012-07-04 05:27:48 EDT
Issues with the SAP HANA database platform are further tracked in bug 383862.
Comment 12 Eclipse Webmaster CLA 2022-06-09 10:20:45 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink