ObjectDB Database Search
1-50 of 104 resultsSoft Reference Object Cache Recommendation SoftReference to my large byte[] and instruct ObjectDB to use soft reference for its Level One (L1) object data ... ", only contains a byte[] and uses a soft reference to make that array eligible for GC ... , so there is a strong reference to the byte[] when data needs to be written back to ObjectDB datastore | |
Storing JPA Entities with a reference to an Address instance: Employee employee = new Employee("Samuel", "Joseph ... instance. To avoid a dangling reference in the database, an IllegalStateException is thrown on commit if a persisted entity references another entity that is not stored in the database at the end | |
Update Entity references if we change the type of an entity. As example (like in the attached example): We have an EntityA that have a reference to an EntityB ... , because it's possible that many other entities have just a ID based reference with a simple 'int' field to this element. And we thought that also the real references are based on the ID. This step | |
Handling deleted references? This would simplify my use case since all I have to do is to check if the reference is null and create a new ... other value) should be done in the same transaction, to avoid a reference from User to a deleted Profile ... cases where we cannot check for further references (e.g. if the same Profile instance is used twice | |
Broken @ManyToOne reference, two instances are created and persisted: a Parent and a Child , the Child instance references the Parent ... reference written: testobjectdb.Parent@e425743 Parent reference read back: null Regards, Vladimir ... ) public AbstractParent prn; } the output of the tests seems as expected: Parent reference written | |
Missing (null) elements in eager loaded references etc. So you say that despite of the eager fetching, it is possible that some deeper references are not ... that despite of the eager fetching, it is possible that some deeper references are not yet resolved ... ; Is there an event, notification which indicates that all references have been resolved? So I | |
find out if an entity is refered by other entities) for a specific relationship ( reference field), so you may have to use many queries to cover all the possible relationships that may reference that child object. As a permanent solution | |
Does ObjectDB support @Parent for @Embeddable reference to parent?/questions/5060891/jpa-how-can-an-embeddable-object-get-a- reference -to-its-owner webel Dr Darren | |
Detached JPA Entities to related entities, mark the reference field with CascadeType . DETACH or CascadeType ... field that references an Address entity. Because the field is marked with CascadeType.DETACH ... the reference field with CascadeType . MERGE or CascadeType . ALL . When you merge the entity | |
Index Definition.util.Date , java.sql.Date , java.sql.Time , java.sql.Timestamp Any enum type A reference ... ; : } @Embeddable class Address { String street; String city; : } Indexes must always refer to values ... of references to the entities that contain that value. Indexes require maintenance time and consume | |
JPA Entity Fields: @OneToOne , @ManyToOne : For references to entity types. @OneToMany , @ManyToMany : For collections and maps | |
Setting and Tuning of JPA Queries) or "LAZY" . When LAZY is used, result entities are returned as references with no content | |
Server Configuration.odb refers to a database file named db.odb in a subdirectory named my within the data directory | |
JPA Named Queries Annotations of the ObjectDB Manual. Query references Access named queries in the application by name or by using | |
JPA Metamodel Attributes, wrappers, Strings), embedded objects, and associations ( reference fields and properties | |
jakarta.persistence.EntityManager createQuery ( TypedQueryReference reference ) Create an instance of TypedQuery for executing a named query written in the Jakarta Persistence query language or in native SQL. Parameters: reference - a reference ... to the database. Managed entities which reference the given entity continue to reference | |
ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed a transaction (including the entity manager) the ODB file writer still holds a reference to entities. Performing similar calls repeatedly hence increases the number of references to entities not longer needed ... EmbeddedSystems Hello, we have already again problems that the ODB file writer still holds references | |
spuriously objectdb objects have null references from time to time we have in a multi threaded environment objects where all the references are null (i.e. references actions, childNodes), even after a subsequent refresh. we are using a separate ... { threadEntityManager.getTransaction().begin(); } catch (Exception e){ } } } ... the reference | |
NULL reference, how to remove; hgzwicker Hans-Georg Zwicker More information is needed about this NULL reference ... such null references do you have? Do you have any idea what operation could be related ... reference ? If they are ordinary null values in the ArrayList then you can use List 's remove method. See also this question on stackoverflow. support Support | |
Deleting a broken reference that was fixed to null in the Explorer Using version 2.7.4_01, we did a repair. After repair a former link to a missing reference was converted to null. This cannot be deleted using explorer hgzwicker Hans-Georg Zwicker Thank you for this report. Build 2.7.4_02 fixes the issue. support Support | |
Cascade.ALL with LAZY fetchtype does not clean up all references on remove Hello, I have a tree of entity classes that reference others using Cascade.ALL in combination with FetchType.LAZY. If I now delete a root entity using EntityManager.remove all leaf nodes will not be deleted. This only applies to the leaf nodes. If I add an additional the behaviour changes | |
jakarta.persistence.NamedAttributeNode) 1.0 String subgraph (Optional) If the attribute references a managed type that has its own AttributeNodes, this element is used to refer to that NamedSubgraph definition. If the target type ... ) If the attribute references a Map type, this element can be used to specify a subgraph for the Key in the case | |
jakarta.persistence.JoinTable which reference the primary table of the entity owning the association. (I.e. the owning ... which reference the primary table of the entity that does not own the association. (I.e. the inverse | |
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 | |
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 | |
jakarta.persistence.PersistenceUnitUtil of an entity passed as a reference . An entity is considered loaded if all attributes | |
jakarta.persistence.PersistenceUtil. This method can be used to determine the load state of an entity passed as a reference . An entity | |
jakarta.persistence.ForeignKey: FOREIGN KEY ( {, } ... ) REFERENCES [ ( {, } ... ) ] [ ON UPDATE ] [ ON DELETE | |
jakarta.persistence.NamedEntityGraph. A reference to a named entity graph may be obtained by calling EntityManager.getEntityGraph | |
jakarta.persistence.MapKeyJoinColumns Jakarta Persistence (JPA) Annotation Type jakarta.persistence.MapKeyJoinColumns Implemented Interfaces: Annotation Target: Method, Field Supports composite map keys that reference entities. The MapKeyJoinColumns annotation groups MapKeyJoinColumn annotations. When the MapKeyJoinColumns annotation | |
jakarta.persistence.MapsId of the entity cannot be made persistent until the relationship has been assigned a reference to an instance | |
jakarta.persistence.ColumnResult Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ColumnResult Implemented Interfaces: Annotation Used in conjunction with the SqlResultSetMapping , NamedNativeQuery , or ConstructorResult annotation to map a column of the SELECT list of a SQL query. The name element references | |
jakarta.persistence.Entity of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved | |
jakarta.persistence.EntityNotFoundException by the persistence provider when an entity reference obtained by EntityManager.getReference | |
jakarta.persistence.EntityManagerFactory ) A map keyed by query name , containing references to every named query whose result type | |
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 | |
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 | |
jakarta.persistence.PersistenceUnitUtil.isLoaded(Object) Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnitUtil boolean isLoaded ( Object entity ) Determine the load state of an entity belonging to the persistence unit. This method can be used to determine the load state of an entity passed as a reference . An entity | |
jakarta.persistence.Persistence.PERSISTENCE_PROVIDER Jakarta Persistence (JPA) Field in jakarta.persistence.Persistence PERSISTENCE_PROVIDER This final String is deprecated and should be removed and is only here for TCK backward compatibility Deprecated: TODO: Either change TCK reference to PERSISTENCE_PROVIDER field to expect "jakarta.persistence | |
jakarta.persistence.ParameterMode.REF_CURSOR Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.ParameterMode REF_CURSOR Stored procedure reference cursor parameter. Some databases use REF_CURSOR parameters to return result sets from stored procedures. Since: Jakarta Persistence (JPA) 1.0 | |
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 | |
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 | |
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 | |
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 | |
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 |