Erro no Hibernate

4 respostas
D

Senhores estou montando sistema de escola com o Hibernate junto com o PostgreSQL e ao executar ocorre o Erro qual o problema que esta mostrando e eu não estou vendo alguem pode ajudar[code]

[wmv]
32 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.0.CR2
63 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
63 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
78 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
188 [main] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
188 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
CONSTRUÍDO COM SUCESSO (tempo total: 4 segundos)

4 Respostas

V

Cadê o erro??

D

Senhores , neste caso o erro esta 63 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
ao iniciar gravaaluno nao esta gravando no banco já verifiquei a classe esta correta simplesmente mostra a tela com a mensagem

32 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.0.CR2
63 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
63 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
78 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
188 [main] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
188 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
CONSTRUÍDO COM SUCESSO (tempo total: 4 segundos)

D

Alguem pode ajudar na solução …

bruno.torezan

Não sei se é o caso mas, para que o hibernate encontre a tabela, o driver e outros detalhes é necessário a inclusão de um arquivo hibernate.properties.
encontrei alguma coisa no link abaixo
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/session-configuration.html
[]s

Criado 16 de janeiro de 2011
Ultima resposta 19 de jan. de 2011
Respostas 4
Participantes 3