Hibernate error while reading database column (Reverse Engineering)

Asked

Viewed 35 times

0

When I try to reverse-engineer Hibernate, he can’t read the comic book columns. Give this error "Reading Schema Error: Error while Reading column meta data for curso"

Does anyone have any idea what it is? Apparently he’s going into the bank because he’s naming the column...

This is my Hibernate.cfg

    <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
                                         "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
 <session-factory name="">
  <property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
  <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/cursojava</property>
  <property name="hibernate.connection.username">postgres</property>
  <property name="hibernate.connection.password">******</property>
  <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
 </session-factory>
</hibernate-configuration>

Esse é o erro

Thank you in advance!

  • What tool is this? It does not seem to be an error of Hibernate itself but rather of the tool that is using

  • It’s the eclipse. I put in perspective of Hibernate and managed to go deeper into the error. The error that caused it is this:

  • org.postgresql.util.Psqlexception: ERROR: Current transaction is aborted, Commands Ignored until end of transaction block

  • I recommend then directing the question to a problem in the Eclipse plugin, citing which name of this plugin (if it has one, etc). Important also put in your question this log you passed, as it can be something directly related to Postgresql

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.