com.syrtsov.ddao
Annotation Type InsertAndGetId
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface InsertAndGetId
Annotation InsertAndGetId allows to attach insert statement to ddao method.
This Insert statement expected to have autogenerated integer field
(like mysql autoincrement) in it that will get returned in result set.
If method return type is int it will return generated value.
Created by: Pavel Syrtsov
Date: Apr 1, 2007
Time: 11:58:13 PM
Required Element Summary |
java.lang.String |
value
|
value
public abstract java.lang.String value