It seems like lately I'm always answering my own questions. Either I'm getting better at this or the world is getting worse.
My problem was twofold:
1. I had a typo in my cfg file:
<property name="resourceId" column="resouce_id"/>
should have been:
<property name="resourceId" column="resource_id"/>
2. I misunderstood the syntax of the createQuery param list, I used the TABLE name when I should have used the OBJECT name so:
correct, Event is the object that a table row maps to:
List eventsList = session.createQuery("from Event").list();
incorrect, events is the table name
List eventsList = session.createQuery("from events").list();
I did not discover the problem with 2. I was searching for information about the specific exception that Hibernate was throwing, org.hibernate.hql.ast.QuerySyntaxException, and found the following:
http://forums.devshed.com/java-help-9/q ... 18157.html
see answer #4 on this page.
-=beeky