Internal Website Search

51-60 of 200 resultsRefresh

Multiple joins did not return expected result

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 SELECT event1, event2 FROM Calendar c1, SharedCalendar c2 INNER JOIN

LEFT JOIN FETCH over empty embedded collection returns no results

are considered as INNER JOIN by JPA, although apparently it makes sense to consider path expressions in ... First of all, thank you for promptly implementing JOIN FETCH over nested paths in ... : if an embedded collection is empty, but I attempt to LEFT JOIN FETCH all the members of a collection

Query with FETCH JOIN returns multiple results instead of one.

WHERE d.deptno = 1 "A fetch join has the same join semantics as the corresponding inner or ... JOIN FETCH d.services WHERE d=:demand") .setParameter("demand", demand).getResultList(); SELECT DISTINCT d FROM Demand d JOIN FETCH d.services WHERE d=:demand

Possible issue for JPQL "LEFT [OUTER] JOIN"

Possible issue for JPQL "LEFT [OUTER] JOIN" is doing "[INNER] JOIN". JOIN a.listB b WHERE b IS NULL" where the output would be [A4, null] or even throw ... ;   - "SELECT a,b FROM A a LEFT OUTER JOIN a.listB b WHERE b.id IS NULL"

javax.persistence.criteria.JoinType

class="teaser"> Inner join. Inner join ... > 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

JPA Persistable Types

class (i.e. not a nested / inner class). should have a public or Static nested entity classes are allowed (non static inner

fetch(attribute)

"> Create a fetch join to the specified single-valued attribute using an inner join. - target of the join Returns: the resulting fetch join

fetch(attribute)

"> Create a fetch join to the specified collection-valued attribute using an inner join. - target of the join Returns: the resulting join

Constants.OPTION_MAPPING_JOINED_TABLE_PER_CLASS

Static Field javax.jdo.ConstantsString OPTION_MAPPING_JOINED_TABLE_PER_CLASS "javax

Constants.OPTION_MAPPING_NON_JOINED_TABLE_PER_CONCRETE_CLASS

Static Field javax.jdo.ConstantsString OPTION_MAPPING_NON_JOINED_TABLE_PER_CONCRETE_CLASS