About navigator
Paths and Types in JPQL and Criteria API
Explains how to use object expressions (path navigation, type) in JPA/JPQL. Instances of user defined persistable classes (entity classes, mapped super classes and embeddable classes) are represented in JPQL by the following types of expressions: Variables - FROM identification variables and SELECT re ...
Database Explorer
Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually. ObjectDB Database Explorer is a visual GUI tool for managing ObjectDB databases. It can be used to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases. This page covers the followi ...
Database Explorer
Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually. ObjectDB Database Explorer is a visual GUI tool for managing ObjectDB databases. It can be used to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases. This page covers the followi ...
Detached Entity Objects
Explains detached entity objects and how to work with detached objects in JPA, including merging them into an EntityManager. Detached entity objects are objects in a special state in which they are not managed by any EntityManager javax.persistence.EntityManager JPA interface Interface used to interact with the persistence context. See JavaDoc ...
Navigation through lazy loading from Detached Objects
A main limitation of detached objects (as explained on the Detached Entities manual page) is: Feature Request Version: 2.2.6 Priority: Normal Status: Active Replies: 4 Type: Feature Request ...
how to query by properties of onetomany relations? (Error 990)
the following code fails em.createQuery("select f from Foo f where f.bars.name = ?1", Foo.class).setParameter(1, barName) stacktrace: #1 2011-05-10 21:39 the following code fails em. createQuery ( "select f from Foo f where f.bars.name = ?1" , Foo. ...
Navigation to Collection Elements
Greetings ObjectDB team, Suppose I have a collection typed field (list/map/set...) in my persistent object of class X. Can I navigate (as oppose to using JOIN) to individual elements (in JPA & JDO) ? e.g.: x.list.get(10) x.map.get("key") x.list.get(10).get("key") // the element itself is a map Thanks & Best Regards #1 2010-09-15 05:53 Greetings ObjectDB team, Suppose I have a collection typed field (list/map/set...) in my persistent& ...
Navigation and Parameters
Greetings ObjectDB team, Suppose I pass a List of persistent objects to some query as a parameter, can I navigate to those objects' fields ? E.g.: SELECT x FROM ClassX x WHERE x.a IS MEMBER OF :y.b #1 2010-10-20 11:54 Greetings ObjectDB team, Suppose I pass a List of persistent objects to some query as a paramet ...
Retrieving JPA Entity Objects
Explains how to use JPA to retrieve entity objects from the database. The Java Persistence API (JPA) provides various ways to retrieve objects from the database. The retrieval of objects does not require an active transaction because it does not change the content of the database. The persistence context se ...
JPA Query Expressions (JPQL / Criteria)
Describes JPA query (JPQL / Criteria API) expressions (literals, operators and functions). Query expressions are the foundations on which JPQL and criteria queries are built. Every query consists of clauses - SELECT, FROM, WHERE, GROUP BY, HAVING and ORDER BY, and each clause consists of JPQL / Criteria query expressions. ...