ObjectDB Database Search

1-8 of 8 results

jakarta.persistence.EntityResult

Jakarta Persistence (JPA) Annotation Type jakarta.persistence. EntityResult Implemented Interfaces ... "); @SqlResultSetMapping( name = "OrderItemResults", entities = { @ EntityResult (entityClass = com.acme.Order.class), @ EntityResult (entityClass = com.acme.Item.class) } ) See Also: SqlResultSetMapping

jakarta.persistence.EntityResult.discriminatorColumn

Jakarta Persistence (JPA) Method in jakarta.persistence. EntityResult String discriminatorColumn Specifies the column name (or alias) of the column in the SELECT list that is used to determine the type of the entity instance. Default: "" Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityResult.entityClass

Jakarta Persistence (JPA) Method in jakarta.persistence. EntityResult Class entityClass The class of the result. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityResult.lockMode

Jakarta Persistence (JPA) Method in jakarta.persistence. EntityResult LockModeType lockMode The lock mode obtained by the SQL query. Default: LockModeType.OPTIMISTIC Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.EntityResult.fields

Jakarta Persistence (JPA) Method in jakarta.persistence. EntityResult FieldResult[] fields Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class. Default: {} Since: Jakarta Persistence (JPA) 1.0

SQL Queries Annotations

entity class. Maps a specific SQL column to an entity field or property within an @ EntityResult . Maps a result set column directly to a scalar value.

jakarta.persistence.FieldResult

: Annotation Used in conjunction with the EntityResult annotation to map columns specified in ... "); @SqlResultSetMapping( name = "OrderResults", entities = { @ EntityResult ( entityClass = com.acme ... ") }) }) See Also: EntityResult SqlResultSetMapping Since: Jakarta Persistence (JPA) 1.0 Annotation Elements String name

jakarta.persistence.ColumnResult

= { @ EntityResult ( entityClass = com.acme.Order.class, fields = { @FieldResult(name = "id", column = "order_id