Internal Website Search

61-70 of 200 resultsRefresh

JPA Entity Fields

the JPA api/java/jpa/Transient">@Transient annotation (which only affects persistence): api/java/jpa/Entity">@Entity public class ... persistent because of transient api/java/jpa/Transient">@Transient int transient4

Setting and Tuning of JPA Queries

The api/java/jpa/Query">Query and api/java/jpa/TypedQuery">TypedQuery interfaces define various setting and tuning methods ... is run using api/java/jpa/TypedQuery/getResultList">getResultList or api/java

Locking in JPA

>During api/java/jpa/EntityTransaction/commit">commit (and api ... to the version number of the in-memory object being updated. The transaction fails and an api/java ... ="/api/java/jpa/EntityManager">EntityManager) since it was retrieved by the current

Retrieving JPA Entity Objects

The Java Persistence API (JPA) provides various ways to retrieve objects from ... . Given an api/java/jpa/EntityManager">EntityManager em Employee employee = em.api/java/jpa/EntityManager

Shared (L2) Entity Cache

Every api/java/jpa/EntityManager">EntityManager owns ... entity object. The scope of the persistence context is one api/java/jpa ... of entity objects, which is managed by the api/java/jpa/EntityManagerFactory">

Database Connection using JPA

Working with the Java Persistence API (JPA) consists of using the following interfaces ... to a database is represented by an api/java/jpa/EntityManager">EntityManager instance, for every HTTP request. The main role of an api/java/jpa

createNamedQuery(name, resultClass)

api/java/jpa/EntityManager" title="Interface in javax.persistence">javax.persistence.EntityManagerapi/java/jpa/TypedQuery" title ... > - the name of a query defined in metadata resultClass

createNamedQuery(name)

api/java/jpa/EntityManager" title="Interface in javax.persistence">javax.persistence.EntityManagerapi/java/jpa/Query" title="Interface in ... of a query defined in metadata Returns

registerClass(event)

api/java/jdo/spi/RegisterClassListener" title="Interface in ... ;api/java/jdo/spi/RegisterClassEvent" title="Class in javax.jdo.spi">RegisterClassEvent ... > instance describing the registered class plus metadata.

javax.jdo.spi.RegisterClassListener

class="header"> void api/java/jdo/spi/RegisterClassListener ... ">registerClass ( api/java/jdo/spi/RegisterClassEvent" title="Class in javax ... >RegisterClassEvent instance describing the registered class plus metadata.