Not just bad casting.
Firs of all there is no sense in given context. 
And secondable pay attention that hibernate returns NOT editable list, with many unsupported methods.