ObjectDB Database Search
51-100 of 200 resultsLeft 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 idImmediately retrieve unique id | |
Retrieve latest entry in a time-seriesRetrieve latest entry in a time-series | |
Retrieving Metamodel without connectionRetrieving Metamodel without connection | |
Pre-detach loading: retrieval by navigation not working in if statementPre-detach loading: retrieval by navigation not working in if statement | |
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 is relevant 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 correctlyLazy retrieval by access not working correctly | |
retrieval tas reports in logretrieval tas reports in log | |
Retrieving Metamodel without ConnectionRetrieving Metamodel without Connection | |
Enable intern() for Retrieved StringsEnable intern() for Retrieved Strings | |
InterfaceRef jakarta.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 | |
InterfaceRef jakarta.persistence.Query and the transaction is rolled back Since: JPA 1.0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode ... () The position of the first result the query object was set to retrieve . Returns 0 ... getMaxResults () The maximum number of results the query object was set to retrieve . Returns Integer | |
InterfaceRef jakarta.persistence.TypedQuery Since: JPA 1.0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode that will be in ... Since: JPA 3.2 int getFirstResult () The position of the first result the query object was set to retrieve ... Since: JPA 2.0 int getMaxResults () The maximum number of results the query object was set to retrieve | |
StoredProcedureQuery.setCacheRetrieveMode(cacheRetrieveMode) - JPA Method ( CacheRetrieveMode cacheRetrieveMode ) Set the cache retrieval mode that is in effect during query execution. This cache retrieval mode overrides the cache retrieve mode in use by the entity manager. Parameters: cacheRetrieveMode - cache retrieval mode Return: the same query instance Since: JPA 3.2 | |
TypedQuery.setCacheRetrieveMode(cacheRetrieveMode) - JPA Method; CacheRetrieveMode cacheRetrieveMode ) Set the cache retrieval mode that is in effect during query execution. This cache retrieval mode overrides the cache retrieve mode in use by the entity manager. Parameters: cacheRetrieveMode - cache retrieval mode Return: the same query instance Since: JPA 3.2 | |
Query.setCacheRetrieveMode(cacheRetrieveMode) - JPA Method; CacheRetrieveMode cacheRetrieveMode ) Set the cache retrieval mode that is in effect during query execution. This cache retrieval mode overrides the cache retrieve mode in use by the entity manager. Parameters: cacheRetrieveMode - cache retrieval mode Return: the same query instance Since: JPA 3.2 | |
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 jakarta.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 jakarta.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, is retrieved in the order the REF_CURSOR parameter was registered | |
StoredProcedureQuery.getResultList() - JPA Method JPA Method in jakarta.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, is retrieved in the order the REF_CURSOR parameter was registered | |
TypedQuery.setMaxResults(maxResult) - JPA Method JPA Method in jakarta.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 | |
InterfaceRef jakarta.persistence.EntityManager CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode for this persistence context. Since: JPA 3.2 ... ) Set the default plain for this persistence context. Parameters: cacheRetrieveMode - cache retrieval | |
StoredProcedureQuery.getOutputParameterValue(position) - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery Object getOutputParameterValue ( int position ) Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update counts must be retrieved | |
StoredProcedureQuery.getOutputParameterValue(parameterName) - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery Object getOutputParameterValue ( String parameterName ) Retrieve a value passed back from the procedure through an INOUT or ... must be retrieved before the values of output parameters. Parameters: parameterName - name of the parameter as | |
StoredProcedureQuery.getSingleResultOrNull() - JPA Method JPA Method in jakarta.persistence.StoredProcedureQuery Object getSingleResultOrNull () 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, is retrieved in the order the REF_CURSOR parameter was registered | |
AnnotationRef jakarta.persistence.OrderBy JPA Annotation OrderBy Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the ordering of the elements of a collection-valued association or element collection at the point when the association or collection is retrieved . The syntax of the value ordering element is an orderby_list | |
Query.setFirstResult(startPosition) - JPA Method JPA Method in jakarta.persistence.Query Query setFirstResult ( int startPosition ) Set the position of the first result to retrieve . Parameters: startPosition - position of the first result, numbered from 0 Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0 | |
Query.getMaxResults() - JPA Method JPA Method in jakarta.persistence.Query int getMaxResults () The maximum number of results the query object was set to retrieve . Returns Integer if setMaxResults was not applied to the query object. Return: maximum number of results Since: JPA 2.0 | |
EntityManager.setCacheRetrieveMode(cacheRetrieveMode) - JPA Method JPA Method in jakarta.persistence.EntityManager void setCacheRetrieveMode ( CacheRetrieveMode cacheRetrieveMode ) Set the default plain for this persistence context. Parameters: cacheRetrieveMode - cache retrieval mode Since: JPA 3.2 | |
EntityManager.getCacheRetrieveMode() - JPA Method JPA Method in jakarta.persistence.EntityManager CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode for this persistence context. Since: JPA 3.2 | |
Query.getFirstResult() - JPA Method JPA Method in jakarta.persistence.Query int getFirstResult () The position of the first result the query object was set to retrieve . Returns 0 if setFirstResult was not applied to the query object. Return: position of the first result Since: JPA 2.0 The Running JPA Queries article explains how to use getFirstResult . | |
TypedQuery.setFirstResult(startPosition) - JPA Method JPA Method in jakarta.persistence.TypedQuery TypedQuery setFirstResult ( int startPosition ) Set the position of the first result to retrieve . Parameters: startPosition - position of the first result, numbered from 0 Return: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 2.0 | |
AnnotationRef jakarta.persistence.OrderColumn JPA Annotation OrderColumn Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies a column that is used to maintain the persistent order of a list. The persistence provider is responsible for maintaining the order upon retrieval and in the database. The persistence provider | |
AnnotationRef jakarta.persistence.ConstructorResult detached state, depending on whether a primary key is retrieved for the constructed object. Example |