Re: hibernate type cast issue

2012-01-09 Thread Taha Hafeez Siddiqi
Hi Harry It seems to me that you have posted in the wrong mailing list. :) Still I will try to answer this On Jan 9, 2012, at 2:04 PM, harry wrote: > Hi everyone. I searched the archive and didn't find a thread on point. I > encountered a hibernate type cast issue: >

hibernate type cast issue

2012-01-09 Thread harry
Hi everyone. I searched the archive and didn't find a thread on point. I encountered a hibernate type cast issue: Variation 1: List messageList = session.createSQLQuery("select * from Message where id=1").list(); *message = messageList.get(0);* The bold-faced line o