Fast Object Database for Java - with JPA/JDO support

Internal Website Search

1-9 of 9 resultsRefresh
106

javax.persistence.EntityResult

javax.persistence Annotation EntityResult Target: Used to map the SELECT clause of a SQL query ... )", "OrderItemResults"); @SqlResultSetMapping(name="OrderItemResults", entities={ @EntityResult(entityClass=com.acme.Order.class), @EntityResult(entityClass=com.acme.Item.class
99

EntityResult.fields

Annotation Element javax.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 value: {} Since: JPA 1.0
99

EntityResult.entityClass

Annotation Element javax.persistence.EntityResult Class entityClass The class of the result. Since: JPA 1.0
99

EntityResult.discriminatorColumn

Annotation Element javax.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 value: "" Since: JPA 1.0
34

JPA Annotations for SQL Queries

Reference (JavaDoc) of JPA 2 sql query annotations.
12

javax.persistence.SqlResultSetMapping

", entities={ @EntityResult(entityClass=com.acme.Order.class, fields ... . Default value: {} Since: JPA 1.0 EntityResult[] entities Specifies the result set mapping
9

javax.persistence.ColumnResult

"); @SqlResultSetMapping(name="OrderResults", entities={ @EntityResult(entityClass=com.acme.Order
9

javax.persistence.FieldResult

", entities={ @EntityResult(entityClass=com.acme.Order.class, fields
9

SqlResultSetMapping.entities

Annotation Element javax.persistence.SqlResultSetMapping EntityResult[] entities Specifies the result set mapping to entities. Default value: {} Since: JPA 1.0

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support