Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I fixed it =) I really had to root around to find the answer for this one. Basically, it comes down to loading metadata and the JDBC driver. It's loading ALL META DATA, including comments beside sql columns and other various constructs, which are not needed for operation. I don't know why this is on by default but you should definitely turn this feature off unless you explicitly need it:</p> <pre><code>config.setProperty("hibernate.temp.use_jdbc_metadata_defaults","false"); </code></pre> <p>Instant connection now!</p> <p>The only info I could find on this is in code:</p> <pre><code>107 // 'hibernate.temp.use_jdbc_metadata_defaults' is a temporary magic value. 108 // The need for it is intended to be alleviated with future development, thus it is 109 // not defined as an Environment constant... 110 // 111 // it is used to control whether we should consult the JDBC metadata to determine 112 // certain Settings default values; it is useful to *not* do this when the database 113 // may not be available (mainly in tools usage). 114 boolean useJdbcMetadata = ConfigurationHelper.getBoolean( "hibernate.temp.use_jdbc_metadata_defaults", configValues, true ); </code></pre> <p><a href="http://grepcode.com/file/repo1.maven.org/maven2/org.hibernate/hibernate-core/4.1.1.Final/org/hibernate/engine/jdbc/internal/JdbcServicesImpl.java#JdbcServicesImpl" rel="noreferrer">http://grepcode.com/file/repo1.maven.org/maven2/org.hibernate/hibernate-core/4.1.1.Final/org/hibernate/engine/jdbc/internal/JdbcServicesImpl.java#JdbcServicesImpl</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload