javax.persistence
Annotation Type FieldResult


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

Mapping of a result.

Since:
JPA 1.0 version.
Author:
Florent Benoit
See Also:
JPA 2.0 specification

Required Element Summary
 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.
 String name
          The name element is the name of the persistent field or property of the class.
 

Element Detail

name

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


column

public abstract 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.



Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.