ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh

Updating JPA Entity Objects

Once an entity object is retrieved from the database (no matter which way) it can simply be modified in memory ... when it is retrieved from the database and to compare that snapshot to the actual managed object

Chapter 1 - Quick Tour

ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete ... , retrieving, updating and deleting Point objects. To run the sample program of this chapter in


object was set to retrieve. The position of the first result the query object was set to retrieve ... the query object was set to retrieve. The maximum number of results the query object was set to retrieve. Returns Integer.MAX_VALUE if setMaxResults was not applied to the query object. Returns: maximum

JPA Lifecycle Events

flush). @PostLoad - after an entity has been retrieved from the database. @PreUpdate

Step 3: Define an EJB Session Bean

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

Step 4: Add a Servlet Class

performs the following operations on every http request: The EntityManagerFactory is retrieved from ... are retrieved from the database and stored in the request's "guest" attribute. Then the processing

Step 5: Add a JSP Page

the guestbook, followed by a list of all the guests that have already signed (which are retrieved from

Step 2: Define a JPA Entity Class

that stores and retrieves instances of the Point entity class.

[ODB1] Chapter 9 - ObjectDB Explorer

only to the Explorer. In your applications, retrieved String instances always have the same encoding as they had when they were stored, and therefore, there is no need to specify the encoding during retrieval

ObjectDB 1.0 Manual

and transactions in JDO. Chapter 6 - Persistent Objects Shows how to store, retrieve, update

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support