ObjectDB Database Search
101-150 of 200 resultsJPA vs JDO - which is more efficient for OneToMany queries? implementations it is more efficient to use non collection references , to avoid a JOIN table (so a reference from ... ORM-based implementations. By the way, if you define the reference in Order , you can use an inverse ... , however, it is efficient to define the reference in either side. Therefore, the same definition | |
Cascading makeTransient of B contain the field __odbTracker of type com.objectdb.o.EMT, which then holds a reference ... enhancement. The problem is the direct reference from com.objectdb.o.EMT to A that prevents garbage collecting of A instances (the reference com.objectdb.o.ENT is less important since after making | |
Failed to resize file - file system limitation error; Can you please advise on next steps? Thank you, Clinton [12161] Page #26356937 has invalid reference from key 'AEA6C33' to child page #7 8764514. [12162] Page #27778657 has invalid reference from key ... reference from key 'A4F58B6' to child page #7 8764512. [12164] Page #33415486 has invalid reference | |
Problem upgrading.springframework.orm.jpa.JpaSystemException: Failed to set reference value of field property at.co.pjm.tracker ... ._PersistenceException: Failed to set reference value of field property at.co.pjm.tracker.persistence.Unit ... (Thread.java:745) [na:1.8.0_72] Caused by: com.objectdb.o._PersistenceException: Failed to set reference | |
Explorer in 2.3 for circular references ) c. Binary - Select some objects, serialize the data to a binary file ... and more importantly managing a scrollable window - require at least loading all the references in advance ... is to put a reference 'this' in the symbol table referring to the current object, which would allow | |
can removing an entity throw an exception if the entity is in use? Suppose you have an entity @Entity class A { ... } and other entities with references to A. e.g. @Entity class B { A a; // explicit reference to A List list; // list of A's Set set ... an instance of A, even if a managed B has some reference to that A. When I then find the B instance | |
Updating Entities around with toString() and tracing these objects' references around I found an interesting bit of information that I didn't realize before. Apparently the object references stored in each of my EntityManagers ... only Employees with this Paygrade e.setPaygrade(p); //Update the Paygrade reference to an existing one p | |
Felix, rollback exception, error 613: Failed to get reference value of field field db.Point.x using enhanced method (error 613)   ... .PersistenceException: com.objectdb.o.UserException: Failed to get reference value of field field db.Point.x using ... to get reference value of field field db.Point.x using enhanced method at com.objectdb | |
Objectdb Doctor are removed/deleted from the databases - it is the application responsibility to clear any references to them from other objects in the database (except references in inverse / mapped by fields ... during development and testing can help in identifying failures. If the Doctor reports broken references | |
Error 613 - i cant put a list | |
evictAll() behavior references to your objects are always used (in order to detect future changes) and objects ... ). ObjectDB doesn't hold strong references to hollow objects, so if your application doesn't hold strong references either - they can be garbage collected. support Support evictAll - i | |
Lock prevents PersistenceManager.close when retainValues = false(Finalizer.java:209) Locked ownable synchronizers: - None " Reference Handler" - Thread t@2 java.lang.Thread.State: WAITING at java.lang.Object.wait(Native Method) - waiting on (a java.lang.ref. Reference $Lock) at java.lang.Object.wait(Object.java:502) at java.lang.ref. Reference .tryHandlePending( Reference | |
Eclipse plugin problem (using ObjectDB as a separate bundle) a reference to a non managed com.epimss.lab.data.misc.OtherRqst instance (error 637) at com.objectdb.jpa ... default. Therefore, when you persist an object it must reference only objects that are already managed ... .objectdb.jpa.EMImpl.commit(EMImpl.java:277) refers to JPA. Is this suppose to be there?   | |
Removing objects where ManyToMany relationships exist responsibility to prevent broken references . When an OtherEntity object is deleted the application must also remove any references to it, including from the setOfOtherEntities TreeSet . Broken references are not null values and they are more difficult to handle because accessing them cause exceptions | |
Slow searching with two indexes - one is the primary key (id) and so is different for each object, and the other is an object reference ... at the database log, the way the query is run is that all values of the object reference key ... number of the most recent objects, like this: select from Thing where reference == :objectReference order | |
Dependency from enhanced classes to the objectDB library not refer to a single project, but refers to the current workspace. To add objectDB lib ... which the objectdb.jar (when used as an OSGi bundle) exports types that enhanced classes reference ... & orm.xml) and has a reference to all bundles with entities. Basically this works. But only as long as | |
Entity Management Config questions: The ref attribute specifies the reference type for holding non dirty entities in the persistence ... references in the persistence context (until commit or flush), regardless of this setting. Question : What exactly is the difference between "weak", "soft", and "strong" references ? dmoshal | |
Caching/Paging Questions... references to such cached result objects ? or do ObjectDB exploits frequency of querying such objects ... (but the difference is not huge). You can either use application managed strong references or you can set the configuration , so strong references will be used automatically until the persistence context is cleared | |
javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test a thread in the forum (form 2011 - http://www.objectdb.com/database/forum/286) that refers ... .jar file was included in the bundle that is supposed to reference it. I want to deploy objectdb.jar ... a service such that one simply needs to request a reference to the service? Would be nice | |
joining of tables the relationship between Employee and Address as a Java reference field in Employee or if it is bidirectional relationships also add a reference back from Address to Employee with a mappedBy setting. You can use either a to-one reference ( Address ) or to-many reference (e.g. List ). See the manual for more details. support Support | |
Multi-Threading/Distributed-Database Questions... while still being able to cross reference objects on both, i.e. distributed database/graph of objects ? Kind Regards ... execution and multithreading in this previous thread . References from objects in one database to objects in another database are not supported. Applications can simulate such references by holding | |
Should I use ObjectDB and JDO? API reference unique to ObjectDB, or is it an exact copy of some JDO 2.x API that I could find ... of API spec is the ObjectDB API reference based on? In other words, which one should I use when coding ... the ObjectDB reference . CBE CBE It looks like JDO is the preferred API for me (because ObjectDB FAQs | |
Occasionally slow requests in load testing is not necessarily a bad thing. If you are referring to the thread switching, it will not cause 10 ... -15%. If you are referring to something else, I'd like to understand better what you mean. Our tomcat ... . natmaclin Natalia Levine If you are referring to the thread switching, it will not cause 10 | |
Problem with bidirectional link references to the same instance of a class? It's hard to tell with the opaque code of ObjectDB. Exception ... : Attempt to persist a reference to a non managed Folder instance - field Folder.children (error 613 ... .persistence.PersistenceException: com.objectdb.o.UserException: Attempt to persist a reference to a non | |
How to Use a SF with extended Persistence Context? between calls. When I call the SF directly no problem happens but if I use SL to hold a reference ... : The GuestDao is a SF with an extended persistence context. the GuestServlet holds reference to a SL called ... of the GuestDao. The GuestUpdater holds reference to the GuestDao who can now give guests from the DB | |
Failed to commit transaction: Attempt to commit a rollback only transaction, running the doctor, shows this: Missing Objects (Broken References ... objects while keeping references to them, which creates dangling (broken) references in the database | |
Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01) references , so as soon as you release your own references to these entity objects ... released, please provide a heap dump. support Support Yes we know about WEAK REFERENCEs in ObjectDb | |
Join performance in Objectdb IDs instead of references , which is not recommended when using JPA. It seems that a Meta instance holds the IDS of an Image and a Page instances instead of direct references . A more JPA conventional ... that it would help for this specific query. I have no reference to set in the Meta, unless | |
Unable to convert 1.x odb file to 2.x completely. Although in the result appeared some broken references but only in one particular class ... .................................... 2873MB (total) File has been converted successfully (Time: 301 seconds) Broken references ... broken references More information can be found in the log Relevant part from the log file: [2014-05-06 | |
Is it possible to using JDO and distributed transaction?)。 Is ObjectDB also provided JCA util just like DataNucleus? Reference : Spring Framework Reference Documentation JCA, JTA, and JDO Transactions - Using ... . The solutions that are described in your references have never been tested in ObjectDB | |
OptimisticLockException? With a 'em.merge()', you have to take care to assign the reference passed back because it will be different to the one you passed in (it is also attached). This new reference will contain the updated version ... made to the reference are also made to the original instance, hence always in sync? I could likely | |
ObjectDB JDO - foreign key constraints.deletePersistent()), I am allowed to do so. Since the person is referred to from the company, I ... , and therefore, it is the application responsibility to avoid broken references (e.g. caused by deleting an object but keeping a reference to it). Regarding cascading operations, even if you use JDO | |
Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices keys, another advantage of long PK over String UID PK that was not mentioned yet: All references to the objects (in reference fields in other objects) and all the indexes use the PK to reference | |
alter table_04] javax.persistence.RollbackException Failed to commit transaction: Failed to get reference value ... .PersistenceException: com.objectdb.o.UserException: Failed to get reference value of field field image ... .objectdb.o.UserException: Failed to get reference value of field field image.MetaSogou.iHei using | |
Persist error @ManyToMany how to define correct entities relationships Category but they are all refering to same limited set of Category entities (via ID). There is not ... to contain some kind of " reference " to the category entities rather than trying to save these entity twice ... How do you initialize the categories of a new product? You should retrieve references to existing Category | |
Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities and on your EclipseLink to ObjectDB migration) I have to refer to some external EclipseLink/TopLink ... . To find any reference to the matter one has to examine the JPA2 spec Final: 7.6 Container-managed ... is created. This specification refers to such persistence contexts as transaction-scoped | |
Out of Memory Error, if you create EntityManagerFacotry instances but do not close all of them, or still have strong references ... using strong references and somehow still reference EntityManager instances. To check | |
ObjectDB's Database Doctor Incorrect Error Report though seems to show that the reference to the object is good and that the object does indeed exist. Output from Doctor ... showing the reference to the object and the existence of the object. CBE CBE There is indeed a problem ... request consideration. CBE CBE The 64KB limit is due to references to page entries in a page | |
Speeding up the creation of Log entity objects related to other objects = "device") because I don't have a back reference from log to device! ----- @Entity public class Device ... an inverse mapped-by relationship . Use a regular reference from Log to Device and mapped-by List field in ... when needed. For that query to be efficient you may want to have an index on the reference field from Log to Device. support Support | |
Freeze during save(Finalizer.java:209) Locked ownable synchronizers: - None " Reference Handler" - Thread t@2 java.lang.Thread.State: WAITING at java.lang.Object.wait(Native Method) - waiting on (a java.lang.ref. Reference $Lock) at java.lang.Object.wait(Object.java:502) at java.lang.ref. Reference .tryHandlePending( Reference | |
Referential Integrity that reference integrity is not broken and there are no dangling references . Future versions of ObjectDB should support reference integrity. support Support *VERY* important feature for any serious db app ... most. And the only thing that blocked me from transfer to ObjectDB. huyi Ray Hu As indicated above, reference | |
Enhanced classes problem, following errors occurs: Caused by: com.objectdb.o._PersistenceException: Failed to set reference value ... by: com.objectdb.o.UserException: Failed to set reference value of field field eu.ysoft.safeq.core ... /23 09:25:26.156 | Failed to set reference value of field field eu.ysoft.safeq.core.cache.entity | |
ClassCastException thrown when running count query look as the same exception. At least this one seems to be related to broken references . The Doctor detects many broken references in this database. Notice that currently ObjectDB doesn't enforce reference integrity and it is the application responsibility to avoid deletion from the database | |
Unexpected Exception during commit. I am not sure which reference causes the NullPointerException . The only reference in that line ... miss. On the next line other references that are related to the inverse field are used. Maybe that inverse reference field has special type or setting causing this problem. support Support I've | |
ArrayIndexOutOfBoundException, except references from CacheableJobStat instances to deleted CacheableJobLog instances. This requires fixing the application (making sure that references to deleted objects are removed to avoid broken references ), but it doesn't seem to be related to the reported exception | |
Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct) the following explanation I will refer to the (bi-directional) ownedElements List of the Element class ... and lazy references are not expected to be loaded before detachment. You may ask - why EclipseLink works differently in this case? Good question but you will have to refer it to the EclipseLink guys | |
Out of Memory - Slow leak?. It seems that there is a problem with some heavy objects that ObjectDB manages using reference counting. Somehow in an unknown situation the reference count drops to -1 and then the objects are pinned ... . It should solve the problem by blocking an attempt to decrease the reference count below 0. In addition | |
Objects are not garbage collected be released. Below is the reference graph for them. Normally we would expect to see some service or helper class which accidentally holds references to those. But here we have only WeakReference ... BTC EmbeddedSystems It is unclear from these images if there are paths of strong references from | |
Bulk load of eager mapped by (inverse) relationships. However, inverse (mapped by) references that have to be loaded eagerly currently do not participate in a bulk load, which means that every reference requires running a separate query and doing ... ) fields in bulk as well. support Support Bulk load of eager mapped by (inverse) singular references is now supported in build 2.4.4_13. support Support | |
missing merger) produced no errors. Running the Doctor on the database at #5 (today) produced some broken references errors ... . There is one application level error: Broken References : [1] com.agile.hummingbird.ObjectNode(2 ... except the expected broken references . The problematic object gets a new Action object linked into |