Class JdbcSqlQueries

    • Constructor Detail

      • JdbcSqlQueries

        public JdbcSqlQueries()
    • Method Detail

      • execute

        public long execute()
                     throws SQLException
        Executes all the queries contained into the list.
        Returns:
        the number of entities that were inserted, updated or deleted by the queries.
        Throws:
        SQLException - on SQL error
      • executeWith

        public long executeWith​(Connection connection)
                         throws SQLException
        Executes all the queries contained into the list.
        Parameters:
        connection - a connection to a database.
        Returns:
        the number of entities that were inserted, updated or deleted by the queries.
        Throws:
        SQLException - on SQL error