Interface DatabaseConnector.ConnectionCallback

Enclosing interface:
DatabaseConnector

public static interface DatabaseConnector.ConnectionCallback
Wraps a connection in a callback which will automagically handle catching sql errors
  • Method Summary

    Modifier and Type Method Description
    void accept​(java.sql.Connection connection)  
  • Method Details

    • accept

      void accept​(java.sql.Connection connection) throws java.sql.SQLException
      Throws:
      java.sql.SQLException