Internal Website Search

61-70 of 200 resultsRefresh

JPA Query Expressions (JPQL / Criteria)

, WHERE, GROUP BY, HAVING and ORDER BY, and each clause consists of JPQL / Criteria query expressions ... component. More complex query expressions are built by combining atomic expressions with operators ... the following operators (in order of decreasing precedence):

Obtaining a JPA Database Connection

In JPA a database connection is represented by the EntityManager interface. Therefore, in order to manipulate an ObjectDB database ... ">persistence unit in an XML file in order to be able to generate an EntityManagerFactory

Setting and Tuning of JPA Queries

method chaining (by returning the query object on which they were invoked). Flush Mode ... ) have to be flushed to the database in order to be visible to the query. Flush policy in JPA is represented by the FlushModeType enum

Step 3: Define an EJB Session Bean

( "SELECT g FROM Guest g ORDER BY g.id", Guest.class); return query.getResultList ... Operations on the database will be performed by an instance of a session bean (EJB ... by right clicking the guest package node (in the [Projects] window), selecting New >

Step 3: Define an EJB Session Bean

Guest g ORDER BY g.id", Guest.class); return query.getResultList(); } } 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

Step 3: Define a Spring DAO Component

ORDER BY g.id", Guest.class); return query.getResultList(); } } Operations on the database will be performed by an instance of a Data ... > Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects

[ODB1] Chapter 1 - About ObjectDB

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

ObjectDB 1.0 Manual

programming technology by Sun Microsystems. The main purpose of this guide is to familiarise ... Classes Explains what a persistence capable class is and which types are supported by JDO. required in order to follow this guide, but a strong background and understanding of the Java

javax.jdo.JDOEntityManager

only a single item, which must be assignable to the type specified by the resultClass ... must contain only a single item, which must be assignable to the type specified by the by another PersistenceManager .

javax.jdo.PersistenceManager

" title="Interface in javax.jdo">PersistenceManagerFactory (recommended) or by ... throws JDOUserException if the instance is transient or is managed by ... . The state of fields in the affected instances is as specified by the FetchPlan.