M
M
MaxLich2019-07-10 13:14:58
Java
MaxLich, 2019-07-10 13:14:58

Why doesn't the Hibernate console give me anything when I query (in Intellij IDEA)?

Hello. When prompted in the console, it does not produce anything. 5d25b9e11b078446474323.png
5d25bb03d8ff4357952397.png
Here is the hibernate configuration file:

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
    "-//Hibernate/Hibernate Configuration DTD//EN"
    "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
  <session-factory>
    <property name="connection.url">jdbc:postgresql://....</property>
    <property name="connection.driver_class">org.postgresql.Driver</property>
    <!--<property name="hibernate.hbm2ddl.auto">update</property>-->
    <property name="connection.username">user</property>
    <property name="connection.password">password</property>

    <property name="show_sql">true</property>
    <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQL95Dialect</property>
    <property name="hibernate.current_session_context_class">thread</property>
    <mapping class="ru.myfirm.entity.RequestEntity"/>

 
  </session-factory>
</hibernate-configuration>

Doesn't throw any errors.
Maybe something else to show?
Maybe something in the settings is wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question