Quote:
Can I use HQL with MySQL?
Yes. I think you mean - can I use Hibernate with MySQL
Quote:
I tried this, but hibernate doesn't like it.
Please be more specific. "Doesn't like it" is not a great description of what I think you are trying to say: The following exception is thrown.....
Quote:
Query query = session.createSQLQuery("from volleyball_user");
Use
Code:
Query query = session.createSQLQuery("from VolleyballUser");
or whatever your class name is. You haven't showed me your mappings so I don't know exactly. Please try to help us help you.