com.jaregu.database.queries.proxy.QueriesSourceId 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.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.jaregu.database.queries.SourceId;
/**
* Identifies SQL source, see {@link SourceId#ofId(String)}
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.TYPE })
@Inherited
@RegisteredSourceIdProducer(QueriesSourceIdProducer.class)
public @interface QueriesSourceId {
/**
* Value for {@link SourceId#ofId(String)}
*
* @return
*/
String value();
}