ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
11

Setting and Tuning of JPA Queries

for the first page), the following expression retrieves the results for a specified page: List<Country ... that has to be applied on all the result objects that the query retrieves. For example, the following query
11

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 times ... ) The following method retrieves a Country object from the database by its name: public Country
8

javax.persistence.TypedQuery

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
7

JPA Query API

, the same JPQL query which retrieves all the Country objects in the database is represented by both q1
2

Step 3: Define a Spring DAO Component

); } // Retrieves all the guests: public List<Guest> getAllGuests() { TypedQuery<Guest> query ... - for storing a new Guest entity object in the database. getAllGuests - for retrieving all the existing
2

Step 4: Add a Servlet Class

: The EntityManagerFactory is retrieved from the application scope attribute, and then an EntityManager ... the database. All the Guest entity objects are retrieved from the database and stored in the request's
2

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
2

Step 3: Define a Spring DAO Component

public void persist(Guest guest) { em.persist(guest); } // Retrieves ... Guest entity object in the database. getAllGuests - for retrieving all the existing Guest objects
1

[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
0

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