ObjectDB Database Search
1-50 of 200 resultsJPA Extended API Reference Guide. The JPA types are organized in this reference into the following sections : Defines ... . For a comprehensive guide on using JPA with ObjectDB, refer to the ObjectDB manual . | |
ObjectDB API ReferenceAll about ObjectDB API Reference in Java/JPA database - explanations, examples, references, links and related information. | |
Database Explorer makes navigation easier. Because references between database objects are represented as parent-child ... and can therefore be represented by more than one node. To help identify circular references , a special {R ... . Editing values and references You can edit simple field values inline in the Tree and Table viewer | |
Soft 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 | |
Retrieving JPA Entities method is useful when you need a reference to an entity but not its data, for example, to set ... the entire database into memory, which is often unacceptable. You can exclude a persistent reference field ... and non-map references is FetchType . EAGER , which means the retrieval operation cascades | |
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 | |
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 | |
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 | |
Question: remove and recreate an object, do the references survive ? it has been before, do the references from other objects survive this (assuming that no Doctor is done in between that would remove the orphane references ) ? hgzwicker Hans-Georg Zwicker References ... reference cleaning. Run the Doctor with this java -Dobjectdb.temp.no-broken-ref-fix=true Doctor support Support Perfect, thanks hgzwicker Hans-Georg Zwicker | |
Mysterious "Attempt to persist a reference to a non managed instance" error transaction: Attempt to persist a reference to a non managed failing.Ostrich instance (error 613 ... a reference to a non managed failing.Ostrich instance at com.objectdb.o._PersistenceException.b ... more Caused by: com.objectdb.o.UserException: Attempt to persist a reference to a non managed failing | |
WebService : Failed to get reference value of field using enhanced method.apache.axis2.AxisFault: Failed to commit transaction: Failed to get reference value of field field ... exceptions: org.apache.axis2.AxisFault: Failed to commit transaction: Failed to get reference value ... to get reference value of field using enhanced method" . ClassCast error was only once by me... --- I | |
Repair broken references in entities. Are all broken references in other entities on this removed/persisted entity repaired again? best regards ... type with the same primary key, and then references to the old entity should point to the new one (eliminating broken references ). support Support | |
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 | |
Privacy Policy our Service or parts of our Service. Company ( referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to ObjectDB Software Ltd, 109 Vernon House Friar Lane Unit 632 ... is any information that relates to an identified or identifiable individual. Service refers | |
Deleting JPA Entities a transaction. Cascading remove Marking a reference field with CascadeType . REMOVE (or CascadeType ... entities that the field references . @Entity class Employee { : @OneToOne ( cascade = CascadeType . REMOVE ... that references an Address entity. Because of the CascadeType.REMOVE setting, when an Employee | |
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 Relationships Annotations attributes (persistent fields or properties) in persistent classes that hold a reference or a collection of references to other entities. Jakarta Persistence (JPA) provides annotations to configure ... a collection. Defines a single-valued association where multiple entities reference a single target entity | |
Managing JPA Entities been modified or removed during a transaction are held in the persistence context by weak references ... to use strong or soft references instead of weak references . Use the contains method to check | |
JPA Primary Key.OffsetDateTime , java.time.Instant. Any enum type. A reference to another entity. Composite primary ... . This is especially true if there are many references to Event objects in the database, because references | |
Entity Management Settings for the two entity cache mechanisms: The ref attribute specifies the reference type for holding non ... references in the persistence context (until commit or flush ), regardless of this setting. The level2 | |
ObjectDB Object Database Features . Online searchable JPA API Reference (based on JavaDoc). Online searchable JDO API Reference (based on JavaDoc). Tutorials Various downloadable tutorials for Eclipse, NetBeans | |
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 | |
JPA Queries instructions, refer to the JPA Query API section in the ObjectDB manual. Criteria query API | |
JPA Class Enhancer), but persistent fields that reference entities directly (in a one-to-one relationship) must be loaded | |
What is the Java Persistence API (JPA)? database programming. A JPA implementation (sometimes referred to as a JPA provider) is needed in | |
JPA Runtime Tuning & Configuration provides a quick reference for applying these settings across different scopes. Setting Global | |
JPA Metamodel and Graphs and further explanation, refer to the JPA Metamodel API section in the ObjectDB manual. Criteria query | |
Paths and Types in JPQL and Criteria API through a null reference . In JPQL, the current FROM variable (or FROM tuple, when there are multiple | |
JPA Persistence Unit definition. JPA refers to these as managed classes. Classes listed in mapping files, as well as annotated | |
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 query defined in metadata Returns: the new query instance. Throws | |
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 | |
Lazy loading of mapped by (inverse) singular references is needed. For ordinary reference fields the type of the references is stored within the entity objects, so it is always available. For mapped by (inverse) reference fields no information is stored in ... every entity object with inverse fields tracking which inverse fields have been loaded and 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 | |
Explorer bug ? Objects seem to be missing from database in Class view, but are present as references that every Element object (except Project itself) gets a Project reference on construction: INFO ... exception: Caused by: javax.ejb.EJBException: Attempt to persist a reference to a non managed com | |
[ODB1] Chapter 4 - JDO Metadata and references to user defined classes are excluded by default. The default-fetch-group attribute ... attribute is relevant for persistent reference fields. It indicates whether or not the content of the referred object should be stored as part of the referring object, as an embedded object . Embedded | |
[ODB1] Chapter 6 - Persistent Objects) also becomes persistent, i.e. its content is also stored in the database. This mechanism prevents broken references in ... cannot be shared by references from multiple objects. In addition, embedded objects of persistent ... (an embedded object can only be retrieved using a reference from its containing object). 6.2  | |
[ODB1] Chapter 9 - ObjectDB Explorer advantage of using the browser window is in navigation among objects. Because every reference between ... to edit a multi line string. Use the "Set Reference " command to set a reference field to a new object, to an exiting object or to null. You can add objects or references to a persistent collection  | |
[ODB1] Chapter 3 - Persistent Classes . The JDO specification refers to persistent classes as persistence capable classes . 3.1   ... ) must have a reference to an object whose type is persistent at storage time, e.g. an Integer , or null ... , List and Map ) cannot refer to an unsupported collection, or a collection that contains objects | |
[ODB1] Chapter 7 - JDOQL Queries' , ... string "", " ", "abcd\n1234" , ... boolean true, false reference null As shown in ... to reference a candidate object in other operations, such as method calls and comparison expressions ... to the this reference . Persistent fields of any entity that represents a persistent object can be accessed | |
[ODB1] Chapter 2 - A Quick Tour whose instances can be stored in the database using JDO. The JDO specification refers to persistent classes as | |
[ODB1] Chapter 8 - ObjectDB Server directory. For instance, a url connection string "objectdb://localhost/my/db.odb" refers to a database file | |
[ODB1] Chapter 5 - JDO Connections instance holds a reference to an attached Transaction instance (i.e. there is a one to one relationship |