IDEMPIERE-6104 - Table Partitioning for List Type Key Columns (#2310)
This commit is contained in:
parent
9799cebac8
commit
adea9db390
|
@ -553,6 +553,7 @@ public class TablePartitionService implements ITablePartitionService {
|
|||
String s = rs.getString(partitionKeyColumn.getColumnName());
|
||||
name.append(s);
|
||||
if (DisplayType.isText(partitionKeyColumn.getAD_Reference_ID()) || partitionKeyColumn.getAD_Reference_ID() == DisplayType.YesNo
|
||||
|| DisplayType.isList(partitionKeyColumn.getAD_Reference_ID())
|
||||
|| "EntityType".equals(partitionKeyColumn.getColumnName())
|
||||
|| "AD_Language".equals(partitionKeyColumn.getColumnName()))
|
||||
expression.append(DB.TO_STRING(s));
|
||||
|
|
|
@ -890,6 +890,7 @@ public class TablePartitionService implements ITablePartitionService {
|
|||
updateStmt.append(partitionKeyColumn.getColumnName()).append("=");
|
||||
|
||||
if (DisplayType.isText(partitionKeyColumn.getAD_Reference_ID()) || partitionKeyColumn.getAD_Reference_ID() == DisplayType.YesNo
|
||||
|| DisplayType.isList(partitionKeyColumn.getAD_Reference_ID())
|
||||
|| "EntityType".equals(partitionKeyColumn.getColumnName())
|
||||
|| "AD_Language".equals(partitionKeyColumn.getColumnName()))
|
||||
updateStmt.append("'").append(listValue).append("' ");
|
||||
|
|
Loading…
Reference in New Issue