ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
89

Delete object from collection versus delete from JPQL

Delete object from collection versus delete from JPQL
38

join(list)

Method javax.persistence.criteria.From ListJoin<X,Y> join( ListAttribute<?,Y> 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
38

from(entityClass)

Method javax.persistence.criteria.AbstractQuery Root<X> from( Class<X> 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
38

join(attributeName, jt)

Method javax.persistence.criteria.From Join<X,Y> 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
38

join(map)

Method javax.persistence.criteria.From MapJoin<X,K,V> join( MapAttribute<?,K,V> 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
38

join(attributeName)

Method javax.persistence.criteria.From Join<X,Y> 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
38

join(set)

Method javax.persistence.criteria.From SetJoin<X,Y> join( SetAttribute<?,Y> 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
1

[ODB1] Chapter 6 - Persistent Objects

, every transient object that, at commit time, is reachable from a persistent object (using persistent ... . An embedded object cannot be shared by references from multiple objects. In addition, embedded ... or queried directly (an embedded object can only be retrieved using a reference from its containing

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