ObjectDB ObjectDB

Internal Website Search

1-5 of 5 resultsRefresh


javax.persistence Annotation ColumnResult Target: References name of a column in the SELECT clause of a SQL query - i.e., column alias, if applicable. Scalar result types can be included in the query ... _item")})}, columns={ @ColumnResult(name="item_name")} ) Since: JPA 1.0


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

JPA Annotations for SQL Queries

Reference (JavaDoc) of JPA 2 sql query annotations.


")})}, columns={ @ColumnResult(name="item_name")} ) Since: JPA 1.0 ColumnResult[] columns


Annotation Element javax.persistence.SqlResultSetMapping ColumnResult[] columns Specifies the result set mapping to scalar values. 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