Fast Object Database for Java - with JPA/JDO support

Internal Website Search

61-70 of 200 resultsRefresh
7

fetch(attributeName)

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

fetch(attribute)

Method javax.persistence.criteria.FetchParent Fetch fetch( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Parameters: attribute - target of the join Returns: the resulting fetch join Since: JPA 2.0
7

fetch(attribute)

Method javax.persistence.criteria.FetchParent Fetch fetch( PluralAttribute attribute ) Create a fetch join to the specified collection-valued attribute using an inner join. Parameters: attribute - target of the join Returns: the resulting join Since: JPA 2.0
7

Left join fetch behaviour doesn't retrieve children?

Hello, I'm a little bit confused about a left join fetch behaviour. In this test case, i try to fetch my 3 children using a left join fetch. But my collection is null after closing the em ... left join fetch         em = emf.createEntityManager();         TypedQuery query
7

joinSet(attributeName)

Method javax.persistence.criteria.From SetJoin joinSet( String attributeName ) Create an inner join to the specified Set-valued 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
7

joinMap(attributeName)

Method javax.persistence.criteria.From MapJoin joinMap( String attributeName ) Create an inner join to the specified Map-valued 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
7

joinList(attributeName)

Method javax.persistence.criteria.From ListJoin joinList( String attributeName ) Create an inner join to the specified List-valued 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
7

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
6

multiple LEFT JOINs do not work as expected

like this: SELECT DISTINCT $1 FROM Organisation $1 JOIN $1.attributeList $2 LEFT JOIN $1.parentOrg $3 LEFT JOIN $3.parentOrg $4 WHERE ((($2.name='Attribute1') AND ($2 ... , since I use LEFT Joins this query should return all organisation under the root organisation
6

How do I achieve a Deep Fetch using JOIN FETCH?

that I can express one level of eager fetch in JPQL as follows: SELECT c FROM C JOIN FETCH c.bList WHERE c.id=:id But when I attempt to take it to the 2nd level: SELECT c FROM C JOIN FETCH c.bList JOIN FETCH c.bList.aList WHERE c.id=:id I get an error along the lines of: Invalid fetch path

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