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

com.github.chengyuxing.sql.plugins.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.plugins;

import com.github.chengyuxing.sql.page.PageHelper;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

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
     */
    @Nullable PageHelper customPageHelper(@NotNull DatabaseMetaData databaseMetaData,
                                          @NotNull String dbName,
                                          char namedParamPrefix);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy