EclipseLink 1.2.0, build 'v20091016-r5565' API Reference

org.eclipse.persistence.annotations
Annotation Type ReturnInsert


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface ReturnInsert

A ReturnInsert annotation allows for INSERT operations to return values back into the object being written. This allows for table default values, trigger or stored procedures computed values to be set back into the object. A ReturnInsert annotation can only be specified on a Basic mapping.

Author:
Guy Pelletier
Since:
Oracle TopLink 11.1.1.0.0

Optional Element Summary
 boolean returnOnly
           
 

returnOnly

public abstract boolean returnOnly
Default:
false

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference