HHH-9369 Fix @Formula of enum type results in ClassCastException (minor fix for 4.2)

This commit is contained in:
Gail Badner 2014-09-19 13:50:06 -07:00
parent 5d065bc263
commit 1883fcbb7b
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}