Internal Website Search

1-7 of 7 results

javax.persistence.ColumnResult

JPA Annotation ColumnResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping annotation or ConstructorResult annotation to map a column of the SELECT list of a SQL ... (name="item", column="order_item")})}, columns={ @ ColumnResult (name="item_name

javax.persistence.ColumnResult.type

JPA Annotation Attribute in javax.persistence. ColumnResult Class type default void.class (Optional) The Java type to which the column type is to be mapped. If the type element is not specified, the default JDBC type mapping for the column will be used. Since: JPA 2.1

javax.persistence.ColumnResult.name

JPA Annotation Attribute in javax.persistence. ColumnResult String name default null (Required) The name of a column in the SELECT clause of a SQL query Since: JPA 1.0

javax.persistence.ConstructorResult

.CustomerDetails.class, columns={ @ ColumnResult (name="id"), @ ColumnResult (name="name"), @ ColumnResult (name="orderCount"), @ ColumnResult (name="avgOrder", type=Double.class) } ) } ) See Also: SqlResultSetMapping ColumnResult Since: JPA 2.1 Public Annotation Attributes ColumnResult [] columns default null

javax.persistence.SqlResultSetMapping

={ @ ColumnResult (name="item_name")} ) See Also: Query StoredProcedureQuery NamedNativeQuery ... the result set mapping to constructors. Since: JPA 2.1 ColumnResult [] columns default {} Specifies

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.ConstructorResult.columns

JPA Annotation Attribute in javax.persistence.ConstructorResult ColumnResult [] columns default null (Required) The mapping of columns in the SELECT list to the arguments of the intended constructor, in order. Since: JPA 2.1