ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
11

JPA Query Expressions (JPQL / Criteria)

consists of clauses - SELECT, FROM, WHERE, GROUP BY, HAVING and ORDER BY, and each clause consists ... of at least one atomic component. More complex query expressions are built by combining atomic ... the following operators (in order of decreasing precedence): Navigation operator (.) Arithmetic operators
11

Obtaining a JPA Database Connection

In JPA a database connection is represented by the EntityManager interface. Therefore, in order ... to get an EntityManager instance. JPA requires the definition of a persistence unit in an XML file in order ... is considered by ObjectDB to be a database URL rather than a persistence unit name. The $objectdb
10

Setting and Tuning of JPA Queries

order to be visible to the query. Flush policy in JPA is represented by the FlushModeType enum ... since the setter methods in Query and TypedQuery support method chaining (by returning the query object ... ObjectDB the default is COMMIT (which is more efficient). The default mode can be changed by
2

Step 3: Define an EJB Session Bean

() { TypedQuery<Guest> query = em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest ... Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package
2

Step 3: Define an EJB Session Bean

ORDER BY g.id", Guest.class); return query.getResultList(); } } The GuestDao session ... Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Java Class] dialog box by right clicking the guest package
2

Step 3: Define a Spring DAO Component

= em.createQuery( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return ... Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right
1

[ODB1] Chapter 1 - About ObjectDB

ObjectDB is compliant with the JDO (Java Data Objects) standard, developed by Sun ... and Microsoft SQL Server. In addition, by using JDO you are backed up by a large community that's expanding ... database concepts and the tables and columns defined for an application in order to perform the necessary
1

ObjectDB 1.0 Manual

technology by Sun Microsystems. The main purpose of this guide is to familiarise you with ObjectDB ... class is and which types are supported by JDO. Chapter 4 - JDO Metadata Shows how to define JDO metadata ... (SQL, JDBC or JDO) is not required in order to follow this guide, but a strong background
1

javax.jdo.JDOEntityManager

by the server. Get the Date as seen by the server. Clients using this method can order ... to the type specified by the resultClass argument. Parameters: name - the name of a query defined in ... item, which must be assignable to the type specified by the resultClass argument. Parameters: qlString
1

javax.jdo.PersistenceManager

the PersistenceManagerFactory (recommended) or by construction. Since: JDO 1.0 void ... JDOUserException if the instance is transient or is managed by another PersistenceManager. Parameters: pc ... the affected instances is as specified by the FetchPlan. Parameters: pc - the instance to detach Returns

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