Seguinte, eu to tentando gravar uns dados num BD do PostgreSQL usando o Hibernate, baixei o hibernate, copiei todos os jar’s pra pasta lib do meu projeto, importei, criei o xml de conexão, depois criei o xml da tabela, depois eu criei um arquivo .java pra testar a inserção no banco, mas ele ta dando esse erro:
Ago 16, 2012 10:22:24 AM org.hibernate.annotations.common.Version <clinit>
INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
Ago 16, 2012 10:22:24 AM org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {4.1.6.Final}
Ago 16, 2012 10:22:24 AM org.hibernate.cfg.Environment <clinit>
INFO: HHH000206: hibernate.properties not found
Ago 16, 2012 10:22:24 AM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: HHH000021: Bytecode provider name : javassist
Ago 16, 2012 10:22:24 AM org.hibernate.cfg.Configuration configure
INFO: HHH000043: Configuring from resource: hibernate.cfg.xml
Ago 16, 2012 10:22:24 AM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: HHH000040: Configuration resource: hibernate.cfg.xml
Ago 16, 2012 10:22:24 AM org.hibernate.internal.util.xml.DTDEntityResolver resolveEntity
WARN: HHH000223: Recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
Se precisar eu envio os códigos…