Internal Website Search

51-100 of 200 results

Left join fetch behaviour doesn't retrieve children?

();         // Try to retrieve parent and children using left join fetch ... ;      // Ok my em is now closed, let's check if children are retrieved ... ();   // Try to retrieve parent and children using left join fetch   em = emf

Retrieve data of all entity classes in a single query

etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel ... Zazopoulos You can retrieve all the entity objects using a query on Object:     SELECT ... casting and retrieve fields in a generic way using Java reflection. support Support Thanks

Missing Data on Retrieval (0, null values)

automatically when they are missing, so if you retrieve an object from a database and its class is not ... ().isLoaded(m_object))     em.unwrap(PersistenceManager.class). retrieve (obj); Note

Query vs Extent for retrieving data

I'm running into a problem where data that is retrieved via a Query comes out null, but when I retrieve it using an Extent everything is present. We have a very simple class: public class PositionReportManagerBean implements InstanceCallbacks { private int maxReports; private List reports; } I

Bug: ClassCastException by retrieval

tn3 = em.find(tNode.class, 1);   System.out.printf("find by retrieval : %s %n",tn3.getTa

Retrieval by Access bug?

of objectC, and I cant find any reason for that. Could be any bug in ObjectDB when I retrieve by navigation

How to retrieve the ObjectDB version number?

Hi! We need  the ObjectDB version for debug purpose/logging. Our project supports also EclipseLink - http://stackoverflow.com/questions/3493495/getting-database-connection-in-pure-jpa-setup With the Connection object the Database name & version can be retrieved . For ObjectDB

retrieve without key?

and can't see an option to retrieve an object w/o using a key. can this be done? duetto john cummings You can use a single result query . support Support

Immediately retrieve unique id

Immediately retrieve unique id

Retrieve latest entry in a time-series

Retrieve latest entry in a time-series

Retrieving Metamodel without connection

Retrieving Metamodel without connection

Pre-detach loading: retrieval by navigation not working in if statement

Pre-detach loading: retrieval by navigation not working in if statement

JPA Query API

which retrieves all the Country objects in the database is represented by both q1 and q2 . When building

CRUD Database Operations with JPA

Given an EntityManager , em , that represents a JPA connection to the object database, we can use it to store, retrieve , update and delete database objects. Storing New Entity Objects The following code fragment stores 1,000 Point  objects in the database: em. getTransaction (). begin

ObjectDB 2.9 Developer's Guide

to store, retrieve , update and delete database objects.        

Deleting JPA Entity Objects

Existing entity objects can be deleted from the database either explicitly by invoking the remove method or implicitly as a result of a cascade operation. Explicit Remove In order to delete an object from the database it has to first be retrieved (no matter which way) and then in an active

Paths and Types in JPQL and Criteria API

). Navigation through a NULL value The following query retrieves country names with their capital city names

ObjectDB Object Database Features

activation (no activation depth) - objects are retrieved from the database automatically by navigating

ObjectDB Overview

The ObjectDB Object Database ObjectDB is a powerful Object-Oriented Database Management System (ODBMS). It is compact, reliable, easy to use and extremely fast. ObjectDB provides all the standard database management services (storage and retrieval , transactions, lock management, query

Database Explorer

only in the Explorer. In your applications - retrieved String instances always have the same

retrieval again and again started

as already mentioned in other posts the database again and again goes for a retrieval like ... weeks no more retrieval , we continue to watch and inform hgzpincher Hans-Georg Zwicker If there are no more retrieval errors it is excellent news. Thank you for the update. support Support update

Lazy retrieval by access not working correctly

Lazy retrieval by access not working correctly

retrieval tas reports in log

retrieval tas reports in log

Retrieving Metamodel without Connection

Retrieving Metamodel without Connection

Enable intern() for Retrieved Strings

Enable intern() for Retrieved Strings

javax.persistence.StoredProcedureQuery

through INOUT and OUT parameters can be retrieved . The getOutputParameterValue methods are used to retrieve the values passed back from the procedure through INOUT and OUT parameters. When using REF ... to retrieve the result set. Alternatively, the REF_CURSOR result set can be retrieved

javax.persistence.Query

was set to retrieve . Returns 0 if setFirstResult was not applied to the query object. Return ... int getMaxResults () The maximum number of results the query object was set to retrieve . Returns ... of the first result to retrieve . Parameters: startPosition - position of the first result, numbered from 0

javax.persistence.TypedQuery

to retrieve . Returns 0 if setFirstResult was not applied to the query object. Return: position of the first ... () The maximum number of results the query object was set to retrieve . Returns Integer.MAX_VALUE ... TypedQuery setFirstResult (int startPosition) Set the position of the first result to retrieve

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  Point has two persistent fields -  x and  y . If you already know JPA - the source code

Step 5: Add a JSP Page

that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in

Step 5: Add a JSP Page

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

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 4: Add a Servlet Class

entity object is constructed and stored in the database. All the Guest entity objects are retrieved

Step 3: Add a Context Listener Class

the servlet context - when the web application starts ( contextInitialized ). Retrieves

Step 5: Add a JSP Page

a list of all the guests that have already signed (which are retrieved from the request's "guests

Step 4: Add a Servlet Class

the database. All the Guest entity objects are retrieved from the database and stored in the request's

Getting Started with JPA and NetBeans

This is the NetBeans version of the  Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  Point has two persistent fields

Step 4: Create an ObjectDB Data Set

this tutorial contains Point entity objects. We will use a simple JPQL query that retrieves points with x

Query.setMaxResults(maxResult) - JPA Method

JPA Method in javax.persistence.Query Query setMaxResults (   int maxResult ) Set the maximum number of results to retrieve . Parameters: maxResult - maximum number of results to retrieve Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0

StoredProcedureQuery.getSingleResult() - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery Object getSingleResult () Retrieve a single result from the next result set. The provider will call execute on the query if needed. A REF_CURSOR result set, if any, will be retrieved in the order the REF_CURSOR parameter was registered

StoredProcedureQuery.getResultList() - JPA Method

JPA Method in javax.persistence.StoredProcedureQuery List getResultList () Retrieve the list of results from the next result set. The provider will call execute on the query if needed. A REF_CURSOR result set, if any, will be retrieved in the order the REF_CURSOR parameter was registered

TypedQuery.setMaxResults(maxResult) - JPA Method

JPA Method in javax.persistence.TypedQuery TypedQuery setMaxResults (   int maxResult ) Set the maximum number of results to retrieve . Parameters: maxResult - maximum number of results to retrieve Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 2.0

[ODB1] Chapter 4 - JDO Metadata

object is retrieved from the database its fields are not ready yet. Only when the program accesses

[ODB1] Chapter 1 - About ObjectDB

). ObjectDB is Very Fast ObjectDB has very good performance. It can store and retrieve thousands

javax.jdo.PersistenceManager

. Parameters: key - the key of the object to be removed Since: JDO 2.0 void retrieve (Object pc) Retrieve ... intends to use the instance, and its field values must be retrieved . The PersistenceManager might use policy information about the class to retrieve associated instances. Parameters: pc - the instance

PersistenceManager.retrieveAll(useFetchPlan,pcs) - JDO Method

;useFetchPlan,    Object... pcs ) Retrieve field values of instances from the store ... should be retrieved . The fields in the current fetch group must be retrieved , and the implementation might retrieve more fields than the current fetch group. If the useFetchPlan parameter is false

PersistenceManager.retrieveAll(pcs,useFetchPlan) - JDO Method

,    boolean useFetchPlan ) Retrieve field values of instances from the store ... values should be retrieved . The fields in the current fetch group must be retrieved , and the implementation might retrieve more fields than the current fetch group. If the useFetchPlan parameter is false

PersistenceManager.retrieveAll(pcs,useFetchPlan) - JDO Method

;   boolean useFetchPlan ) Retrieve field values of instances from the store ... should be retrieved . The fields in the current fetch group must be retrieved , and the implementation might retrieve more fields than the current fetch group. If the useFetchPlan parameter is false

PersistenceManager.retrieveAll(pcs) - JDO Method

) Retrieve field values of instances from the store. This tells the PersistenceManager that the application intends to use the instances, and all field values must be retrieved . The PersistenceManager might use policy information about the class to retrieve associated instances. Parameters: pcs - the instances Since: JDO 1.0

PersistenceManager.retrieveAll(pcs) - JDO Method

) Retrieve field values of instances from the store. This tells the PersistenceManager that the application intends to use the instances, and all field values must be retrieved . The PersistenceManager might use policy information about the class to retrieve associated instances. Parameters: pcs - the instances Since: JDO 1.0