Internal Website Search
101-150 of 200 resultsSome details about db behavior is empty and I persist a valid B entity (that contains actual A reference ) I observe some behavior ... will refer to it. Please explain what is happening there? I know about cascade option, and if I use it A will be persisted under A type... but is B referring to that A or it is keeping a copy | |
JPA 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 | |
javax.persistence.ForeignKey. For example, this may be similar the following: FOREIGN KEY ( {, }... ) REFERENCES | |
EntityManager.detach(entity) - JPA Method to the database. Entities which previously referenced the detached entity will continue to reference | |
javax.persistence.SqlResultSetMapping.name JPA Annotation Attribute in javax.persistence.SqlResultSetMapping String name default null The name given to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs. Since: JPA 1.0 | |
javax.persistence.SqlResultSetMapping to the result set mapping, and used to refer to it in the methods of the Query and StoredProcedureQuery APIs. Since: JPA 1.0 | |
javax.persistence.NamedAttributeNode.keySubgraph JPA Annotation Attribute in javax.persistence.NamedAttributeNode String keySubgraph default "" (Optional) If the attribute references a Map type, this element can be used to specify a subgraph for the Key in the case of an Entity key type. A keySubgraph can not be specified without the Map | |
javax.persistence.MapKeyJoinColumns JPA Annotation MapKeyJoinColumns Target: METHOD, FIELD Implemented Interfaces: Annotation Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation is used, both the name | |
javax.persistence.Entity.name JPA Annotation Attribute in javax.persistence.Entity String name default "" (Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Since: JPA 1.0 | |
javax.persistence.Entity) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer | |
Best practise loading big data a reference on the retrived entities then we discover that the memory consumption is extremly high, many ... ? With enhanced classes ObjectDB is not expected to hold strong references (which prevents garbage ... and paths of strong references from roots to objects? support Support @Entity class MyStepBlockCollection | |
again merger missing logs + objectdb exception it would be a great help. The Doctor also lists many broken references . Broken references could be application ... ). Are you aware for something in your application that can cause broken references or ... Support the broken references are something that we are aware of, not connected in general | |
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 | |
Transaction.setRestoreValues(restoreValues) - JDO Method of modified instances of primitive types and immutable reference types are restored to their values as | |
javax.jdo.Transaction, fields of modified instances of primitive types and immutable reference types are restored | |
javax.jdo.spi.JDOImplHelper is called by the constructors of JDO Reference Implementation classes. Parameters: smClass - a Class | |
PersistenceManager.getExtent(persistenceCapableClass,subclasses) - JDO Method itself might not reference any instances, but only hold the class name and an indicator as to whether subclasses | |
javax.jdo.spi.StateInterrogation. However, if a reference to an array is given to a method outside the class, and the array | |
StateInterrogation.makeDirty(pc,fieldName) - JDO Method. However, if a reference to an array is given to a method outside the class, and the array is modified | |
StateManager.replacingStateManager(pc,sm) - JDO Method that the owning StateManager is the only source of any change to its reference in the PersistenceCapable | |
javax.jdo.annotations.FetchPlan fields retrieved by queries. Since: JDO 2.1 int maxFetchDepth default 1 The depth of references | |
javax.jdo.annotations.FetchPlan.maxFetchDepth JDO Annotation Attribute in javax.jdo.annotations.FetchPlan int maxFetchDepth default 1 The depth of references to instantiate, starting with the root object. Since: JDO 2.1 | |
FetchPlan.setMaxFetchDepth(fetchDepth) - JDO Method that number of references from the initial object to be fetched. Parameters: fetchDepth - the depth Return: the FetchPlan Since: JDO 2.0 | |
PersistenceCapable.jdoMakeDirty(fieldName) - JDO Method JDO Method in javax.jdo.spi.PersistenceCapable void jdoMakeDirty ( String fieldName ) Explicitly mark this instance and this field dirty. Normally, PersistenceCapable classes are able to detect changes made to their fields. However, if a reference to an array is given to a method | |
javax.jdo.InstanceCallbacks collection of referred instances can occur. Since: JDO 1.0 Public Methods void jdoPostLoad () Called | |
javax.jdo.FetchPlan that number of references from the initial object to be fetched. Parameters: fetchDepth - the depth |