Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Development/Incubator/Extensions/HANAPlatform"

m (12. September 2012)
(12. September 2012)
Line 31: Line 31:
 
== Level of Testing ==
 
== Level of Testing ==
  
=== 12. September 2012 ===
+
=== 11. December 2012 ===
  
* EclipseLink master (commit 67decf461b874f1f690d09a93939a36fd33433a2, 11. September 2012) + HANA Platform (commit b6a28b9ce554168d9061bf647026edf2802a7d4d, 4. September 2012) + patches from the following bugs: {{bug|384237}}, {{bug|384129}} (attachment 221000 only)
+
* EclipseLink master (commit b0202ac783b3920b362d77c75245e7d34b765bc1) + HANA Platform (commit 89106f515530b763a76179832b8e1fbcbc17f58e) + patches from the following bugs: {{bug|396259}}
 
* DB: SAP HANA 1.00.31.362930
 
* DB: SAP HANA 1.00.31.362930
 
* JDBC Driver: SAP In-Memory Database JDBC Driver 1.00.31 Build 0362930-1510
 
* JDBC Driver: SAP In-Memory Database JDBC Driver 1.00.31 Build 0362930-1510
Line 45: Line 45:
 
| Core SRG || 693 || 0  
 
| Core SRG || 693 || 0  
 
|- bgcolor="#ffe0e0"
 
|- bgcolor="#ffe0e0"
| Core LRG || 7997 || 3
+
| Core LRG || 8001 || 3
|- bgcolor="#ffe0e0"
+
|- bgcolor="#e0ffe0"
| JPA SRG || 238 || 4
+
| JPA SRG || 244 || 0
 
|- bgcolor="#ffe0e0"
 
|- bgcolor="#ffe0e0"
| JPA WDF || 852 || 2
+
| JPA LRG || 2902 || 14
 
|- bgcolor="#ffe0e0"
 
|- bgcolor="#ffe0e0"
| JPA LRG || 2759 || 24
+
| JPA WDF || 852 || 1
 
|- bgcolor="#ffffe0"
 
|- bgcolor="#ffffe0"
 
| Server LRG (GlassFish v3)|| ? || ?
 
| Server LRG (GlassFish v3)|| ? || ?
Line 71: Line 71:
 
|- bgcolor="#ffe0e0"
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.queries.QueryFrameworkTestSuite$5.JoinSubclassesQueryTest || n/a || Invalid argument resultSetType, use TYPE_FORWARD_ONLY  
 
| org.eclipse.persistence.testing.tests.queries.QueryFrameworkTestSuite$5.JoinSubclassesQueryTest || n/a || Invalid argument resultSetType, use TYPE_FORWARD_ONLY  
|}
 
 
===== JPA SRG =====
 
{|{{BMTableStyle}}
 
|-{{BMTHStyle}}
 
! Test Name
 
! Bug
 
! Description/Reason
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testProviderPropertySetting || n/a || EclipseLink ignored persistence provider class provided through properties.
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testSequenceObjectDefinition || n/a || Transaction is currently active
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testUpdateUsingTempStorage || n/a || Query requires temporary storage, but HANAPlatform doesn't support temporary tables
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testUpdateUsingTempStorageWithParameter || n/a || Query requires temporary storage, but HANAPlatform doesn't support temporary tables
 
 
|}
 
|}
  
Line 97: Line 81:
 
! Description/Reason  
 
! Description/Reason  
 
|- bgcolor="#ffe0e0"
 
|- bgcolor="#ffe0e0"
| org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testProviderPropertySetting || n/a || EclipseLink ignored persistence provider class provided through properties.
+
| org.eclipse.persistence.testing.tests.jpa.advanced.JPAAdvancedTestModel.JPAAdvancedTestModel || n/a || sql syntax error
|- bgcolor="#ffe0e0"
+
| org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testSequenceObjectDefinition || n/a || Transaction is currently active
+
|- bgcolor="#ffe0e0"
+
| org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testUpdateUsingTempStorage || n/a || Query requires temporary storage, but HANAPlatform doesn't support temporary tables
+
|- bgcolor="#ffe0e0"
+
| org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testUpdateUsingTempStorageWithParameter || n/a || Query requires temporary storage, but HANAPlatform doesn't support temporary tables
+
|- bgcolor="#ffe0e0"
+
| org.eclipse.persistence.testing.tests.jpa.advanced.JPAAdvancedTestModel.JPAAdvancedTestModel || n/a || platform DatabasePlatform does not support NativeSequence
+
|- bgcolor="#ffe0e0"
+
| org.eclipse.persistence.testing.tests.jpa.advanced.UpdateAllQueryAdvancedJunitTest.testFirstNamePrefixBLADoubleSalaryForSalaryForFirstName || n/a || Query requires temporary storage, but HANAPlatform doesn't support temporary tables
+
|- bgcolor="#ffe0e0"
+
| org.eclipse.persistence.testing.tests.jpa.composite.advanced.EntityManagerJUnitTestSuite.testSequenceObjectDefinition || n/a || cannot use duplicate sequence name: TESTCOMPSEQOBJECTDEFINITION
+
 
|- bgcolor="#ffe0e0"
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.criteria.AdvancedCriteriaQueryTestSuite.testCursors || n/a || Invalid argument resultSetType, use TYPE_FORWARD_ONLY.  
 
| org.eclipse.persistence.testing.tests.jpa.criteria.AdvancedCriteriaQueryTestSuite.testCursors || n/a || Invalid argument resultSetType, use TYPE_FORWARD_ONLY.  
Line 134: Line 106:
 
|- bgcolor="#ffe0e0"
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testPrimaryKeyJoinColumns || n/a || invalid column name: NAME  
 
| org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testPrimaryKeyJoinColumns || n/a || invalid column name: NAME  
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.fieldaccess.advanced.EntityManagerJUnitTestSuite.testSequenceObjectDefinition || n/a || cannot use duplicate sequence name: TESTFASEQOBJECTSDEFINITION
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.fieldaccess.advanced.EntityManagerJUnitTestSuite.testUpdateUsingTempStorage || n/a || Query requires temporary storage, but HANAPlatform doesn't support temporary tables
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.fieldaccess.advanced.EntityManagerJUnitTestSuite.testUpdateUsingTempStorageWithParameter || n/a || Query requires temporary storage, but HANAPlatform doesn't support temporary tables
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.fieldaccess.advanced.UpdateAllQueryAdvancedJunitTest.testFirstNamePrefixBLADoubleSalaryForSalaryForFirstName || n/a || Query requires temporary storage, but HANAPlatform doesn't support temporary tables
 
 
|- bgcolor="#ffe0e0"
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.jpa.jpql.AdvancedQueryTestSuite.testCursors || n/a || Invalid argument resultSetType, use TYPE_FORWARD_ONLY  
 
| org.eclipse.persistence.testing.tests.jpa.jpql.AdvancedQueryTestSuite.testCursors || n/a || Invalid argument resultSetType, use TYPE_FORWARD_ONLY  
Line 153: Line 117:
 
! Bug  
 
! Bug  
 
! Description/Reason  
 
! Description/Reason  
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.wdf.jpa1.relation.TestMap.testColorOffice || n/a || invalid table name:  Could not find table/view TMP_OFFICE_CUBICLE in schema ECLIPSELINK
 
 
|- bgcolor="#ffe0e0"
 
|- bgcolor="#ffe0e0"
 
| org.eclipse.persistence.testing.tests.wdf.jpa1.generator.TestSequence.testAllocSize || n/a || wrong allocation expected:<4> but was:<2>  
 
| org.eclipse.persistence.testing.tests.wdf.jpa1.generator.TestSequence.testAllocSize || n/a || wrong allocation expected:<4> but was:<2>  

Revision as of 07:03, 11 December 2012

Note: This page describes an extension of EclipseLink that is part of the EclipseLink incubator. Incubator projects are published so the community can use them either to progress towards having them included in the main product, or to use in their own implementations. They have been tested to varying levels and as such, we recommend doing your own testing before including any of this code in a production-level product.

Bugs

  • bug 380226 (Database Platform for SAP HANA Database) - Initial bug for taking HANAPlatform to the incubator (resolved)
  • bug 383862 (Preparing Database Platform for SAP HANA Database for Promotion into trunk) - Bug for collecting/tracking test issues

Description

This is a subclass of DatabasePlatform that can be used by customers using the SAP HANA database.

Documentation

TBD

Limitations of the Platform

  • Reserved SQL keywords cannot be used as table, column or sequence names. Use a different name, or enclose the name in double quotes. For example: @Column(name="\"LANGUAGE\"")
  • Pessimistic locking adds 'FOR UPDATE' to the SELECT statement, and cannot be used with queries that use DISTINCT.
  • Pessimistic locking cannot be used with queries that select from multiple tables - see bug 384129
  • The LockNoWait option of Pessimistic Locking cannot be used; it is ignored when specified (i.e. only 'FOR UPDATE' is added to the SELECT statement).
  • Bulk update and delete operations that require multiple tables to be accessed cannot be used (e.g. bulk operation on an entity that is part of an inheritance hierarchy, UpdateAll and DeleteAll queries).
  • '= NULL' and '<> NULL' cannot be used for null comparisons in the WHERE clause. Use 'IS (NOT) NULL' instead.
  • Scrollable cursors are not supported - see bug 384116.
  • Query timeouts are not supported - see bug 384135.

Location

TBD

Level of Testing

11. December 2012

  • EclipseLink master (commit b0202ac783b3920b362d77c75245e7d34b765bc1) + HANA Platform (commit 89106f515530b763a76179832b8e1fbcbc17f58e) + patches from the following bugs: bug 396259
  • DB: SAP HANA 1.00.31.362930
  • JDBC Driver: SAP In-Memory Database JDBC Driver 1.00.31 Build 0362930-1510
Test Name Tests Failures/Errors
Core SRG 693 0
Core LRG 8001 3
JPA SRG 244 0
JPA LRG 2902 14
JPA WDF 852 1
Server LRG (GlassFish v3)  ?  ?

Details on Errors/Failures

Core LRG
Test Name Bug Description/Reason
org.eclipse.persistence.testing.tests.feature.CacheStatementBatchWritingTest.CacheStatementBatchWritingTest n/a Statements were not cached correctly
org.eclipse.persistence.testing.tests.queries.QueryFrameworkTestSuite$5.JoinSubclassesQueryTest n/a Invalid argument resultSetType, use TYPE_FORWARD_ONLY
org.eclipse.persistence.testing.tests.queries.QueryFrameworkTestSuite$5.JoinSubclassesQueryTest n/a Invalid argument resultSetType, use TYPE_FORWARD_ONLY
JPA LRG
Test Name Bug Description/Reason
org.eclipse.persistence.testing.tests.jpa.advanced.JPAAdvancedTestModel.JPAAdvancedTestModel n/a sql syntax error
org.eclipse.persistence.testing.tests.jpa.criteria.AdvancedCriteriaQueryTestSuite.testCursors n/a Invalid argument resultSetType, use TYPE_FORWARD_ONLY.
org.eclipse.persistence.testing.tests.jpa.criteria.AdvancedQueryTestSuite.testCursors n/a Invalid argument resultSetType, use TYPE_FORWARD_ONLY.
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testAssociationOverrideToEmbeddedManyToMany n/a invalid column name: invalid column name: JUSTTOTEST
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testAssociationOverrideToEmbeddedManyToMany n/a invalid column name: invalid column name: JUSTTOTEST
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testDDLUniqueKeysAsJoinColumns n/a invalid column name: B_CODE
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testDDLUniqueKeysAsJoinColumns n/a invalid column name: B_CODE
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testDeleteObjectWithEmbeddedManyToMany n/a invalid column name: JUSTTOTEST
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testDeleteObjectWithEmbeddedManyToMany n/a invalid column name: JUSTTOTEST
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testManyToManyWithMultipleJoinColumns n/a invalid column name: B_CODE
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testManyToManyWithMultipleJoinColumns n/a invalid column name: B_CODE
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testPrimaryKeyJoinColumns n/a invalid column name: NAME
org.eclipse.persistence.testing.tests.jpa.ddlgeneration.DDLGenerationExtendTablesJUnitTestSuite.testPrimaryKeyJoinColumns n/a invalid column name: NAME
org.eclipse.persistence.testing.tests.jpa.jpql.AdvancedQueryTestSuite.testCursors n/a Invalid argument resultSetType, use TYPE_FORWARD_ONLY
JPA WDF
Test Name Bug Description/Reason
org.eclipse.persistence.testing.tests.wdf.jpa1.generator.TestSequence.testAllocSize n/a wrong allocation expected:<4> but was:<2>

Location of tests and examples

No specific tests or examples have been written

Back to the top