This works just fine from a hibernate test suite perspective, perhaps this is environment driven somehow? Have you confirmed that the datasource you're connecting to actually contains a table named ability?