ObjectDB ObjectDB

Internal Website Search

51-60 of 186 resultsRefresh
19

multiple LEFT JOINs do not work as expected

stores a reference to it parent organisation. I'm trying to find all organisations 2 levels under a root organisation, e.g. where organisation.parentOrg is the root or organisation.parentOrg.parentOrg is the root. The query also contains a number of other predicates and it is built dynamically using
4

javax.persistence.criteria.ListJoin

q = cb.createQuery(Person.class); Root p = q.from(Person.class ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person
4

javax.persistence.criteria.CollectionJoin

. For example: CriteriaQuery q = cb.createQuery(Person.class); Root ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root
4

excludeUnlistedClasses()

Method javax.persistence.spi.PersistenceUnitInfo boolean excludeUnlistedClasses() Returns whether classes in the root of the persistence unit that have not been explicitly listed are to be included ... the persistence.xml file. Returns: whether classes in the root of the persistence unit that have not
4

getPersistenceUnitRootUrl()

Method javax.persistence.spi.PersistenceUnitInfo URL getPersistenceUnitRootUrl() Returns the URL for the jar file or directory that is the root of the persistence unit. (If the persistence unit is rooted in the WEB-INF/classes directory, this will be the URL of that directory.) The URL
4

javax.persistence.criteria.MapJoin

: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from
0

javax.jdo.annotations.FetchPlan

to instantiate, starting with the root object. The depth of references to instantiate, starting with the root object. Returns: the maxium fetch depth Default value: 1 Since: JDO 2.1 String name Name
0

getDetachmentRootClasses()

Method javax.jdo.FetchPlan Class[] getDetachmentRootClasses() Get the root classes for DetachAllOnCommit. Returns: The detachment root classes Since: JDO 2.0
0

getDetachmentRoots()

Method javax.jdo.FetchPlan Collection getDetachmentRoots() Get the roots for DetachAllOnCommit. Returns: Collection of detachment roots. Since: JDO 2.0
0

setDetachmentRootClasses(rootClasses)

Method javax.jdo.FetchPlan FetchPlan setDetachmentRootClasses( Class... rootClasses ) Set the root classes for DetachAllOnCommit. Parameters: rootClasses - The root classes. Since: JDO 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