public synchronized void clearWarnings() throws SQLException { checkClosed(); protoConnection.getWarnings(); // Clear and discard. firstWarning = null; }
public synchronized SQLWarning getWarnings() throws SQLException { checkClosed(); SQLWarning newWarnings = protoConnection.getWarnings(); // NB: also clears them. if (firstWarning == null) firstWarning = newWarnings; else firstWarning.setNextWarning(newWarnings); // Chain them on. return firstWarning; }
public synchronized void clearWarnings() throws SQLException { protoConnection.getWarnings(); // Clear and discard. firstWarning = null; }
public synchronized void clearWarnings() throws SQLException { checkClosed(); protoConnection.getWarnings(); // Clear and discard. firstWarning = null; }
public synchronized SQLWarning getWarnings() throws SQLException { SQLWarning newWarnings = protoConnection.getWarnings(); // NB: also clears them. if (firstWarning == null) firstWarning = newWarnings; else firstWarning.setNextWarning(newWarnings); // Chain them on. return firstWarning; }
public synchronized SQLWarning getWarnings() throws SQLException { checkClosed(); SQLWarning newWarnings = protoConnection.getWarnings(); // NB: also clears them. if (firstWarning == null) firstWarning = newWarnings; else firstWarning.setNextWarning(newWarnings); // Chain them on. return firstWarning; }