I am using jboss-4.0.4 RC1 with Hibernate 3.1.2
try to excute a simple Update SQL in my app through normal routine
something like
q= em.createQuery("update ....."); (the statement is very basic)
q.getSingleResult();
no alias in the query, I got "not supported for DML operations" exception
my query translator is; org.hibernate.hql.ast.ASTQueryTranslatorFactory
anybody can help? I am a beginer here.
thanks a lot.