Pessoal,
sou novato em Hibernate, mas estou achando esse erro muito estranho, pois o código está praticamente igual ao que tem no cap. 13 da documentação do Hibernate. É como se estivesse com um erro de sintaxe, não existisse "insert".. Alguma dica? O que estou fazendo de errado?
Transaction tx = session.beginTransaction();
String hqlInsert1 = "insert into Functionality ( id , name , description , root, order , level, creator ) 1 , 'Management' , 'Management' , true, 0 , 0, 'core.system' ;";
session.createQuery( hqlInsert1 ).executeUpdate();
tx.commit();