ObjectDB Database Search
101-150 of 200 resultsjakarta.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 | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x; [JDORepository. retrieve :482] Start Time : class com.anritsu.eu.rtd.logger.rtdtool.LogEntryAttributeImpl 11-Sep 14:56:34 ERROR [JDORepository. retrieve :484] End Time Time 11-Sep 14:56:34 ERROR [JDORepository. retrieve :482] Start Time : class com.anritsu.eu.rtd.logger.rtdtool.LogEntryAttributeImpl 11 | |
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 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 | |
OneToMany and cascade delete problem side is usually sufficient because the other side is being updated automatically when the object is retrieved . But until the object is retrieved - you may have a broken relationship as in this case in ... are removed from the cache and then retrieved again, fixing the broken relationship). When using a short | |
Optimistic Locking(); // First user retrieves and updates the Counter: PersistenceManager pm1 = pmf ... (); c1.increase(); // Second user retrieves and updates the Counter: PersistenceManager pm2 ... on the object that was retrieved from the database. For example, if you retrieve an object, copy its data | |
TimeSeries and ObjectDB to the TimeSerie entity - I currently have to retrieve the whole timerserie since beginning of time ... an entity object. This could be efficient it terms of space and retrieval speed but may be more expansive in ... a parent object? Is it faster for queries? Thanks EKK Emmanuel Keskes Retrieval of data from | |
Unable to persist TreeMap); System.out.println(" Retrieved memberships: " + p ... =President} Retrieved memberships: {} AlphaOne Ron Brennan Just tried and the output is as expected: Created memberships: {Bar Association=President} Retrieved memberships: {Bar Association=President | |
composite index not used in query only results that satisfy: (a.startDate:1). [Step 1c] Retrieve fields in Action (a) instances. [Step 1d ... over all the instances (a1) in a.objectsInCharge. [Step 2b] Retrieve fields in ObjectNode (a1) instances ... . [Step 3b] Retrieve fields in ObjectNode (v$1) instances. [Step 3c] Filter the results of step 3b | |
OptimisticLockException when it is retrieved and no one else can modify it until commit. Refresh is not blocking ... A has committed? 2. pessimistic locks: a) is the object is globally locked at the database when retrieved from L2 cache ? b) If process B attempts to modify object after it is retrieved by process A, does | |
SectionClassifier message in log I'm trying to track down an issue in an application - the problem occurs around the retrieval ... that retrieval of a large object has failed due to a missing section (large objects are divided to sections ... but in case it helps the error in the application on object retrieval is: Caused by: rbccm.felix | |
String Encoding Issue Hi all Encounter a character encoding issue when i try to retrieve a String column containing Chinese character. Retrieve a String column on odb file. em = emf.createEntityManager(); Query ... liu ObjectDB does not modify strings - when you retrieve a string from an ObjectDB database | |
Refreshing a dirty object causes permanent JDOOptimisticVerificationException(PersistenceManager pm, Object oid) { // The entity is retrieved ... pm, Object oid) { // The entity is retrieved ... ; } } In the tryToUpdate method, my goal is to: Retrieve the entity. Refresh it to reduce the chances | |
query hint)'). [Step 1b] Retrieve fields in ObjectNode (o) instances. Step 2: Process ObjectProperty (v$2 ... ] Iterate over all the instances (v$2) in o.properties. [Step 2b] Retrieve fields in ObjectProperty (v$2 ... over all the instances (v$1) in o.linkedObjects. [Step 3b] Retrieve fields in ObjectNode (v$1) instances. [Step 3c | |
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 | |
jakarta.persistence.Query.getCacheRetrieveMode() Jakarta Persistence (JPA) Method in jakarta.persistence.Query CacheRetrieveMode getCacheRetrieveMode() The cache retrieval mode that will be in effect during query execution. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Query.getMaxResults() Jakarta Persistence (JPA) Method in jakarta.persistence.Query int getMaxResults() The maximum number of results the query object was set to retrieve . Returns Integer#MAX_VALUE if Query.setMaxResults was not applied to the query object. Returns: maximum number of results. Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.Query.setFirstResult(int) Jakarta Persistence (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 Returns: the same query instance. Throws | |
jakarta.persistence.Query.getFirstResult() Jakarta Persistence (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. Returns: position of the first result. Since: Jakarta Persistence (JPA) 2.0 | |
ClassCastException of same object type and retrieving objects ok in the main project. However, when I make a plugin for the project, the new objects are persisted but not retrieved . I get the following error: java.lang.ClassCastException: org ... ); where is ArrayList XCCompetitorCounts = new ArrayList (); I then get the exception. The retrieved object | |
Level 2 cache not hit in @ManyToOne trips. Therefore, retrieval by find always uses the L2 cache, since it can save a client-server round trip. Similarly, traversal between objects which requires transparent retrieval of referenced ... , retrieving them later may require additional round trips. Regarding problem 1, if Item is the owner | |
Fetching Collections Puzzle declare explicitly the fetch strategy for "children" as FetchType.Eager, then how can I retrieve the Nodes ... , the children field of all my retrieved nodes are of size zero When I declare the FetchType as Eager, then isn't the database actually retrieving the whole graph stored in the database, considering | |
Method Invocation On All Entities. One way to achive this could be retrieving one object at a time and invoke the method (using " retrieval ... entities of some type? You have to retrieve the entity objects and then run the method on each object ... . support Support I see. I'll retrieve the entity objects and then run the method on each object, as you suggested. Thank you. Yotam Yotam Boaz | |
Query problem after transaction commit. However, after transaction.begin ... persist(p) .. commit of a new object, my client program can no longer retrieve the old ... explorer on the server, my client program can retrieve all the records (no program restart or ... Ken If you could retrieve old objects but not the recently stored objects then this could be a cache | |
Performance with large databases to take the most time are those that retrieve data from the store. sjzlondon Steve Zara This may be explained ... Retrieval by ID is expected to be faster, because it enables direct access. Retrieval by an indexed field is usually composed of two steps: First finding the ID and then retrieval by ID. support Support | |
multi thread application, id field sporadically null how exactly you create, persist and retrieve the objects. Except the id field, are other fields ... classes? It seems impossible to retrieve an object from the database without its id, since the first thing in every object retrieval is setting the id. Maybe you retrieve a cached object from memory | |
Is it possible to commit only specific elements?, retrieving only the needed ones, creating new ones (which I want to commit), detaching the ones I've previously retrieved and finally committing. My context is big data and performance is an issue ... you for your reply, I have solved the issue via cleaning the persistency context and retrieving /creating | |
Different behavior for two equal queries] Iterate over all the instances (v$1) in $1.organisation. [Step 2b] Retrieve fields in ... ---------------------------- Retrieve fields in IndividualCommunicationInfo (v$2) instances. Step 5: Process ... ---------------------------- Retrieve fields in IndividualPostalAddress (v$4) instances. Step 8: Process DeliveryPointSpecification (v$5 | |
combined index not used retaining only results that satisfy: (a.endDate=:1). [Step 1c] Retrieve fields in Action (a) instances ... ---------------------------- Retrieve fields in ObjectNode (v$1) instances. Step 4: Process ObjectNode (v$2) instances ... that satisfy: (o.classIdentifier='(OP)'). [Step 1b] Retrieve fields in ObjectNode (o | |
com.objectdb.o.InternalException: null.objectdb.o.LDR.E(LDR.java:470) at com.objectdb.jdo.PMImpl. retrieve (PMImpl.java:795) at com.objectdb.jdo.PMImpl. retrieve (PMImpl.java:811) at com.objectdb.o.PEI.getChildCount(PEI.java:110) at com ... .objectdb.o.LDR.F(LDR.java:536) at com.objectdb.o.LDR.E(LDR.java:470) at com.objectdb.jdo.PMImpl. retrieve | |
Error reading UTF string (Serialized Objects in Explorer) retrieval of the BeitragVertragArt instance (with qubletID = 371). Trying to view all the instances ... Support Hi, Well, the issue occurs in our Code as well during retrieval . Actually, I don't care ... after retrieving the BeitragVertragArt class, changing some fields and writing it back? The fix in _14 | |
Issue with UPPER ? ---------------------------- Retrieve fields in IndividualProfile ($3) instances. Step 4: Process OrganisationContact ... : Extract field values ---------------------------- Retrieve fields in IndividualPostalAddress ($5) instances. Step 7: Extract field values ---------------------------- Retrieve fields in | |
new objects not available in mappedBy associations automatically when the object is retrieved from the database again. Try to refresh the department ... one refresh an object? https://www.objectdb.com/java/jpa/persistence/ retrieve # Retrieval _by_Refresh ... the object is retrieved again from the database (and not from the persistence context cache), or | |
Best practise loading big data our implementation after retrieving them. All MyStepBlocks and all MyStep and half of the MyValue objects ... collection never releases them or not run at all. This seems to be uncommon for retrieval of 1,000,000 ... during the retrieval ? If you add an explicit invocation of GC in the retrieval loop, does it help | |
Removing of an entity removes also another entity type are created and persisted again. The ResolverMapping entities are retrieved from database by a query ... .remove(obj). Directly after remove we try to retrieve again the ResolverMapping entities from ... may be slightly more efficient than retrieving entity objects and then updating them, but it should be used | |
ClassCastException during query by your application code (for casting the retrieved object to the version of the class known ... retrieved objects. support Support Hello, I solved the issue. It seems that the class which is an enum ... this issue, as discussed, this is a class loading issue. When objects are retrieved from the database |