VARBINARY should map to byte[] under H2
Bug #798958 reported by
cowwoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
2.2.0-beta4 maps VARBINARY to BLOB, but under H2 VARBINARY should actually map to byte[]. See http://
To post a comment you must log in.
On second thought, I don't necessarily mind the usage of BLOB. It has the benefit of providing a consistent interface to binary data across all databases. simply invoked:
byte[] data = blob.getBytes(0, (int) blob.length());