I am working on hibernate in eclipse. I am executing simple \'From\' query. Here is the code
List list = sess1.createQuery(\"From Myview\").list(); System.
Are you sure that the table is correctly filled? try :
List list = sess1.createQuery("SELECT * FROM Myview").list();
futhermore, you are getting this list from a view? are you sure that you made this view correctly?