So I have this following code:
Query query = session.createQuery(\"from Weather\"); List list = query.list(); WeatherModel w
I just had a similar problem, and it appears to have been solved by providing the full path to the object you are trying to query. So, when I made it look like this: session.createQuery("from com.mystuff.something.or.other.MyEntity") it worked.