Internal Website Search
1-14 of 14 resultsjavax.persistence.SqlResultSetMappings JPA Annotation SqlResultSetMappings Target: TYPE Implemented Interfaces: Annotation Is used to define one or more SqlResultSetMapping annotations. Since: JPA 1.0 Public Annotation Attributes SqlResultSetMapping [] value default null One or more SqlResultSetMapping annotations. Since: JPA 1.0 | |
javax.persistence.SqlResultSetMappings.value JPA Annotation Attribute in javax.persistence. SqlResultSetMappings SqlResultSetMapping [] value default null One or more SqlResultSetMapping annotations. Since: JPA 1.0 | |
javax.persistence.SqlResultSetMapping JPA Annotation SqlResultSetMapping Target: TYPE Implemented Interfaces: Annotation Specifies the mapping of the result of a native SQL query or stored procedure. Example: Query q = em ... )", "OrderResults"); @ SqlResultSetMapping (name="OrderResults", entities={ @EntityResult(entityClass | |
javax.persistence.SqlResultSetMapping.name JPA Annotation Attribute in javax.persistence. SqlResultSetMapping String name default null The name given to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs. Since: JPA 1.0 | |
javax.persistence.SqlResultSetMapping.columns JPA Annotation Attribute in javax.persistence. SqlResultSetMapping ColumnResult [] columns default {} Specifies the result set mapping to scalar values. Since: JPA 1.0 | |
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 | |
javax.persistence.SqlResultSetMapping.classes JPA Annotation Attribute in javax.persistence. SqlResultSetMapping ConstructorResult [] classes default {} Specifies the result set mapping to constructors. Since: JPA 2.1 | |
javax.persistence.EntityResult with the SqlResultSetMapping annotation to map the SELECT clause of a SQL query to an entity result ... .item = i.id)", "OrderItemResults"); @ SqlResultSetMapping (name="OrderItemResults", entities ... ) }) See Also: SqlResultSetMapping Since: JPA 1.0 Public Annotation Attributes String discriminatorColumn default | |
javax.persistence.ColumnResult with the SqlResultSetMapping annotation or ConstructorResult annotation to map a column of the SELECT list of a SQL ... i " + "WHERE (order_quantity 25) AND (order_item = i.id)", "OrderResults"); @ SqlResultSetMapping ... ")} ) See Also: SqlResultSetMapping Since: JPA 1.0 Public Annotation Attributes String name default null (Required | |
javax.persistence.ConstructorResult with the SqlResultSetMapping annotation to map the SELECT clause of a SQL query to a constructor. Applies ... "); @ SqlResultSetMapping ( name="CustomerDetailsResult", classes={ @ConstructorResult( targetClass=com.acme ... ) } ) } ) See Also: SqlResultSetMapping ColumnResult Since: JPA 2.1 Public Annotation Attributes ColumnResult [] columns default null | |
javax.persistence.FieldResult_quantity 25) AND (order_item = i.id)", "OrderResults"); @ SqlResultSetMapping (name="OrderResults ... ="order_item")}) }) See Also: EntityResult SqlResultSetMapping Since: JPA 1.0 Public Annotation | |
javax.persistence.NamedStoredProcedureQuery mappings, as defined by the SqlResultSetMapping annotation. If there are multiple result sets | |
javax.persistence.NamedNativeQuery.resultSetMapping JPA Annotation Attribute in javax.persistence.NamedNativeQuery String resultSetMapping default "" The name of a SqlResultSetMapping , as defined in metadata. Since: JPA 1.0 | |
javax.persistence.NamedNativeQuery resultSetMapping default "" The name of a SqlResultSetMapping , as defined in metadata. Since: JPA 1.0 |