ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh
6

Paths and Types in JPQL and Criteria API

over all the Country objects in the database. For a country with no capital city, such as Nauru, c.capital ... of all the entity objects in the database, excluding Country entity objects: SELECT COUNT(e) FROM ... is an extension of ObjectDB that can be used to iterate over all the entity objects in the database
5

JPA Query API

, the same JPQL query which retrieves all the Country objects in the database is represented by both q1 ... ObjectDB. In the context of the queries above, if there are no Country instances in the database
5

Chapter 2 - JPA Entity Classes

JPA Entity classes are user defined classes whose instances can be stored in a database. To store data in an ObjectDB database using JPA you have to define entity classes that represent your application data object model. This chapter explains how to define and use entity classes.
5

SELECT clause (JPQL / Criteria API)

that JPA provides for managed entity objects, including transparent navigation to other database ... propagated to the database. Multiple SELECT Expressions The SELECT clause may also define composite
1

Step 4: Add a Servlet Class

that will be added in the next tutorial step) - a new Guest entity object is constructed and stored in the database. All the Guest entity objects are retrieved from the database and stored in the request's "guest ... on the database are carried on by the GuestDao session bean, which is instantiated and injected by
1

Eclipse/JPA Web Application Tutorial

This is the Eclipse version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA. The demo web ... entity objects are stored in an ObjectDB database. Required Software For this tutorial you will need
1

Step 6: Run the Java EE 6 Application

). Since we are using ObjectDB in embedded mode - the database file is created under the GlassFish directory (e.g ... the database file in ObjectDB Explorer: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual.
1

JPA Web Application Tutorial

This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor ... a Guest entity object and all the Guest entity objects are stored in an ObjectDB database
1

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [Projects] window ... ("(%d, %d)", this.x, this.y); } } The new class should represent Point objects in the database
0

javax.jdo.JDOEntityManager

to the database will not be persisted. Since: JPA 1.0 boolean contains(Object entity) Check ... of the entity), will not be synchronized to the database. Entities which previously referenced the detached ... provider must perform optimistic version checks when obtaining the database lock. If these checks fail

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