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

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

import com.github.chengyuxing.sql.page.IPageable;

import java.lang.annotation.*;

/**
 * Only work with method which return type is {@link IPageable IPageable}
 * or {@link com.github.chengyuxing.sql.PagedResource PagedResource}
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface CountQuery {
    /**
     * Count query name.
     *
     * @return query name
     */
    String value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy