Fast Object Database for Java - with JPA/JDO support

Internal Website Search

1-10 of 12 resultsRefresh
103

javax.persistence.SqlResultSetMappings

javax.persistence Annotation SqlResultSetMappings Target: Classes Is used to define one or more SqlResultSetMapping annotations. Since: JPA 1.0 SqlResultSetMapping[] value One or more SqlResultSetMapping annotations. One or more SqlResultSetMapping annotations. Since: JPA 1.0
99

SqlResultSetMappings.value

Annotation Element javax.persistence.SqlResultSetMappings SqlResultSetMapping[] value One or more SqlResultSetMapping annotations. Since: JPA 1.0
96

javax.persistence.SqlResultSetMapping

javax.persistence Annotation SqlResultSetMapping Target: Classes Specifies the mapping of the result of a native SQL query. Example: Query q = em.createNativeQuery( "SELECT o.id AS order ... > 25) AND (order_item = i.id)", "OrderResults"); @SqlResultSetMapping(name="OrderResults
92

SqlResultSetMapping.name

Annotation Element javax.persistence.SqlResultSetMapping String name The name given to the result set mapping, and used to refer to it in the methods of the Query API. Since: JPA 1.0
92

SqlResultSetMapping.entities

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

SqlResultSetMapping.columns

Annotation Element javax.persistence.SqlResultSetMapping ColumnResult[] columns Specifies the result set mapping to scalar values. Default value: {} Since: JPA 1.0
48

JPA Annotations for SQL Queries

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

javax.persistence.ColumnResult

"); @SqlResultSetMapping(name="OrderResults", entities={ @EntityResult(entityClass=com.acme.Order ... See Also: SqlResultSetMapping String name (Required) The name of a column in the SELECT clause of a SQL
11

javax.persistence.EntityResult

)", "OrderItemResults"); @SqlResultSetMapping(name="OrderItemResults", entities={ @EntityResult ... ) }) Since: JPA 1.0 See Also: SqlResultSetMapping String discriminatorColumn Specifies the column name (or
11

javax.persistence.NamedNativeQuery

resultSetMapping The name of a SqlResultSetMapping, as defined in metadata. The name of a SqlResultSetMapping, as defined in metadata. 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