Issues with JDBC Connection - Connection has been closed.
I want to connect with a Java app to a Vertica db to query some data. While I want to execute SQL commands I get the error '[Vertica][JDBC](10060) Connection has been closed.'
The connection was already initialized using the Vertica driver (com.vertica.jdbc.Driver).
I debugged the code and I get a Class File Error saying:
'The source attachment does not contain the source for the file JDBCMessageKey.class'
When I control the path in this dialog I can see that it really points to the correct project I'm currently working on and to the correct vertica jdbc jar.
The IDE I'm using is Eclipse Neon and this is my setting:
Mac OSX 10.10.5
Vertica JDBC 18.104.22.168
To exclude any other possible causes I set up the a copy of this project which uses a MySQL driver to connect to a MySQL DB. This works.