Interface StartupImport


public interface StartupImport
A class that is implemented by the fastnate-data module and is used by the actual JPA implementation to start the data import as soon as startup of JPA has finished.
Author:
Tobias Liefke
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    importData(Connection connection)
    Start import of all the data.
  • Method Details

    • importData

      void importData(Connection connection) throws IOException, SQLException
      Start import of all the data.
      Parameters:
      connection - the current database connection
      Throws:
      SQLException - if there was a problem when accessing the database connection
      IOException - if there was a prolbem when reading the data