Map binary types for sizes > 32K to BLOB for Derby

Description

Right now (at least with 3.1.2, haven't tried with more recent versions) the binary type is mapped to a VARCHAR. However VARCHARs in Derby have a max size of 32K. So for sized larger than 32K a BLOB should be used instead.

Environment

None

Activity

Show:
Vincent Massol
September 27, 2012, 8:07 AM

Hi Brett, I've checked and I've checked its commits and I can see it fixes only the DB2 Dialect but not the Derby one... Are you sure this issue should be marked as resolved?

Thanks

Brett Meyer
September 27, 2012, 4:25 PM

Vincent, DerbyDialect extends DB2Dialect. It will inherit all of DB2Dialect's registered column types.

Vincent Massol
September 27, 2012, 4:30 PM

ah ok thanks for the clarification Actually I thought about it but discarded the possibility without checking since I didn't think they could be that similar... Anyway thanks!

Brett Meyer
March 7, 2014, 5:30 PM

Bulk closing rejected tickets in "resolved" state.

Duplicate

Assignee

Unassigned

Reporter

Vincent Massol

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure