Using keep-alive: ORA-00933: SQL command not properly ended
问题 I'd like to use squirrel-sql s keep-alive feature since my Oracle database connections get cut if they idle for too long. It's a self-explanatory feature - or so one would expect - and also covered on SO. However, the obvious SELECT 1 FROM DUAL; does not cut it and results in this error: 2016-10-21 16:43:51,879 [Thread-4] INFO net.sourceforge.squirrel_sql.client.session.SessionConnectionKeepAlive - SessionConnectionKeepAlive (...) running SQL: SELECT 1 FROM DUAL; 2016-10-21 16:43:51,882