HHH-9369 Fix @Formula of enum type results in ClassCastException (minor fix for 4.2)
This commit is contained in:
parent
5d065bc263
commit
1883fcbb7b
|
@ -365,7 +365,7 @@ public class SimpleValue implements KeyValue {
|
||||||
try {
|
try {
|
||||||
String[] columnsNames = new String[columns.size()];
|
String[] columnsNames = new String[columns.size()];
|
||||||
for ( int i = 0; i < columns.size(); i++ ) {
|
for ( int i = 0; i < columns.size(); i++ ) {
|
||||||
Selectable column = columns.get(i);
|
Object column = columns.get(i);
|
||||||
if (column instanceof Column){
|
if (column instanceof Column){
|
||||||
columnsNames[i] = ((Column) column).getName();
|
columnsNames[i] = ((Column) column).getName();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue