SQL - Include default types for other binary types

Bug #666232 reported by Luis Fernando Planella Gonzalez on 2010-10-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
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

I've update the following mappings in JDBCTypeMapping :

        // BLOB
        registerDefault(Types.BINARY, Blob.class);
        registerDefault(Types.BLOB, Blob.class);
        registerDefault(Types.LONGVARBINARY, Blob.class);
        registerDefault(Types.VARBINARY, Blob.class);

BlobType variants might not be necessary.

Could you verify that the modification fixes your problems?

Changed in querydsl:
assignee: nobody → Timo Westkämper (timo-westkamper)
status: New → In Progress

Yes, it did work.

Changed in querydsl:
status: In Progress → Fix Committed

Released in 2.0.3

Changed in querydsl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers