Invalid query checking in 3.1
Invalid query checking - Hibernate 3.1 is much more strict in checking for invalid queries, some of which actually worked purely by side effect in earlier versions. Some examples: Hibernate never supported "from Entity e where e.collection.property" but needs an explicit join for collection elements "from Entity e join e.collection c where c.property". Furthermore, a query that specifies join fetching, but the owner of the fetched association was not present in the select list throws an exception now: "select b from A join fetch a.bees b" - this query makes no sense, remove the "fetch".