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/MaxDBPlatform"

m (Description)
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
+
'''Note: This page has become obsolete as the database platform for SAP MaxDB has been promoted from incubation to the main EclipseLink repository starting with release 2.2.0.'''
  
== Bug ==
+
Information on the MaxDB database platform is maintained [[EclipseLink/Development/DatabasePlatform/MaxDBPlatform|here]].
 
+
*{{bug|284657}} Support for MaxDB / SAPDB
+
 
+
==Description==
+
 
+
This is a subclass of DatabasePlatform that can be used by customers using the SAP MaxDB database.
+
 
+
== Documentation  ==
+
 
+
Detailed information on SAP MaxDB, documentation and downloads are found at the following locations:
+
 
+
http://maxdb.sap.com/
+
 
+
http://www.sdn.sap.com/irj/sdn/maxdb
+
 
+
Forward mapping with EclipseLink assumes that MaxDB is configures for unicode (in version 7.7, this is the default). Unicode mode also needs to be specified in the URL:
+
 
+
jdbc:sapdb://localhost/E32?unicode=yes
+
 
+
=== Limitations of the Platform ===
+
 
+
* SetQueryTimeout or the hint "javax.persistence.query.timeout" do not work on MaxDB - see {{bug|326503}}.
+
* The hint "javax.persistence.lock.timeout" has no effect with a positive value; a value of 0 is translated to NOWAIT.
+
* The maximum width of an index is 1024 bytes on MaxDB. This also limits the size of a primary key. Moreover the primary key of join tables must not exceed this limit either. As it is composed of the primary key of the two tables that are joined, the combined width of the PKs of these two tables must not exceed this limit. See bug {{bug|326968}}.
+
* VARCHAR [UNICODE] columns do not preserve trailing spaces - see {{ bug|327435 }}.
+
* VARCHAR BYTE does not preserve trailing 0 bytes.
+
* The hint "javax.persistence.lock.timeout=0" (NOWAIT) has no effect when atempting to pessimistically lock an entity with inheritance type JOINED - see {{ bug|326799 }}.
+
 
+
==Location==
+
 
+
svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/incubator/extensions/trunk/org.eclipse.persistence.platform.database.maxdb
+
 
+
== Level of Testing  ==
+
 
+
=== October 13th, 2010 ===
+
 
+
* EclipseLink + MaxDB platform (incubator) 2.2.0 (trunk) current build (revision: 8352)
+
 
+
* DB: MaxDB, kernel 7.8.01 build 004-123-218-928
+
* JDBC driver: MaxDB JDBC Driver, SAP AG, 7.6.06 Build 006-000-009-234 (Make-Version: 7.8.01 Build 003-123-215-703)
+
 
+
{|{{BMTableStyle}}
+
|-{{BMTHStyle}}
+
! Test Name
+
! Tests
+
! Failures
+
! Errors
+
|- bgcolor="#ffffe0"
+
| Core SRG || 690 || 0 || 1 (*)
+
|- bgcolor="#e0ffe0"
+
| JPA SRG || 202 || 0 || 0
+
|- bgcolor="#e0ffe0"
+
| JPA WDF || 816 || 0 || 0
+
|- bgcolor="#ffffe0"
+
| Core LRG || 7508 || 0 || 2 (*)
+
|- bgcolor="#ffffe0"
+
| JPA LRG || 2271 || 0 || 1 (**)
+
|-
+
| Server LRG (GlassFish v3)|| ? || ? || ?
+
|}
+
 
+
(*) Reported as MaxDB JDBC Driver Bug
+
 
+
(**) Reported as MaxDB Bug, investigation pending
+
 
+
==== Details on Errors/Failures ====
+
 
+
===== Core SRG =====
+
 
+
Test Case: org.eclipse.persistence.testing.tests.SRGTestModel
+
 
+
{|{{BMTableStyle}}
+
|-{{BMTHStyle}}
+
! Test Name
+
! Bug
+
! Description/Reason
+
|- bgcolor="#ffffe0"
+
| ScrollableCursorNavigationAPIConformingTest || {{bug|326646}} || cursor.last() does not result in cursor.isLast() returning true. '''Filed as MaxDB JDBC driver issue 3124858 2010'''
+
|}
+
 
+
===== Core LRG =====
+
 
+
Test Case: org.eclipse.persistence.testing.tests.TestRunModel
+
 
+
{|{{BMTableStyle}}
+
|-{{BMTHStyle}}
+
! Test Name
+
! Bug
+
! Description/Reason
+
|- bgcolor="#ffffe0"
+
| ScrollableCursorNavigationAPIConformingTest || {{bug|326646}} || Same as ScrollableCursorNavigationAPIConformingTest in Core SRG ('''Filed as MaxDB JDBC driver issue 3124858 2010''')
+
|- bgcolor="#ffffe0"
+
| ScrollableCursorNavigationAPIConformingTest || {{bug|326646}} || Same as ScrollableCursorNavigationAPIConformingTest in Core SRG ('''Filed as MaxDB JDBC driver issue 3124858 2010''')
+
|}
+
 
+
===== JPA LRG =====
+
 
+
Test Case: org.eclipse.persistence.testing.tests.jpa.AllCMP3TestRunModel
+
 
+
====== PessimisticLockingExtendedScopeTestSuite ======
+
 
+
{|{{BMTableStyle}}
+
|-{{BMTHStyle}}
+
! Test Name
+
! Bug
+
! Description/Reason
+
|- bgcolor="#ffffe0"
+
| testPESSMISTIC_ES5 || {{bug|327472}} || SQLTransactionRollbackException: [600]: Work rolled back,DEADLOCK DETECTED ('''Filed as MaxDB issue 3138792 2010''')
+
|}
+
 
+
== Location of tests and examples==
+
 
+
No specific tests or examples have been written
+

Latest revision as of 07:34, 19 October 2010

Note: This page has become obsolete as the database platform for SAP MaxDB has been promoted from incubation to the main EclipseLink repository starting with release 2.2.0.

Information on the MaxDB database platform is maintained here.

Back to the top