With last night's patch to MultiKeySet, we'll be using a lot more IN() statements, and some of them contain shorts and bytes. Handle it.
This commit is contained in:
@@ -64,6 +64,8 @@ public class PostgreSQL4Builder extends PostgreSQLBuilder
|
|||||||
type = "bigint";
|
type = "bigint";
|
||||||
} else if (testValue instanceof String) {
|
} else if (testValue instanceof String) {
|
||||||
type = "varchar";
|
type = "varchar";
|
||||||
|
} else if (testValue instanceof Short || testValue instanceof Byte) {
|
||||||
|
type = "smallint";
|
||||||
} else if (testValue instanceof ByteEnum) {
|
} else if (testValue instanceof ByteEnum) {
|
||||||
Byte[] bytes = new Byte[values.length];
|
Byte[] bytes = new Byte[values.length];
|
||||||
for (int ii = 0; ii < bytes.length; ii ++) {
|
for (int ii = 0; ii < bytes.length; ii ++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user