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

Bug 326884

Summary: MaxDB: tests TypeTestModelWith[Out]Accessors fail with "Invalid length for this data type:THECLOB - VARCHAR(25000) UNICODE"
Product: z_Archived Reporter: Adrian Goerler <adrian.goerler>
Component: EclipselinkAssignee: Adrian Goerler <adrian.goerler>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: andreas.fischbach, eclipselink.orm-inbox, krum.tsvetkov, sabine.heider
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: maxdb
Bug Depends on:    
Bug Blocks: 284657    
Attachments:
Description Flags
proposed patch none

Description Adrian Goerler CLA 2010-10-04 02:29:38 EDT
On MaxDB, the tests 

TypeTestModelWithAccessors and 
TypeTestModelWithOutAccessors 

fail with the message 

"Invalid length for this data type:THECLOB - VARCHAR(25000) UNICODE"
Comment 1 Adrian Goerler CLA 2010-10-04 08:04:52 EDT
MaxDB supports VARCHAR UNICODE up to 4000 characters only. Above this length a CLOB ("LONG UNICODE" on MaxDB) must be used:

http://maxdb.sap.com/doc/7_8/45/33337d9faf2b34e10000000a1553f7/content.htm
Comment 2 Adrian Goerler CLA 2010-10-04 08:09:51 EDT
Created attachment 180152 [details]
proposed patch
Comment 3 Adrian Goerler CLA 2010-10-04 08:48:56 EDT
Tested on MaxDB -> fixes many issued
Checked in at #8296
Comment 4 Adrian Goerler CLA 2010-10-04 08:50:50 EDT
Solved the beforementioned issue.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:09:03 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink