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 | |
CRUD Database Operations with JPA Given an EntityManager instance, em , which manages the persistence context for the database, you can use it to store, retrieve , update, and delete objects. Storing new entities The following code fragment stores 1,000 Point objects in the database: em. getTransaction (). begin (); for (int i = 0 | |
ObjectDB 2.9 Developer's Guide ObjectDB. hows how to use JPA to store, retrieve , update and delete database objects. Explains | |
Deleting JPA Entities You can delete existing entities from the database either explicitly by calling the remove method or implicitly as a result of a cascade operation. Explicit remove To delete an entity from the database, you must first retrieve it. Then, within an active transaction, call the remove method | |
JPA Relationships Annotations the ordering of elements in a List-valued association at the time of retrieval . Specifies the attribute | |
JPA Annotations behavior. Declare static, reusable JPQL queries directly on the entity class. Optimize data retrieval by | |
Paths and Types in JPQL and Criteria API private, which is usually the case. Navigation through a NULL value The following query retrieves country | |
ObjectDB Object Database Features (no activation depth) - objects are retrieved from the database automatically by navigating from | |
JPA Criteria FROM and JOIN The Jakarta Persistence Criteria API uses a specific set of interfaces to construct the FROM clause of a query. These interfaces define query variables, including entity roots and various join types, to manage data navigation and retrieval optimization. The interface hierarchy for the FROM clause | |
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 the Explorer. In your applications, retrieved String instances always have the same encoding | |
JPA Listeners & Callbacks Annotations Trigger logic after retrieving data from the database: Executes after an entity is loaded into | |
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 | |
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 entities, where each Point has two persistent fields - x and y . If you already know JPA - the source code will be straightforward | |
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 is constructed and stored in the database. All the Guest entities are retrieved from | |
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. All the Guest entities are retrieved from the database and stored in the request's "guest" attribute | |
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 entities, where each Point has two persistent fields -  | |
Step 4: Create an ObjectDB Data Set this tutorial contains Point entities. We will use a simple JPQL query that retrieves points with x value in |