Annotation Type InsertAndGetId

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

Element Detail


public abstract java.lang.String value