Code example for SqlExceptionHelper

Methods: convert

0
			if (lastQuery != null) { 
				lastQuery.cancel(); 
			} 
		} 
		catch (SQLException sqle) { 
			throw exceptionHelper.convert( 
			        sqle, 
			        "Cannot cancel query" 
				); 
		} 
		finally { 
			lastQuery = null; 
		} 
	} 
 
	public void release(Statement statement) { 
		LOG.tracev( "Releasing statement [{0}]", statement ); 
		Set<ResultSet> resultSets = xref.get( statement ); 
		if ( resultSets != null ) { 
			for ( ResultSet resultSet : resultSets ) {