How to cast object to customer class : I got the result from Hibernate HQL query.list(). So, the return are all in Object[]. The fields of each item of the array are also in Object[]. The contents are correct. 

So, is there anyway to cast it to a custom java object?

Thanks
