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

com.github.chengyuxing.sql.page.PageHelperProvider Maven / Gradle / Ivy

Go to download

Light wrapper of JDBC, support ddl, dml, query, plsql/procedure/function, transaction and manage sql file.

There is a newer version: 9.0.2
Show newest version
package com.github.chengyuxing.sql.page;

import java.sql.DatabaseMetaData;

/**
 * Page helper provider
 */
@FunctionalInterface
public interface PageHelperProvider {
    /**
     * Implement custom page helper.
     *
     * @param databaseMetaData current database metadata
     * @param dbName           current database name
     * @param namedParamPrefix current named parameter prefix
     * @return PageHelper instance
     * @see com.github.chengyuxing.sql.page.impl.PGPageHelper PGPageHelper
     * @see com.github.chengyuxing.sql.page.impl.OraclePageHelper OraclePageHelper
     * @see com.github.chengyuxing.sql.page.impl.MysqlPageHelper MysqlPageHelper
     * @see com.github.chengyuxing.sql.page.impl.Db2PageHelper Db2PageHelper
     */
    PageHelper customPageHelper(DatabaseMetaData databaseMetaData, String dbName, char namedParamPrefix);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy