Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>That message indicates to me that its having trouble connecting to the db. Double check your connection string, and make sure your driver is on the classpath. I also think you need to have 'jdbc' as part of your connection string unless that's changed recently. </p> <pre><code>&lt;property name="hibernate.connection.url" value="jdbc:postgres://****:****@ec2-***-**-***-***.compute-1.amazonaws.com:6232/*****"/&gt; </code></pre> <p>Edit: I just eyeballed the source of previous version of this library, and if line 214 is the same b/t those two versions your connection is definitely null (i.e. not happening). </p> <p>Here is line 214 of <code>DriverManagerConnectionProviderImpl</code> in a version i have handy: (4.2.0.CR2)</p> <pre><code>214 if ( conn.getAutoCommit() != autocommit ) { 215 conn.setAutoCommit(autocommit); 216 } </code></pre> <p>Here are the preceding lines:</p> <pre><code>198 Connection conn; 199 if ( driver != null ) { 200 // If a Driver is available, completely circumvent 201 // DriverManager#getConnection. It attempts to double check 202 // ClassLoaders before using a Driver. This does not work well in 203 // OSGi environments without wonky workarounds. 204 conn = driver.connect( url, connectionProps ); 205 } 206 else { 207 // If no Driver, fall back on the original method. 208 conn = DriverManager.getConnection( url, connectionProps ); 209 } 210 211 if ( isolation != null ) { 212 conn.setTransactionIsolation( isolation.intValue() ); 213 } 214 if ( conn.getAutoCommit() != autocommit ) { 215 conn.setAutoCommit(autocommit); 216 } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

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