Internal Website Search

1-8 of 8 results

javax.persistence.EntityResult

JPA Annotation EntityResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping annotation to map the SELECT clause of a SQL query to an entity result ... ={ @ EntityResult (entityClass=com.acme.Order.class), @ EntityResult (entityClass=com.acme.Item.class

javax.persistence.EntityResult.discriminatorColumn

JPA Annotation Attribute in javax.persistence. EntityResult String discriminatorColumn default "" Specifies the column name (or alias) of the column in the SELECT list that is used to determine the type of the entity instance. Since: JPA 1.0

javax.persistence.EntityResult.fields

JPA Annotation Attribute in javax.persistence. EntityResult FieldResult [] fields default {} Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class. Since: JPA 1.0

javax.persistence.EntityResult.entityClass

JPA Annotation Attribute in javax.persistence. EntityResult Class entityClass default null The class of the result. Since: JPA 1.0

javax.persistence.FieldResult

with the EntityResult annotation to map columns specified in the SELECT list of a SQL query to the properties or ... ", entities={ @ EntityResult (entityClass=com.acme.Order.class, fields={ @FieldResult(name="id", column="order ... ="order_item")}) }) See Also: EntityResult SqlResultSetMapping Since: JPA 1.0 Public Annotation

javax.persistence.SqlResultSetMapping

)", "OrderResults"); @SqlResultSetMapping(name="OrderResults", entities={ @ EntityResult (entityClass ... the result set mapping to scalar values. Since: JPA 1.0 EntityResult [] entities default {} Specifies

javax.persistence.ColumnResult

(name="OrderResults", entities={ @ EntityResult (entityClass=com.acme.Order.class, fields={ @FieldResult

javax.persistence.SqlResultSetMapping.entities

JPA Annotation Attribute in javax.persistence.SqlResultSetMapping EntityResult [] entities default {} Specifies the result set mapping to entities. Since: JPA 1.0