ObjectDB Database Search

1-50 of 200 results

jakarta.persistence.LockModeType.PESSIMISTIC_READ

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.LockModeType PESSIMISTIC_ READ Pessimistic read lock. Since: Jakarta Persistence (JPA) 2.0

jakarta.persistence.LockModeType.READ

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.LockModeType READ Synonymous with LockModeType.OPTIMISTIC . OPTIMISTIC is preferred for new applications. Since: Jakarta Persistence (JPA) 1.0

Error in reading Enum in JPA - Failed to read using reflection

with valid values of Status. This is all done with JPA/EJBs. However, at the time of reading the Object (findById), the system throws an error  com.objectdb.o.UserException: Failed to read

Master database switching to read-only mode, possibly caused by slave failure

, slave became unresponsive and the master switched to read -only mode. By the look of it the slave database failed first and possibly caused the master to switch to read -only mode. The sequence ... (Unknown Source) The reading continued to work and there was nothing in the server DB logs. All write

Failed to read DB file while online backup is running

Hi, it happened already few times (seemingly randomly), that some db operation ( read ... ._JdoUserException: Failed to read from file '/path_to_db/dbFile.odb' NestedThrowables: java.io ... by: com.objectdb.o._JdoUserException: Failed to read from file '/path_to_db/dbFile.odb

Error 363 - Failed to read value of inverse relationship

try to read the Event type, I'm getting the following exception. As far as I can tell, I'm ... .PersistenceException Failed to read the value of field com.pvdc.model.entity.EEvent.town using ... .main(RemoteTestRunner.java:197) Caused by: com.objectdb.o.UserException: Failed to read the value

Error reading UTF string

.objectdb.o.InternalException: Error reading UTF string at org.jboss.as.ejb3.tx.CMTTxInterceptor ... reading UTF string at granat.dp.ejb.PersonBean.find(PersonBean.java:287) [DP-ejb.jar:] at sun.reflect ... .1.1.Final] ... 88 more Caused by: com.objectdb.o.InternalException: Error reading UTF string at com

Failing to read entities under load in multithreaded tests

- we sometimes fail to read entities from the database. I've isolated this issue to a fairly simple test ... test that creates, reads and updates these entities in multithreaded application it sometimes fails to read them from the DB with "No matching results for a unique query" error

InternalException when reading a HashMap

well. Today we restarted the app and it threw the following exception during startup while trying to read ... well. Although the stack trace indicates an error while reading the hash map, if some objects in the database

Intermittent Exception "Attempt to update types in read only mode"

2.4.1_06] javax.persistence.PersistenceException Attempt to update types in read only mode (error ... .UserException: Attempt to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb

Reading 1.x odb files in ObjectDB 2.x without upgrading

which is having object db 1.x installed. Is there any way to  read odb files from 1.x in object db 2.x without upgrading it ? Or user can see the content in read only mode without upgrading it ? Thanks

Failed to read the value of field using reflection

I have recently encountered an issue with reading objects: Exception: com.objectdb.o.UserException Message: Failed to read the value of field field Character.stats using reflection Stack Trace: com.objectdb.o.MSG.d(MSG.java:75) com.objectdb.o.UMR.P(UMR.java:934) com.objectdb.o.UMR.B(UMR.java:609

Error reading UTF string

reading UTF string com.objectdb.o.InternalException: Error reading UTF string at com.objectdb.o.BYR

Puzzler: Not getting cascades on read from Spring context

;   -dh dhosek Don Hosek Fetching doesn't work by default for detached objects. Please read

DB reading fails in debug mode in Eclipse

. My application works fine with them up to I try to launch it in debug mode in eclipse. Upon reading it in debug

Failed to read the value of field ... using reflection

Hello, we got following exception. Can you explain me, what is the reason of this exception?   Caused by: com.objectdb.o.UserException: Failed to read the value of field field com.btc.ep.expression.formula.bl.dmos.Valuation.variableSettings using reflection at com.objectdb.o.MSG.a(MSG.java:77

NPE when reading map from DB

Greetings, this NPE happened in our app first time today while reading objects from DB. Could u please check what could be the issue ? Inner message: Cannot invoke "com.objectdb.o.ORS.YD()" because " " is null -------------------- com.objectdb.o.TYR. (TYR.java:113) com.objectdb.o.ENT

WORM (Write once read many) support

WORM (Write once read many) support

Internal ObjectDB error by read the primary key

Internal ObjectDB error by read the primary key

JPA Optimistic and Pessimistic Locking

class. Pessimistic Locking The main supported pessimistic lock modes are: PESSIMISTIC_ READ ... if the requested pessimistic lock cannot be granted: A PESSIMISTIC_ READ lock request fails if another user ... lock or a PESSIMISTIC_ READ lock on that database object. For example, consider the following code

ObjectDB 2.9 Developer's Guide

. Further Reading and Resources This guide focuses mainly on practical issues in order to make the reader proficient in a short time. After reading this guide you may want to extend your knowledge of JPA by reading a book on JPA.

Database Replication and Clustering

both read and write operations. The other nodes in the cluster, known as slave nodes, manage identical, read -only copies of the database. Updates to the master database are automatically propagated

JPA Runtime Tuning & Configuration

(FlushModeType) Lock mode Specifies the locking strategy: optimistic or pessimistic, shared ( READ ) or ... to find() and lock() . Cache retrieve mode Controls whether data is read from the second-level cache: USE

jakarta.persistence.LockModeType

LockModeType.OPTIMISTIC and OPTIMISTIC_FORCE_INCREMENT . The lock mode types READ and WRITE ... phenomena can occur: P1 (Dirty read ): Transaction T1 modifies a row. Another transaction T2 then reads ... so before or after T2 commits. P2 (Non-repeatable read ): Transaction T1 reads a row. Another transaction

JPA Entity Fields

that field. Version fields should be treated as read -only by the application, and you shouldn't write

ObjectDB License Agreement [ver. 2.0.4]

Please read carefully this software license agreement. By downloading, installing or using the software you agree to the terms and conditions of this agreement. If you do not agree to these terms and conditions - do not download, install or use the software. This agreement is between ObjectDB

Where can I learn how to use ObjectDB?

The best source for learning ObjectDB is the ObjectDB Manual , which contains all the necessary information for using ObjectDB. The only required background is a good understanding of the Java language. Reading the manual and getting started with ObjectDB could be easier for developers with prior

ObjectDB Release History

Please read the ObjectDB licence page.

Obtaining a JPA Database Connection

more detail how to use the EntityManager and transactions for create, read , update, and delete (CRUD) database operations.

Chapter 3 - Using JPA

This chapter explains how to manage ObjectDB databases by using Jakarta Persistence (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD (create, read , update, and delete) operations: The final section discusses advanced topics, such as locking and events:

Server User List

can contain the following permissions: access : Permission to open a database for reading . modify

Chapter 1 - Quick Tour

This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program. After reading this chapter, you will be able to write basic programs that create, open, and close ObjectDB databases and perform basic CRUD (Create, Retrieve, Update, and Delete) operations

JPA Exceptions

that another transaction modified the entity since it was last read . Thrown when a pessimistic lock

jakarta.persistence.CacheStoreMode

when data is read from the database and when data is written to the database. USE indicates ... REFRESH Insert/update entity data held in the cache when read from the database and when written to the database. Force refresh of cache for items read from database. Since: Jakarta Persistence (JPA) 1.0

Query fails with failed to read

2-3 times per day we have a query that fails with:   Failed to read from file 'F:\Hummingbird ... this: ... [2018.08.09 10:41:30](2)class com.agile.hummingbird.CT_Containerquery error: Failed to read ... for this on our application level):   [2018-08-17 19:14:41 #4 store.file] LocalFile. read error: 0, 52076077056, 2048

jakarta.persistence.CacheRetrieveMode

is read from the database via the EntityManager.find methods and execution of queries. USE indicates that data may be read from the second-level cache. BYPASS indicates that data may not be read from ... the database. Since: Jakarta Persistence (JPA) 1.0 USE Read entity data from the cache: this is the default

Error reading UTF string (Serialized Objects in Explorer)

. It seems that there is a problem in reading the pricing field, whose type is serializable ( Money ... , which is needed during read . Please check this query (and accessing that instance in general) from your program

Exception Failed to read from file

Hello, we have found several these exceptions in our log [ObjectDB 2.5.0_06] javax.persistence.PersistenceException Failed to read from file 'C:\SafeQORS\server\cache\MainORSCache.odb' (error 117 ... : Failed to read from file 'C:\SafeQORS\server\cache\MainORSCache.odb' at com.objectdb.o.MSG.d(MSG.java

Read only hint for query

Second thing after @FetchGroup I've found is read -only hint for EM. You can specify this hint to EM when executing query meaning that returned data will never be edited or persisted ... .setHint("odb. read -only", "true"); This could be useful in situation when you are sure, that you won't

InternalException - error reading field from "queue" database

Source) ... 4 more Caused by: com.objectdb.o._PersistenceException: Failed to read the value of field ... : com.objectdb.o.UserException: Failed to read the value of field field rbccm.felix.objectdb.messaging

reading from table gives Unexpected exception

reading from table gives Unexpected exception [ObjectDB 2.6.3] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_131 (on Windows 10 10.0). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com

query returns failed to read from database file

we have since today exceptions on executing some queries like this: Failed to read from file 'F:\Hummingbird\Objectdb\db\coreSystemDb.odb' we are using objectdb 2.7.2_05 in the objectdb log there is no message       hgzwicker Hans-Georg Zwicker it seams that this is only happening

Step 4: Run the Application

: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 7: Run the Spring Web App

; ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the  Manual .

Step 6: Run the Java EE 6 Application

: This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 4: Run the Application

by opening it in the ObjectDB Explorer : This is the end of the Eclipse JPA tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 6: Run the Web Application

the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 6: Run the Java EE 6 Application

server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 6: Run the Web Application

of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .

Step 7: Run the Spring Web App

enabled without specifying a Java agent. This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual .