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

com.jaregu.database.queries.proxy.ClassQueryMapper Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.4.1
Show newest version
package com.jaregu.database.queries.proxy;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * Use this annotation to mark proxiable interface or its methods to perform
 * Query conversion to some other value. {@link QueryMapper} must be
 * instantiable class with accessible zero argument constructor
 *
 */
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RUNTIME)
@Mapper(ClassQueryMapperFactory.class)
public @interface ClassQueryMapper {

	/**
	 * {@link QueryMapper} must be instantiable class with accessible zero
	 * argument constructor
	 */
	Class> value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy