In which precise version of hibernate was "DML-style operations" added?
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#batch-direct
I'm on 3.0.5 and a "insert" DML style query fails
Code:
Caused by: org.hibernate.hql.ast.QuerySyntaxError: unexpected token: insert near line 1, column 1 [insert into LaneGroupContent(laneGroup, lane) values (?, ?)]
at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:63)
at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:215)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:127)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:83)
at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:427)
at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:884)
at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:865)
at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:89)
I tried to access the Hibernate 3 change log
http://cvs.sourceforge.net/viewcvs.py/hibernate/Hibernate3/changelog.txt?only_with_tag=HEAD&view=markup
but the url is not accessible.
Thanks,
Sanjiv