Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326884 - MaxDB: tests TypeTestModelWith[Out]Accessors fail with "Invalid length for this data type:THECLOB - VARCHAR(25000) UNICODE"
Summary: MaxDB: tests TypeTestModelWith[Out]Accessors fail with "Invalid length for th...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Adrian Goerler CLA
QA Contact:
URL:
Whiteboard: maxdb
Keywords:
Depends on:
Blocks: 284657
  Show dependency tree
 
Reported: 2010-10-04 02:29 EDT by Adrian Goerler CLA
Modified: 2022-06-09 10:09 EDT (History)
4 users (show)

See Also:


Attachments
proposed patch (1.96 KB, patch)
2010-10-04 08:09 EDT, Adrian Goerler CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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