Hello all,
I've been trying to figure out how to solve this problem:
org.hibernate.QueryException: query must begin with SELECT or FROM:
I'm trying to bulk delete as described here:
http://docs.jboss.org/hibernate/core/3. ... batch.htmlI've found many posts that say stuff like:
"the problem could be something to do with using the classic parser"
"You need to make sure you are using the new antlr-based query parser"
My question is:
If this is has something to do with the parser, how do I change the parser?
I have the following in my persistence.xml:
<properties>
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WeblogicTransactionManagerLookup"/>
<property name="hibernate.query.factory_class" value="org.hibernate.hql.classic.ClassicQueryTranslatorFactory" />
<property name="hibernate.show_sql" value="true"/>
Do I need to change something on my classpath?
Thanks.