About WRITE

manual

Locking in JPA

Explains how to use optimistic locking and pessimistic locking in JPA.... represents a shared lock. PESSIMISTIC_WRITE LockModeType.PESSIMISTIC_WRITE enum constant Pessimistic write lock. See JavaDoc ...

 
forum_thread

Error: Failed to write value of field X using reflection (oneToMany relation)

Hi there! I have been all day trying to solve this. I have read multiple sites and documentation, but I can go through this. I have a clase named Pedido, that have a reference ManyToOne to a clase Cliente. ... com.objectdb.o._PersistenceException: Failed to write the value of field field entidades.Cliente.pedidos using reflection ... on the first run. But after that I recieve the "Failed to write the value of field field testodb2.TestODB2$Cliente.pedidos using ...

 
api-jpa

commit()

Commit the current resource transaction, writing any unflushed changes to the database.(Method of javax.persistence.EntityTransaction)

 
forum_thread

using objectdb.jar in writing data to mariadb or mysql db

Hello All, ... sql patterns. Can my application use the objectdb.jar to write to mariadb or mysql using native java JPA API and in some cases JPQL or ... ObjectDB is a standalone database. You cannot use to write to MySQL or MariaDB (as you cannot use PostgreSQL to write to MySQL). You ...

 
api-jpa

LockModeType.WRITE

Synonymous with OPTIMISTIC_FORCE_INCREMENT.(Enum Constant of javax.persistence.LockModeType)

 
forum_thread

Failed to write the value of field using reflection (error 363) on LAZY fetch

Hi There I am using ObjectDB 2.6.3. I get the following Exception when I try to read my entities with a query where I have set to use LAZY initalization. It fails when it tries to set a 1:n member (e.g. a Modell has several Artikels) . When I remove the LAZY hint on the query execution it works. Any hints why this can happen? The Mapping of class Modell and its member: ... 2.6.3] javax.persistence.PersistenceException Failed to write the value of field field ch.megloff.zeus.model.Modell.articles using ... by: com.objectdb.o.UserException: Failed to write the value of field field ch.megloff.zeus.model.Modell.articles using ...

 
forum_thread

Failed to write to ObjectDB log file

I get an Error message: Failed to create a new file 'file:C:\Programme\Cytoscape_v2.8.3\plugins\log\odb20130502.log my program is a Cytoscape plugin. ... Grant the ObjectDB process permission to write to that path. Disable logging by specifying an empty path ...

 
issue

ObjectDB tries to create a File in a localtion without write access

Hello, if we install our Product into the windows Program Files directory which have by default no write acces for the 'normal' users. If we now open 'older' Profiles (older Databases) we get the following exception: ... windows Program Files directory which have by default no write acces for the 'normal' users. If we now open ...

 
forum_thread

WORM (Write once read many) support

Hello, we would like to propose a feature in the objectdb if this is not already available. We use objectdb in our product development and deployment in high secure environments like police, military and government agencies. We have developed a specialized hardware device in a form of appliance which acts as archiving device for processing and storing logs, records and transactions. Hardware is specific in a way that it has a mechanism for preventing the data to be changed once they are written. #1 2017-02-12 10:45 Hello, we would like to propose a feature in the objectdb if this is not already available. We use objectdb in ou ...

 
api-jpa

LockModeType.PESSIMISTIC_WRITE

Pessimistic write lock.(Enum Constant of javax.persistence.LockModeType)