public int getVersion ( ) throws SQLException { try { return this . submit ( new VersionCallable ( ) ) . get ( ) ; } catch ( InterruptedException e ) { logger . log ( Level . SEVERE , "Failed to get database version" , e ) ; throw new SQLException ( e ) ; } catch ( ExecutionException e ) { logger . log ( Level . SEVERE , "Failed to get database version" , e ) ; throw new SQLException ( e ) ; } }
Returns the current version of the database .