ObjectDB Database Search

151-200 of 200 results

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

Foreign key constraint issue

child2 = new Child(parent); childRepository .save(child2); // New child referring to the parent ... along with all children referring to it. After the above is executed, only child1 is deleted and child2 remains ... (when there are changes). So when a child is instantiated and it references a parent

How to create dynamic Entity class.

.RollbackException Failed to commit transaction: Failed to get reference value of field field DClass ... .UserException: Failed to get reference value of field field DClass.Field_1 using enhanced method at com ... to get reference value of field field DClass.Field_1 using enhanced method at com.objectdb.o.MSG.a(MSG

Using multiple databases

to more than one database at a time? Also, can objects in one database reference objects in another database (e.g ... . References to objects in another database are not supported. Of course, you can keep IDs of the other database objects and manage the references yourself. You will not be able, however, to run one query on both databases. support Support

Can't modify @EmbeddedId in ObjectDB Explorer

, copying the content of the old entity object to the new object, updating references to the new object ... . Because object Ids are used in references between objects, the ability to modify them could cause broken references . It is also a good practice to keep primary keys fixed (in RDBMS too). Accordingly

Enhancement Error: ClassNotFoundException

that all referred classes (e.g. by inheritance, interface implementation, field types) will be available ... is missing. Please check which enhanced class refers to this class and how, and consider whether this reference is necessary. If it is necessary, extend the classpath that is used on enhancement to include that class. support Support

ClassCastException of same object type

the following stack trace. [ObjectDB 2.2.8] javax.persistence.PersistenceException Failed to get reference ... by: com.objectdb.o.UserException: Failed to get reference value of field field org.sportscoring.ssv

Jboss 6 persistence.xml startup error

. (PersistenceUnitInfoImpl.java:124) [:2.0.0] I have followed the examples also - but none refer to the jta ... datasource it requires a SQL driver (confusing a bit!). Anyhow solved this without referring to the API

EntityManagerFactory objects being locked during EntityManager creation

Issue Details : We've been observing lately an issue with ObjectDB wherein the EntityManagerFactory objects are being locked during EntityManager object creation.  Please refer the below stacktrace. Complete thread dump is also attached to the ticket for your reference . "https-openssl-nio

OneToMany and cascade delete problem

is deleted. Otherwise a broken reference from Store to the deleted Product is formed. support Support I ... reflection mode (with enhancement, weak references are used more intensively, so Product instances

WebSphere Liberty Configuration

to obtain an object instance for the java:comp/env/guest.GuestDao/em reference . The exception ... was unable to obtain an object instance for the java:comp/env/guest.GuestDao/em reference . The exception

newbie - lots of exeptions

: message [ObjectDB 2.4.4_16] javax.persistence.PersistenceException Failed to get reference value ... .UserException: Failed to get reference value of field field com.prohire.agent.entities.CompanyLocation

Database size is much larger than expected (x2)

, regardless of how many references , the original data has to be only one. Why objectdb stores it many ... objects have identity and support multiple references without duplication. All the other types

Entity not removed 100%

unknown It is the application responsibility to clear references to removed objects. Cascading removal operates on the other direction and cannot clear references after removal. If you use bidirectional

Problem with @Basic(fetch = FetchType.LAZY)

, you can define an entity class, LargeString , with a single  String field, setting references to  ... , with a single String field, setting references to LargeString as LAZY.   Okay, I will do just

Rename Application StringIdentity

its "id" attribute?  (And update indexes and references appropriately?)  Or, does ObjectDB ... (id) of objects, since that may affect references from other objects and indexes. support Support

Entity Update - Is the documentation up to date?

Support I'd like to understand the "dirtying" of entities a little better.  If an array reference ... reference (but not changing the content of the array with no assignment of the persistent array field

Index causes increased memory usage

with us with understanding what is going on behind the scenes inside object db.  When you refer to having "30 open ... ? ================================= Thank you again for your help, it is greatly appreciated. cvtsc Dev Team  When you refer

Retrieval by Access bug?

Dear Sirs, I have an object A, that has a OneToMany FetchType.EAGER List of objects B, that has a field with a reference to an object C. I have this code: ClassA objectA = em.find(ClassA.class ... use that code, I received a managed objectC reference , I can modify objectC, and it is updated when I

Merge on detached entities

. Normally they are not fully loaded when not all attributes or references are loaded eagerly ... was not yet loaded. The cascade type for this reference was set to ALL. Then we tried to merge

Fantom

: com.objectdb.o._RollbackException: Failed to commit transaction: Failed to get reference value ... to commit transaction: Failed to get reference value of field field fan.OdbTest.Address.street using

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

. Here it is again for reference : [2017-12-29 10:21:28 #265 type.loader] java.lang.ClassNotFoundException: String ... http://www.objectdb.com/api/java/jdo/id/classes  classes is the reference for this quote

Java 9 support

the documentation found here: http://openjdk.java.net/projects/jigsaw/ (and the items it references ... ." My tool uses jdeps (https://docs.oracle.com/javase/9/tools/tools-and-command- reference .htm#JSWOR596

Upgrade to 2.4.1_01

.persistence.PersistenceException Attempt to persist a reference to a non managed com.contextspace ... ) Caused by: com.objectdb.o.UserException: Attempt to persist a reference to a non managed com

Performance question

Hello, suppose you have an entity that holds a reference to another entity which in turn contains e.g. a date field you want to query for. Is there an improvement in performance if I create ... indexes: one on the date field and the other on the reference field to the other object. support Support

IDs of Entities suddenly became UUIDs?

It is not that simple. For example, changing IDs may affect other objects that reference these objects

Low performance when getting grove roots

Hi, I have a grove-like structure of objects, every objects referencing its parent. Root objects have null as the value of this parent reference . To find the roots I execute a query. If the number of objects in the tree is significant, this query takes almost forever, it seems ObjectDB loads

"Failed to serialize instance" of Set problem

reference :-( Regards, Vladimir tsichevski Vladimir Tsichevski Build 2.4.7_06 should add support

Getting Unexpected internal exception when updating entity in MEM db

Hi, I am using mem db. When am doing Merge operation getting "com.objectdb.o.InternalException: Unexpected internal exception" this exception for some cases.Can you please explain me the reason. Please find the below stack trace for your reference . Caused by: com.objectdb.o.InternalException

ObjectDB Manual

Hello, I would like to be able to read or refer to the ObjectDB manual (v2) on my Kindle. Unfortunately, I didn't find any option to download the manual, either as a .pdf (most convenient) or as a zipped set of .html files (a single file would be better for an easier conversion to .pdf

Evaluation License

when the license page included the following paragraph (to which the answer refers ): "If you are a single

Problem with @UniqueConstraint

) String name; } }   pezi Peter Sauer @UniqueConstraint is an ORM annotation. It references RDBMS

persisting object with long[][] arrays of array

(as you save a lot of small allocations and space for references ), not just in persisting to the database. support Support

Is 2 level cache in use?

"); This is an instruction to the ObjectDB server to return references rather than entity objects as results, which can help

ClassCastException in Tuple.get

) , invalid element of a tuple is selected. Note how both references e3 and untyped (lines 47 and 48) point to the instance of EntityChild , while untyped is expected to refer to instance of EntityClass ... have the same value of field m_variableName="$1" , while query string in a log file references selections

com.objectdb.o.InternalException NPE

navigation through a broken reference (probably a reference to a deleted object) during query execution

Unexpected exception (Error 990) com.objectdb.o.InternalException

;  // Keep a strong reference to the embeddable but free the entity:      ... .getTransaction().commit();         // Keep a strong reference

ObjectDB 2.6.5

Added optional (experimental) support of using clients with different object model versions. Changed references to new flushed objects from ObjectDB to weak references . Cancelled an exception on cascading removal of an already removed object. Renamed internal Enhancer hidden methods to non

ObjectDB 2.7.6

Added support of an option to disable broken reference cleaning in the Doctor ( feature request #2341 ). Added support of cascading delete using JDO ( feature request #2329 ). Added logging ... references ( issue #2302 ). Added support of filtering mapped-by (inverse) relationship results using

InternalException when using MEMBER OF on a large list in a query

the object content but instead stored separately with references from the objects, and specific code in ... the key before the entities are persisted so that we can build even references . a) Composite Primary Key

Internal exception on flush

the database (attached) through objectdb doctor showed broken references . I'm not sure of the exact ... itself seems healthy (except the dangling references which are not related directly to the exceptions). support

TYE NullPointerException

reference to the containing entity object? support Support Following issue #544  - a better fix is included now in build 2.3.2_01. Lazy collections will always hold a strong reference to the containing

ObjectDB 2.6.7

in new automatic activation of indexes. Fixed a regression bug due to changing references to weak in 2.6.4_04 ( issue #1658 ). Fixed a bug in enhancing an entity class with static reference to Log4j

New entity objects are duplicated on merge cascading

to persist a reference to a non managed ..." exception, when the duplicated object is referenced from another new / dirty entity object by a reference with cascading persist disabled. The following

InternalException - error reading field from "queue" database

can get it to you. Looking at it in explorer shows a lot of "Broken References " (see screenshot) so I guess the problem ... whose schema is not stored in the database, i.e. there are broken references from entity object field values

GC Memory

reflection mode ObjectDB has to keep some strong references to objects, which are weak references when entity classes are enhanced. support Support

B-Tree Index

Hi Devs, is @Embeddable B-Tree-Index always limited to INTEGER_MAX? thx Serious_Stan Stanislav Jakuschev Could you please clarify your question with a bit more detail? Are you referring to the maximum number of entries supported in the index? Are you encountering an exception when exceeding

ArrayIndexOutOfBoundsException on flush

...) felixobjectdb Richard Szurgot I updated to 2.3.3 and get the same errors as above. The entity referred

JDO PersistenceManager.getSequence() returns null sometimes

it's a class-level annotation so referring to the sequence with the fully qualified class name sounds right

ObjectDB 2.0.4

Added support for JTA and Java EE Containers ( issue #8 ). Fixed a bug in indexing entity objects. Fixed a bug in fixing broken references in ObjectDB Doctor. Fixed a bug in modifying enhanced detached embedded objects. Fixed a spring transformer (LoadTimeWeaver) problem. Fixed a class