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 | |
jakarta.persistence.TypedQuery Persistence (JPA) 1.0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode that will be in ... result the query object was set to retrieve . Returns 0 if setFirstResult was not applied to the query ... (JPA) 2.0 int getMaxResults () The maximum number of results the query object was set to retrieve | |
jakarta.persistence.Query back. Since: Jakarta Persistence (JPA) 1.0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode ... was set to retrieve . Returns 0 if setFirstResult was not applied to the query object. Returns ... int getMaxResults () The maximum number of results the query object was set to retrieve . Returns | |
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 | |
jakarta.persistence.EntityManager retrieval mode for this persistence context. Since: Jakarta Persistence (JPA) 3.2 CacheStoreMode ... setCacheRetrieveMode ( CacheRetrieveMode cacheRetrieveMode ) Set the default cache retrieval mode for this persistence context. Parameters: cacheRetrieveMode - cache retrieval mode Since: Jakarta | |
jakarta.persistence.TypedQuery.setCacheRetrieveMode(CacheRetrieveMode) ( 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 Returns: the same query instance. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.StoredProcedureQuery.setCacheRetrieveMode(CacheRetrieveMode) setCacheRetrieveMode ( 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 Returns | |
jakarta.persistence.Query.setCacheRetrieveMode(CacheRetrieveMode); 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 Returns: the same query instance. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.TypedQuery.setMaxResults(int) Jakarta Persistence (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 Returns: the same query instance. Throws: IllegalArgumentException | |
jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(int) Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery Object getOutputParameterValue ( int position ) Retrieve a value passed back from the procedure ... must be retrieved before the values of output parameters. Parameters: position - parameter position | |
jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(String) Jakarta Persistence (JPA) Method in jakarta.persistence.StoredProcedureQuery Object getOutputParameterValue ( String parameterName ) Retrieve a value passed back from the procedure ... counts must be retrieved before the values of output parameters. Parameters: parameterName - name | |
jakarta.persistence.StoredProcedureQuery.getResultList() Jakarta Persistence (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 | |
jakarta.persistence.StoredProcedureQuery.getSingleResult() Jakarta Persistence (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 | |
jakarta.persistence.StoredProcedureQuery.getSingleResultOrNull() Jakarta Persistence (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 | |
jakarta.persistence.EntityManager.setCacheRetrieveMode(CacheRetrieveMode) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setCacheRetrieveMode ( CacheRetrieveMode cacheRetrieveMode ) Set the default cache retrieval mode for this persistence context. Parameters: cacheRetrieveMode - cache retrieval mode Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Query.setMaxResults(int) Jakarta Persistence (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 Returns: the same query instance. Throws: IllegalArgumentException | |
jakarta.persistence.InheritanceType table rows. A join is used to retrieve the state of such entities. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.NamedEntityGraph fetched when an operation which retrieves an instance or instances of the root entity is executed | |
jakarta.persistence.ConstructorResult is retrieved for the constructed object. Example: Query q = em.createNativeQuery( "SELECT c.id, c.name | |
jakarta.persistence.OrderColumn Jakarta Persistence (JPA) Annotation Type jakarta.persistence.OrderColumn Implemented Interfaces: Annotation Target: Method, Field 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 | |
jakarta.persistence.OrderBy Jakarta Persistence (JPA) Annotation Type jakarta.persistence.OrderBy Implemented Interfaces: Annotation Target: Method, Field 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 | |
jakarta.persistence.TypedQuery.setFirstResult(int) Jakarta Persistence (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 Returns: the same query instance. Throws | |
jakarta.persistence.EntityManager.getCacheRetrieveMode() Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager CacheRetrieveMode getCacheRetrieveMode() The cache retrieval mode for this persistence context. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.InheritanceType.JOINED instance might be stored across multiple table rows. A join is used to retrieve the state of such entities. Since: Jakarta Persistence (JPA) 1.0 | |
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 |