Home » Search

About persistence unit

41-50 of 200 Refresh
Manual
17

Locking in JPA

can be set in several scopes: For the entire persistence unit - using a persistence.xml property:             persistence.lock.timeout" hint
Manual
17

Working with JPA Entity Objects

Entity objects are in-memory instances of entity classes ( persistable user defined classes ... the database. An entity object becomes Managed when it is persisted to the database via an EntityManager’s persist method, which must be invoked within an active transaction. On transaction commit
Tutorial
15

Step 2: Define a JPA Entity Class

that a persistence unit definition in an XML file is missing. This is discussed in the ObjectDB Manual ... code: package guest; import java.io.Serializable; import java.sql.Date; import javax. persistence.Entity; import javax. persistence.GeneratedValue; import javax. persistence.Id; @Entity public
Manual
15

CRUD Database Operations with JPA

= 0; i < 1000; i++) { Point p = new Point(i, i); em. persist(p); } em ... a managed entity) by the persist method. The new Point objects are physically stored in the database ... persisting objects in the database in more detail. JPA Queries with JPQL We can get the number of Point
JDO Doc
14

javax.jdo.JDOHelper

PersistenceManagerFactory or persistence unit. Returns a named PersistenceManagerFactory or persistence unit. Parameters ... PersistenceManagerFactory or persistence unit. Returns a named PersistenceManagerFactory or persistence ...  loader) Returns a named PersistenceManagerFactory or persistence unit. Returns a named
JPA Doc
13

JPA Reference (JavaDoc)

This reference contains the API documentation (similar to JavaDoc) of the Java Persistence API (JPA) 2.0. The content is derived from the original JPA documentation (in the EclipseLink JPA 2 RI) with some additions and notes. The four most basic JPA types are: All the other JPA types are organized
FAQ
13

Which API should I use - JPA or JDO?

You can use ObjectDB with either the Java Persistence API (JPA) or the Java Data Objects (JDO) API. Both share similar architecture, design and abilities. When to prefer JPA JPA is more commonly used. Therefore, it might be the first choice for most new applications. You can use JPA as the primary
JPA Doc
13

Persistence()

Constructor javax. persistence. Persistence Persistence() Since: JPA 1.0
JPA Doc
13

Persistence.PERSISTENCE_PROVIDER

Static Field javax. persistence. Persistence String PERSISTENCE_PROVIDER Deprecated. This final String is deprecated and should be removed and is only here for TCK backward compatibility Since: JPA 1.0
Result
13

Company

persistence solution for Java, based on the Java Persistence API (JPA) and the Java Data Objects (JDO ... Ltd 109 Vernon House Friar Lane Nottingham NG1 6DQ United Kingdom +44 (0) 330 8080702 sales@objectdb