Internal Website Search
101-150 of 200 resultsQuery 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 | |
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 | |
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 | |
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 | |
Problem on JPA Merge Entity. statement. Works! testUpdate Retrieve statement from database, retrieve some element from database, create ... we can see that the new component has been saved but not attached to the statement. refresh Retrieve statement | |
Optimistic locking: prevent version increment on entity collection attribute when the object is retrieved . support Support Hello, thank you for your reply. I have added some code to re- retrieve the document entity in the initial call and all works fine. The Reading entities ... the Document from the DB with a new EntityManager (or cleared one) should re- retrieve the original | |
Update Entity references if we change the type of an entity retrieval of an object is faster when its exact type is known. Following your request we added a new ... ObjectDB: System.setProperty("objectdb.temp.extended-ref- retrieval ", "true");   ... is enabled retrieval of objects by a reference accepts the expected type as well as its subclasses | |
Server closes if large query runs out of memory collection. ObjectDB surely has some idea of the sizes of objects that it persists and retrieves , and so should be able to fail safely if it finds too many objects being retrieved to fit into memory ... understand that JPA bulk delete doesn't involve any object retrieval , whereas perhaps JDO deletion does | |
Query filter comparing Dates is done on retrieval . This way the values of Date and Time instances are represented in the database in ... time) when retrieved from the database. Timestamp is different, since it represents a point in time ... when it is stored or retrieved . Apparently in your test case there is a mix between types. The entity | |
Transaction isolation support? (which represent database objects). Therefore, if an entity object is retrieved by one EntityManager ... is retrieved by A. If the collection is owned by User (i.e. not mapped by, as you wrote), then it is part of the User object, and will be retrieved with the User instance before B changes the list | |
Project runs in Eclipse but not when exported to runnable jar of a model glider. I decided to use objectdb as a way to persist the values for later retrieval ... running the system through eclipse. The full retrieval is not yet implemented, I concentrated on understanding the basics before working out how to effeciently commit and retrieve the main data. I'm | |
Using the wrong class to access a database.createEntityManager(); create(em); retrieve (em); deleteAndUpdate(em); // close connection to db em.close ... is almost the same as the first; it only calls the retrieve method, no data is added. The package name is 'com ... .ClassCastException The database is fine but the application tries to cast the retrieve object of the old class | |
Slow searching with two indexes that satisfy: (this.receiver==:r). [Step 2] Retrieve fields in NmeaBatch (this) instances. [Step 3] Order ... The second query is slow because of the need to retrieve timeReceived value for a lot of objects ... with the new index with no need for further data retrieval . Another option that can be checked is running the query with lazy fetch . support Support | |
StoredProcedureQuery.getOutputParameterValue(position) - JPA Method JPA Method in javax.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 javax.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 | |
javax.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 javax.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 javax.persistence.Query int getMaxResults () The maximum number of results the query object was set to retrieve . Returns Integer.MAX_VALUE if setMaxResults was not applied to the query object. Return: maximum number of results Since: JPA 2.0 | |
Query.getFirstResult() - JPA Method JPA Method in javax.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 javax.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 | |
javax.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 | |
javax.persistence.CacheRetrieveMode JPA Enum CacheRetrieveMode java.lang.Object ∟ java.lang.Enum ∟ javax.persistence.CacheRetrieveMode Used as the value of the javax.persistence.cache.retrieveMode property to specify the behavior when data is retrieved by the find methods and by queries. Since: JPA 2.0 The Shared (L2 | |
javax.persistence.ConstructorResult, depending on whether a primary key is retrieved for the constructed object. Example: Query q = em | |
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 | |
Unexpected exception when execute query without enhanced entities); retrieve (emf); emf.close ... (); } private static void retrieve (EntityManagerFactory emf) {   ... . retrieve (F2828.java:26) at com.objectdb.test.bug.forum.F2828.main(F2828.java:12) In | |
javax.jdo.annotations.FetchPlan.fetchSize JDO Annotation Attribute in javax.jdo.annotations.FetchPlan int fetchSize default 0 The number of instances of multi-valued fields retrieved by queries. Since: JDO 2.1 | |
javax.jdo.annotations.FetchPlan fields retrieved by queries. Since: JDO 2.1 int maxFetchDepth default 1 The depth of references | |
javax.jdo.FetchPlan JDO Interface FetchPlan Fetch groups are activated using methods on this interface. An instance of this interface can be obtained from PersistenceManager.getFetchPlan , Extent.getFetchPlan , and Query. When a Query or Extent is retrieved from a PersistenceManager , its FetchPlan is initialized |