About contains

page

JPA Tutorials

Tutorials for using JPA and ObjectDB in Eclipse and NetBeans (console applications, web application, Java EE 6 applications). The following tutorials demonstrate how to develop database driven applications using JPA and the ObjectDB ODBMS (Object Oriented Database Management System). Console JPA Tutorial The Quick Start tutorial demonstrates how to use Objec ...

 
manual

Chapter 1 - Quick Tour

Quick tour on how to use Java and JPA with the ObjectDB Object Database.... that this chapter presents manages a simple database that contains points in the plane. Each point is represented by an object with two ... updating and deleting Point objects. This chapter contains the following sections: Defining a JPA Entity Class ...

 
forum_thread

@ElementCollection of type enum

Hi! I have in an entity called User with the following field: @ElementCollection(fetch = FetchType.EAGER) private Set<UserPermission> permissions; package x.x.x.x public enum UserPermission { BASIC, COACH, ADMIN } Use case: there are users which contain the first 2 permissions (BASIC and COACH, so the first 2 entries). #1 2014-02-04 15:03 Hi! I have in an entity called User with the following field: @ElementCollection(fetch = FetchType.EAGER) ...

 
api-jpa

values()

Returns an array containing the constants of this enum type.(Static Method of javax.persistence.FetchType)

 
api-jpa

values()

Returns an array containing the constants of this enum type.(Static Method of javax.persistence.AccessType)

 
forum_thread

Can't get arraylist/vector type attributes

I have a class that contains some attributes of type Vector (also tried with ArrayList and same happens). When I try to get an object from that class doing using the find method it works fine, I get the object. But when I call the close method to close the EntityManager the information from the Vector dissapears and I get an empty vector. ... I have a class that contains some attributes of type Vector (also tried with ArrayList and same ...

 
api-jdo

values()

Returns an array containing the constants of this enum type.(Static Method of javax.jdo.ObjectState)

 
api-jdo

values()

Returns an array containing the constants of this enum type.(Static Method of javax.jdo.annotations.SequenceStrategy)

 
api-jpa

values()

Returns an array containing the constants of this enum type.(Static Method of javax.persistence.PessimisticLockScope)

 
api-jpa

values()

Returns an array containing the constants of this enum type.(Static Method of javax.persistence.criteria.CriteriaBuilder.Trimspec)