Fast Object Database for Java - with JPA/JDO support

Internal Website Search

31-40 of 200 resultsRefresh
42

from(entity)

Method javax.persistence.criteria.AbstractQuery Root from( EntityType entity ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots. Parameters: entity - metamodel entity representing the entity of type X Returns: query root corresponding to the given entity Since: JPA 2.0
42

joinCollection(attributeName)

Method javax.persistence.criteria.From CollectionJoin joinCollection( String attributeName ) Create an inner join to the specified Collection-valued attribute. Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting join Throws
42

join(list)

Method javax.persistence.criteria.From ListJoin join( ListAttribute list ) Create an inner join to the specified List-valued attribute. Parameters: list - target of the join Returns: the resulting join Since: JPA 2.0
42

from(entityClass)

Method javax.persistence.criteria.AbstractQuery Root from( Class entityClass ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots. Parameters: entityClass - the entity class Returns: query root corresponding to the given entity Since: JPA 2.0
42

join(attributeName, jt)

Method javax.persistence.criteria.From Join join( String attributeName, JoinType jt ) Create a join to the specified attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Returns: the resulting join Throws
42

join(map)

Method javax.persistence.criteria.From MapJoin join( MapAttribute map ) Create an inner join to the specified Map-valued attribute. Parameters: map - target of the join Returns: the resulting join Since: JPA 2.0
42

join(attributeName)

Method javax.persistence.criteria.From Join join( String attributeName ) Create an inner join to the specified attribute. Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting join Throws: IllegalArgumentException - if attribute of the given name does not exist Since: JPA 2.0
42

join(set)

Method javax.persistence.criteria.From SetJoin join( SetAttribute set ) Create an inner join to the specified Set-valued attribute. Parameters: set - target of the join Returns: the resulting join Since: JPA 2.0
37

JPA Query Structure (JPQL / Criteria)

rather than just field values from database tables, as with SQL. That makes JPQL more object oriented friendly ... of up to 6 clauses in the following format: SELECT ... FROM ... [WHERE ...] [GROUP BY ... [HAVING ...]] [ORDER BY ...] The first two clauses, SELECT and FROM are required in every retrieval query
31

Chapter 4 - JPA Queries (JPQL / Criteria)

(and a criteria query) is explained by describing the main clauses of JPQL queries (SELECT, FROM, WHERE, GROUP

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