mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
PL-7884 Exception occurs during an attempt to apply filter above pinned when the entity is non-uuid
This commit is contained in:
parent
59473adb4c
commit
191ee4b467
@ -756,7 +756,7 @@ create table SYS_QUERY_RESULT (
|
||||
ID identity not null,
|
||||
SESSION_ID varchar(36) not null,
|
||||
QUERY_KEY integer not null,
|
||||
ENTITY_ID varchar(36) not null,
|
||||
ENTITY_ID varchar(36),
|
||||
STRING_ENTITY_ID varchar(255),
|
||||
INT_ENTITY_ID integer,
|
||||
LONG_ENTITY_ID bigint,
|
||||
|
@ -0,0 +1 @@
|
||||
alter table SYS_QUERY_RESULT alter column ENTITY_ID SET NULL^
|
@ -58,6 +58,12 @@ public class MysqlDbTypeConverter implements DbTypeConverter {
|
||||
return Types.VARCHAR;
|
||||
else if (javaClass == Boolean.class)
|
||||
return Types.BIT;
|
||||
else if (javaClass == String.class)
|
||||
return Types.VARCHAR;
|
||||
else if (javaClass == Integer.class)
|
||||
return Types.INTEGER;
|
||||
else if (javaClass == Long.class)
|
||||
return Types.BIGINT;
|
||||
return Types.OTHER;
|
||||
}
|
||||
}
|
@ -60,6 +60,12 @@ public class OracleDbTypeConverter implements DbTypeConverter {
|
||||
return Types.VARCHAR;
|
||||
else if (javaClass == Boolean.class)
|
||||
return Types.CHAR;
|
||||
else if (javaClass == String.class)
|
||||
return Types.VARCHAR;
|
||||
else if (javaClass == Integer.class)
|
||||
return Types.INTEGER;
|
||||
else if (javaClass == Long.class)
|
||||
return Types.BIGINT;
|
||||
return Types.OTHER;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user