Internal Website Search

51-60 of 200 resultsRefresh

Query Parameters in JPA

Query parameters enable the definition of reusable queries. Such queries can be executed with different parameter values to retrieve different results. Running the same query multiple ... -toc> Named Parameters (:name) The following method retrieves

Updating JPA Entity Objects

> Transparent Update Once an entity object is retrieved from ... is to keep a snapshot of every managed object when it is retrieved from the database and to compare

Chapter 1 - Quick Tour

and close ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update ... demonstrates CRUD database operations by storing, retrieving, updating and deleting Point objects

javax.persistence.TypedQuery

="teaser"> The position of the first result the query object was set to retrieve. retrieve. Returns 0 if setFirstResult was not ... to retrieve. The maximum

JPA Lifecycle Events

has been retrieved from the database. @PreUpdate

Step 3: Define a Spring DAO Component

persist(Guest guest) { em.persist(guest); } // Retrieves all the guests: public ... > entity object in the database. getAllGuests - for retrieving

Step 3: Define an EJB Session Bean

) { em.persist(guest); } // Retrieves all the guests: public List<Guest> ... >getAllGuests - for retrieving all the existing Guest objects from the database

Step 4: Add a Servlet Class

> is retrieved from the application scope attribute, and then an EntityManager All the Guest entity objects are retrieved

Step 5: Add a JSP Page

a list of all the guests that have already signed (which are retrieved from the request's

[ODB1] Chapter 9 - ObjectDB Explorer

. This requirement is applied only to the Explorer. In your applications, retrieved String instances ... to specify the encoding during retrieval. The "General" group