com.jaregu.database.queries.proxy.Mappers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of queries Show documentation
Show all versions of queries Show documentation
Java based SQL templating project. Store your queries in *.sql files and build queries for execution. Supports simple expressions and conditional clauses and interface proxying for java-sql bridge.
package com.jaregu.database.queries.proxy;
import java.lang.annotation.Annotation;
import com.jaregu.database.queries.Queries;
public interface Mappers> {
/**
* Registers {@link QueryMapperFactory} to be used when given annotation is
* encountered on proxied {@link Queries} interface. See
* {@link Queries#proxy(Class)}.
*
*/
T mapper(Class extends Annotation> annotatedWith, QueryMapperFactory factory);
}