Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326883

Summary: UpdateNull*Tests fail on MaxDB with "SAP DBTech JDBC: Cannot put ASCII data into this LONG column."
Product: z_Archived Reporter: Adrian Goerler <adrian.goerler>
Component: EclipselinkAssignee: Project Inbox <eclipselink.incubator-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: andreas.fischbach, krum.tsvetkov, sabine.heider
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: maxdb
Bug Depends on:    
Bug Blocks: 284657    
Attachments:
Description Flags
fix for this issue none

Description Adrian Goerler CLA 2010-10-04 02:23:55 EDT
On MaxDB, the following CORE LRG tests fail with the message "SAP DBTech JDBC: Cannot put ASCII data into this LONG column.": 

UpdateNullOneToOneValueTest (AllFieldsLockingPolicy)
UpdateNullOneToOneValueTest (SelectedFieldsLockingPolicy)
UpdateNullOneToOneValueTest (AllFieldsLockingPolicy)
UpdateNullOneToOneValueTest (ChangedFieldsLockingPolicy)
UpdateNullOneToOneValueTest (AllFieldsLockingPolicy)
UpdateNullOneToOneValueTest (VersionLockingPolicy)
UpdateNullOneToOneValueTest (TimestampLockingPolicy)
UpdateNullAggregateValueTest (AllFieldsLockingPolicy)
UpdateNullAggregateValueTest (SelectedFieldsLockingPolicy)
UpdateNullAggregateValueTest (ChangedFieldsLockingPolicy)
UpdateNullAggregateValueTest (VersionLockingPolicy)
UpdateNullAggregateValueTest (TimestampLockingPolicy)
UpdateNullOneToManyValueTest (AllFieldsLockingPolicy)
UpdateNullOneToManyValueTest (SelectedFieldsLockingPolicy)
UpdateNullOneToManyValueTest (ChangedFieldsLockingPolicy)
UpdateNullOneToManyValueTest (VersionLockingPolicy)
UpdateNullOneToManyValueTest (TimestampLockingPolicy)
UpdateNullTransformationValueTest (AllFieldsLockingPolicy)
UpdateNullTransformationValueTest (SelectedFieldsLockingPolicy)
UpdateNullTransformationValueTest (ChangedFieldsLockingPolicy)
UpdateNullTransformationValueTest (VersionLockingPolicy)
UpdateNullTransformationValueTest (TimestampLockingPolicy)
UpdateNullManyToManyValueTest (AllFieldsLockingPolicy)
UpdateNullManyToManyValueTest (SelectedFieldsLockingPolicy)
UpdateNullManyToManyValueTest (ChangedFieldsLockingPolicy)
UpdateNullManyToManyValueTest (VersionLockingPolicy)
UpdateNullManyToManyValueTest (TimestampLockingPolicy)
Comment 1 Adrian Goerler CLA 2010-10-04 07:09:54 EDT
Created attachment 180150 [details]
fix for this issue

In the MaxDB platform, CHAR was mapped as LONG BYTE, which is a LOB on MaxDB. With this fix, only CHAR BYTE is mapped as LONG BYTE.
Comment 2 Adrian Goerler CLA 2010-10-04 07:11:30 EDT
Tested on MaxDB -> fixes the issue
Checked in at # 8295
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:10:04 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink