ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh
4

Chapter 6 - Configuration

, the configuration file is loaded from $objectdb/objectdb.conf where $objectdb represents the ObjectDB home ... from the location of the objectdb.jar file. It is defined as the path to the directory in ... file is loaded from $objectdb/objectdb.conf. You can specify an alternative path by setting
4

javax.persistence.criteria.Join

>, From<Z,X>, Path<X>, Selection<X>, TupleElement<X> Subinterfaces: CollectionJoin, ListJoin, MapJoin ... attribute. Note: Applications using the string-based API may need to specify the type resulting from ... q = cb.createQuery(Person.class); Root p = q.from(Person.class); q
4

javax.persistence.criteria.ListJoin

>, From<Z,E>, Join<Z,E>, Path<E>, PluralJoin<Z,List<E>,E>, Selection<E>, TupleElement<E> The ListJoin ... attribute. Note: Applications using the string-based API may need to specify the type resulting from ... q = cb.createQuery(Person.class); Root p = q.from(Person.class
4

javax.persistence.criteria.MapJoin

>, From<Z,V>, Join<Z,V>, Path<V>, PluralJoin<Z,Map<K,V>,V>, Selection<V>, TupleElement<V ... resulting from the get operation in order to avoid the use of Path variables. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from
4

javax.persistence.criteria.Root

javax.persistence.criteria Interface Root<X> Superinterfaces: Expression<X>, FetchParent<X,X>, From<X,X>, Path<X>, Selection<X>, TupleElement<X> A root type in the from clause. Query roots ... API may need to specify the type resulting from the get operation in order to avoid the use of Path
4

javax.persistence.criteria.PluralJoin

<Z,E>, From<Z,E>, Join<Z,E>, Path<E>, Selection<E>, TupleElement<E> Subinterfaces: CollectionJoin ... to specify the type resulting from the get operation in order to avoid the use of Path variables ... p = q.from(Person.class); q.select(p) .where(cb.isMember("joe", p
4

javax.persistence.criteria.SetJoin

>, From<Z,E>, Join<Z,E>, Path<E>, PluralJoin<Z,Set<E>,E>, Selection<E>, TupleElement<E> The SetJoin ... attribute. Note: Applications using the string-based API may need to specify the type resulting from ... q = cb.createQuery(Person.class); Root p = q.from(Person.class); q
0

Step 4: Add a Servlet Class

FROM Guest g", Guest.class).getResultList(); request.setAttribute("guests", guestList ... : The EntityManagerFactory is retrieved from the application scope attribute, and then an EntityManager ... the database. All the Guest entity objects are retrieved from the database and stored in the request's
0

Step 3: Define an EJB Session Bean

> getAllGuests() { TypedQuery<Guest> query = em.createQuery( "SELECT g FROM Guest g ... the database. getAllGuests - for retrieving all the existing Guest objects from the database. EJB classes ... containers, such as Tomcat and Jetty. By using EJB classes we can move some work from the application
0

Step 3: Define a Spring DAO Component

( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return query ... from the database. By using Spring components we can move some work from the application to the Spring

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