All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.taymindis.paas.EventTransaction Maven / Gradle / Ivy

Go to download

Page as a service for JSP to standardize the function by jsp page, guarantee zero downtime

The newest version!
package com.github.taymindis.paas;

import java.sql.SQLException;
import java.util.ArrayList;

public interface EventTransaction extends Event {


    String queryOne(final String sql, Object... sqlParams) throws SQLException;

    String queryValueRowByComma(final String sql, Object... sqlParams) throws SQLException;

    String queryValueRowBySemicolon(final String sql, Object... sqlParams) throws SQLException;

    String queryValueRowByVertical(final String sql, Object... sqlParams) throws SQLException;

    ArrayList queryToList(String sql, Object... sqlParams) throws SQLException;

    ArrayList queryColumns(String sql, Object... sqlParams) throws SQLException;

    QueryResult query(final String sql, Object... sqlParams) throws SQLException;

    int execute(String sql, Object... sqlParams) throws SQLException;

    /**
     * @param sql sql
     * @param sqlParams sqlParams
     * @return row affected
     * @throws SQLException SQLException
     */
    int executeWithKey(String sql, Object... sqlParams) throws SQLException;

    void rollback() throws SQLException;

    void commit() throws SQLException;

    void release() throws SQLException;

    void release(boolean committable) throws SQLException;

    @Override
     T  getResult();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy