Problemas com Hibernate3

1 resposta
D

Salve, Salve Galera!

Alguém pode dar uma pista, de como arrumar este erro?

org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update

at.org.hibernat.exception.SQLStateConverter.convert.....

.
.
.
.

Este erro acontece quando eu dou um:

session.save(aluno);

Session session = HibernateUtil.currentSession();
            Transaction tx = session.beginTransaction();

            session.save(aluno);

            tx.commit();
            HibernateUtil.closeSession();

Atn.
Dennys Fredericci

1 Resposta

D

Aeeeeee

Descobri o problema! :lol:

Só que está dando uma msg no console quando dou um session.save(…);

2005-04-06 15:30:02,326 WARN  ehcache.config.Configurator  -> No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Tomcat/webapps/dennys/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml

Estou usando Hibernate3… Alguma idéia?

Atn.
Dennys Fredericci

Criado 6 de abril de 2005
Ultima resposta 6 de abr. de 2005
Respostas 1
Participantes 1