About Container

page

JPA Tutorials

Tutorials for using JPA and ObjectDB in Eclipse and NetBeans (console applications, web application, Java EE 6 applications).... use EJB, so you should be able to run it on any servlet container (e.g. Apache Tomcat, Jetty, Caucho Resin), as well as on full ... 6 web application that should be deployed in a Java EE 6 container: Java EE 6 (J2EE) Web Tutorial ...

 
manual

Chapter 1 - Quick Tour

Quick tour on how to use Java and JPA with the ObjectDB Object Database. This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program. After reading this chapter you should be able to write basic programs that create, open and close ObjectDB databases and perform basic CRUD operations (Cr ...

 
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)

 
forum_thread

Missing Data on Retrieval (0, null values)

I try  to export all Objects in an Flatfile-Hiearchy (.csv). But only the first exported Table contains all necessary Data. Most of the others  contains all  Object-Rows', but most Values of the Columns are missing. With a  em.clear() inside the Loop, all tables are exported correctly but the Enity-Keys do not match. I can't get the point - what am i doing wrong?   emf = Persistence.createEntityManagerFactory(dbFile); em = emf.createEntityManager(); #1 2016-04-13 07:07 I try  to export all Objects in an Flatfile-Hiearchy (.csv). But only the first exported Table contains ...

 
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)

 
api-jpa

values()

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