ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
78

Multiple joins did not return expected result

a specific calendar by its id like: SELECT event FROM Calendar c1, SharedCalendar c2 INNER JOIN c1.events AS event INNER JOIN c2.original.events AS event WHERE c1.id=?1 OR c2.id=?1 Unfortunately ... FROM Calendar c1, SharedCalendar c2 INNER JOIN c1.events AS event1 INNER JOIN c2.original.events
77

LEFT JOIN FETCH over empty embedded collection returns no results

First of all, thank you for promptly implementing JOIN FETCH over nested paths in response ... , but I attempt to LEFT JOIN FETCH all the members of a collection within a (non-existent) member ... where bList is empty, the following works (returns my instance of C): SELECT c FROM C c LEFT JOIN FETCH
73

Query with FETCH JOIN returns multiple results instead of one.

join semantics as the corresponding inner or outer join, except that the related objects specified ... jpqlResult = em.createQuery( "SELECT d FROM Demand d JOIN FETCH d.services WHERE d=:demand ... duplicates with DISTINCT: SELECT DISTINCT d FROM Demand d JOIN FETCH d.services WHERE d=:demand
72

Possible issue for JPQL "LEFT [OUTER] JOIN"

Possible issue for JPQL "LEFT [OUTER] JOIN" is doing "[INNER] JOIN". Thanks. eurojet P. F. Martinez ... A a LEFT OUTER JOIN a.listB b WHERE b IS NULL" where the output would be [A4, null] or even throw ... FROM A a LEFT OUTER JOIN a.listB b WHERE b.id IS NULL" but it works fine with an relationship
14

javax.persistence.criteria.JoinType

, Comparable<JoinType> Defines the three types of joins. Right outer joins and right outer fetch joins are not required to be supported in Java Persistence 2.0. Applications that use RIGHT join types will not be portable. Since: JPA 2.0 JoinType INNER Inner join. Inner join. Since: JPA 2.0 JoinType LEFT
10

JPA Persistable Types

: should be a top-level class (i.e. not a nested / inner class). should have a public or protected ... is slightly less restrictive: Static nested entity classes are allowed (non static inner classes
9

Paths and Types in JPQL and Criteria API

. It might be easier to understand exactly how this works by considering the equivalent JOIN query. Entity ... are represented in the JPA Criteria API by the Path interface and by its subinterfaces (From, Root, Join and Join's descendants). Path Expressions The Root and Join interfaces (which are subinterfaces
8

fetch(attribute)

Method javax.persistence.criteria.FetchParent Fetch<X,Y> fetch( SingularAttribute<?,Y> 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
8

fetch(attribute)

Method javax.persistence.criteria.FetchParent Fetch<X,Y> fetch( PluralAttribute<?,?,Y> 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
8

fetch(attributeName)

Method javax.persistence.criteria.FetchParent Fetch<X,Y> 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

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