About ObjectDB

71-80 of 200Refresh
Manual
11

Locking in JPA

in ObjectDB (and in JPA) is always at the database object level, i.e. each database object is locked ... by another transaction. When using ObjectDB, optimistic locking is enabled by default and fully ... , are detected earlier. Optimistic Locking ObjectDB maintains a version number for every entity
Forum
11

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

in objectdb explorer ObjectDB 2.x is usually faster than ObjectDB 1.x, so it should be possible to get at least similar performance for this query with ObjectDB 2.x. Maybe an index is missing ... String commandLine = java -cp objectdb.jar com.objectdb.Doctor old.odb new.odb As i am doing
Issue
11

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

The following error is reported for objectdb-2.6.9.jar: Failed to commit transaction: Failed to set numeric value of field property com.greensoft.objectdb.test.entity.Element.id using reflection (error 613) Did not happen with objectdb-2.6.3_04 (which one can easily test and compare in the test
Issue
11

java.lang.ClassCastException: com.objectdb.o.RFV cannot be cast to com.objectdb.o.RSV

is generating this exception: [ObjectDB 2.5.1_05] Unexpected exception (Error 990)   Generated by Java ... .objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.ClassCastException: com.objectdb.o.RFV cannot be cast to com.objectdb.o.RSV java.lang.ClassCastException: com.objectdb.o.RFV
Issue
11

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb-2.6.9_06 NetBeans8.1+Glassfish4.1.1 Mac OS X Possibly related: How to Use a SF ... switches at: https://www.webel.com.au/downloads/objectdb/GreensoftObjectdbTestWebMini3683.2016-09-29 ... .1 and then: Set DO_FORCE_COMMIT_AFTER_BUILD = false in com.greensoft.objectdb.test.mini.ejb
Issue
10

ClassCastException: com.objectdb.o.SLV cannot be cast to com.objectdb.o.RSV

Hello, we have found another exception in objectdb.log: java.lang.ClassCastException: com.objectdb.o.SLV cannot be cast to com.objectdb.o.RSV at com.objectdb.o.RSV.compareTo(RSV.java:158) at com.objectdb.o.INV.compareTo(INV.java:215) at com.objectdb.o.INV.J(INV.java:315) at com.objectdb.o.PAG
Manual
10

JPA Named Queries

can be defined in JPA XML mapping files instead of using the @NamedQuery annotation. ObjectDB supports JPA XML ... mainly for Object Relational Mapping (ORM) JPA providers and less so when using ObjectDB ... must be available. ObjectDB makes the definition of a persistence unit optional. Named queries are automatically
Manual
10

Index Definition

name attribute has no specific role but might be presented in the ObjectDB Explorer and in logging ... ; : } Indexes in Queries ObjectDB manages a BTree for every index. A BTree is an ordered map data structure that ObjectDB maintains in the file system rather than in memory. The keys of the BTree
Manual
10

JPA Primary Key

an object database, ObjectDB supports implicit object IDs, so an explicitly defined primary key is not required. But ObjectDB also supports explicit standard JPA primary keys, including composite primary keys and automatic sequential value generation. This is a very powerful feature of ObjectDB
Forum
10

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

an exception "com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV" SELECT DISTINCT $1 FROM ... server] java.lang.ClassCastException: com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV at com.objectdb.o.RSV.compareTo(RSV.java:158) at com.objectdb.o.SQI.compare(SQI.java:195