javax.persistence
Annotation Type FieldResult


@Target(value={})
@Retention(value=RUNTIME)
public @interface FieldResult

Mapping of a result.

Since:
EJB 3.0 version.
Author:
Florent Benoit
See Also:
EJB 3.0 specification

Required Element Summary
 java.lang.String column
          The column names that are used in these annotations refer to the names of the columns in the SELECT clause
i.e., column aliases, if applicable.
 java.lang.String name
          The name element is the name of the persistent field or property of the class.
 

Element Detail

name

public abstract java.lang.String name
The name element is the name of the persistent field or property of the class.


column

public abstract java.lang.String column
The column names that are used in these annotations refer to the names of the columns in the SELECT clause
i.e., column aliases, if applicable.