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 {
|
||||
String[] columnsNames = new String[columns.size()];
|
||||
for ( int i = 0; i < columns.size(); i++ ) {
|
||||
Selectable column = columns.get(i);
|
||||
Object column = columns.get(i);
|
||||
if (column instanceof Column){
|
||||
columnsNames[i] = ((Column) column).getName();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue