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

com.jaregu.database.queries.ext.dalesbred.ExecuteUpdate 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.ext.dalesbred;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

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

import com.jaregu.database.queries.proxy.Mapper;

@Target({ FIELD, METHOD })
@Retention(RUNTIME)
@Mapper
public @interface ExecuteUpdate {

	/**
	 * Will expect that only one row will be updated, not 0 or more than one,
	 * default false
	 */
	boolean unique() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy