ObjectDB Database Search
1-21 of 21 resultsAnnotationRef jakarta.persistence.NamedNativeQuery JPA Annotation NamedNativeQuery Target: TYPE Implemented Interfaces: Annotation Declares a named ... , for example: @ NamedNativeQuery ( name = "findWidgets", query = "SELECT o.id, o.quantity, o.item ... , which may be specified using either a separate annotation: {@snippet : @ NamedNativeQuery ( name = " | |
AnnotationRef jakarta.persistence.NamedNativeQueries JPA Annotation NamedNativeQueries Target: TYPE Implemented Interfaces: Annotation Declares multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped superclass. See Also: NamedNativeQuery Since: JPA 1 | |
AnnotationAttrRef jakarta.persistence.NamedNativeQueries.value JPA Annotation Attribute in jakarta.persistence. NamedNativeQueries NamedNativeQuery [] value default null (Required) Array of NamedNativeQuery annotations. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.resultSetMapping JPA Annotation Attribute in jakarta.persistence. NamedNativeQuery String resultSetMapping default "" The name of a SqlResultSetMapping , as defined in metadata. The named result set mapping is used to interpret the result set of the native SQL query. Alternatively, the elements entities , classes | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.resultClass JPA Annotation Attribute in jakarta.persistence. NamedNativeQuery Class resultClass default void.class The class of each query result. If a result set mapping is specified, the specified result class must agree with the type inferred from the result set mapping. If a resultClass is not explicitly | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.hints JPA Annotation Attribute in jakarta.persistence. NamedNativeQuery QueryHint [] hints default {} Query properties and hints. (May include vendor-specific query hints.) Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.query JPA Annotation Attribute in jakarta.persistence. NamedNativeQuery String query default null The native SQL query string. Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.name JPA Annotation Attribute in jakarta.persistence. NamedNativeQuery String name default null The name used to identify the query in calls to EntityManager.createNamedQuery . Since: JPA 1.0 | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.classes JPA Annotation Attribute in jakarta.persistence. NamedNativeQuery ConstructorResult [] classes default {} Specifies the result set mapping to constructors. May not be used in combination with resultSetMapping . Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.entities JPA Annotation Attribute in jakarta.persistence. NamedNativeQuery EntityResult [] entities default {} Specifies the result set mapping to entities. May not be used in combination with resultSetMapping . Since: JPA 3.2 | |
AnnotationAttrRef jakarta.persistence.NamedNativeQuery.columns JPA Annotation Attribute in jakarta.persistence. NamedNativeQuery ColumnResult [] columns default {} Specifies the result set mapping to scalar values. May not be used in combination with resultSetMapping . Since: JPA 3.2 | |
InterfaceRef jakarta.persistence.TypedQueryReference JPA Interface TypedQueryReference Type Parameters: - an upper bound on the result type of the query A reference to a named query declared via the NamedQuery or NamedNativeQuery annotations ... of all hints specified via NamedQuery.hints or NamedNativeQuery .hints . Since: JPA 3.2 String getName | |
AnnotationRef jakarta.persistence.EntityResult JPA Annotation EntityResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping or NamedNativeQuery annotation to map the SELECT clause of a SQL query to an entity ... = "OrderItemResults", entities = { See Also: SqlResultSetMapping NamedNativeQuery Since: JPA 1.0 Public | |
AnnotationRef jakarta.persistence.ColumnResult JPA Annotation ColumnResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping , NamedNativeQuery , or ConstructorResult annotation to map a column of the SELECT ... .class, fields = { See Also: SqlResultSetMapping NamedNativeQuery ConstructorResult Since: JPA 1.0 | |
InterfaceRef jakarta.persistence.EntityManager See Also: NamedQuery NamedNativeQuery Since: JPA 1.0 TypedQuery createNamedQuery (String name ... to the specified type See Also: EntityManagerFactory.getNamedQueries NamedQuery NamedNativeQuery | |
AnnotationRef jakarta.persistence.ConstructorResult JPA Annotation ConstructorResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping or NamedNativeQuery annotation to map the SELECT clause of a SQL query ... = { See Also: SqlResultSetMapping NamedNativeQuery ColumnResult Since: JPA 2.1 Public Annotation Attributes ColumnResult | |
TypedQueryReference.getHints() - JPA Method JPA Method in jakarta.persistence.TypedQueryReference Map getHints () A map keyed by hint name of all hints specified via NamedQuery.hints or NamedNativeQuery .hints . Since: JPA 3.2 | |
AnnotationRef jakarta.persistence.QueryHint JPA Annotation QueryHint Implemented Interfaces: Annotation Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation. Vendor-specific hints that are not recognized by a provider are ignored. Since: JPA 1.0 Public Annotation Attributes String name default null Name | |
EntityManager.createQuery(reference) - JPA Method is found to not be assignable to the specified type See Also: EntityManagerFactory.getNamedQueries NamedQuery NamedNativeQuery Since: JPA 1.0 | |
AnnotationRef jakarta.persistence.SqlResultSetMapping StoredProcedureQuery NamedNativeQuery NamedStoredProcedureQuery Since: JPA 1.0 Public Annotation Attributes | |
EntityManager.createNamedQuery(name) - JPA Method with the given name or if the query string is found to be invalid See Also: NamedQuery NamedNativeQuery Since: JPA 1.0 |