SQL - Include default types for other binary types
Bug #666232 reported by
Luis Fernando Planella Gonzalez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Medium
|
Timo Westkämper |
Bug Description
MySQL driver reports mediumblobs as LONGVARBINARY.
It would be nice to include default blob types for those as well.
There are also other types: BINARY and VARBINARY which could be handled the same way.
Changed in querydsl: | |
importance: | Undecided → Medium |
Changed in querydsl: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I've update the following mappings in JDBCTypeMapping :
// BLOB
registerDefaul t(Types. BINARY, Blob.class);
registerDefaul t(Types. BLOB, Blob.class);
registerDefaul t(Types. LONGVARBINARY, Blob.class);
registerDefaul t(Types. VARBINARY, Blob.class);
BlobType variants might not be necessary.
Could you verify that the modification fixes your problems?