ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
109

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
81

LazyInitialization / join fetch

descrica2_2_3_ from the User usuario0_ left outer join on area area1_ usuario0_.codigo_area = area1_.codigo left outer join on User usuario2_ usuario0_.codigo_chefe = usuario2_.codigo left outer join company empresa3_ on usuario2_.codigo_empresa = empresa3_.codigo left outer join on specialty especialid4
68

Query with FETCH JOIN returns multiple results instead of one.

: SELECT d FROM Department d LEFT JOIN FETCH d.employees WHERE d.deptno = 1 "A fetch join has the same 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
65

JPQL JOIN FETCH Error

Hello I get an error when executing the following JPQL query: select doi from Doi doi left join fetch doi.metadata metadata left join fetch metadata.titles titles left join fetch metadata.creators creators left join fetch metadata.descriptions descriptions left join fetch metadata
21

javax.persistence.criteria.JoinType

will not be portable. Since: JPA 2.0 JoinType INNER Inner join. Inner join. Since: JPA 2.0 JoinType LEFT Left outer join. Left outer join. Since: JPA 2.0 JoinType RIGHT Right outer join. Right outer join ... , Comparable<JoinType> Defines the three types of joins. Right outer joins and right outer fetch joins
17

javax.persistence.criteria.Join

javax.persistence.criteria Interface Join<Z,X> Superinterfaces: Expression<X>, FetchParent<Z,X ... , PluralJoin, SetJoin A join to an entity, embeddable, or basic type. Since: JPA 2.0 Learn how to use JPA criteria API's Join in Chapter 4 of the ObjectDB/JPA manual. Selection<X> alias(String name
11

join(attribute, jt)

Method javax.persistence.criteria.From Join<X,Y> join( SingularAttribute<?,Y> attribute, JoinType jt ) Create a join to the specified single-valued attribute using the given join type. Parameters: attribute - target of the join jt - join type Returns: the resulting join Since: JPA 2.0
11

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
1

[ODB1] Chapter 7 - JDOQL Queries

as a replacement for the JOIN operation of SQL Support of bound variables is mandatory, but support ... , but according to JDO, the contains(...) clause must come first (i.e. on the left side), before any ... by ObjectDB, but considered optional by JDO. Queries with unbound variables are similar to JOIN
1

javax.jdo.annotations.Joins

javax.jdo.annotations Annotation Joins Target: Classes Annotation for a group of joins. Since: JDO 2.1 Join[] value The join definitions used for the mapping of this type. The join definitions used for the mapping of this type. Joins for secondary tables are usually defined at the type level

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