|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@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.
Optional Element Summary | |
---|---|
boolean |
returnOnly Set return only to true if you want the mapping field to be excluded from the INSERT clause during SQL generation. |
public abstract boolean returnOnly
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |