ObjectDB Database Search

1-50 of 200 results

Locking in JPA

_ WRITE - which represents an exclusive lock. Setting a Pessimistic Lock An entity object can be locked explicitly by the lock method: em. lock (employee, LockModeType . PESSIMISTIC_ WRITE ); The first ... another EntityManager instance) currently holds a PESSIMISTIC_ WRITE lock on that database object

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

and reduce the use of regular sql patterns. Can my application use the objectdb.jar to write ... . You cannot use to write to MySQL or MariaDB (as you cannot use PostgreSQL to write to MySQL). You can use Hibernate or EclipseLink as JPA implementations to write to MySQL, etc. as an alternative to using

EnumConstRef jakarta.persistence.LockModeType.PESSIMISTIC_WRITE

JPA Enum Constant in jakarta.persistence.LockModeType PESSIMISTIC_ WRITE Pessimistic write lock. Since: JPA 2.0

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

() I get an exception: com.objectdb.o._PersistenceException: Failed to write the value of field field ... on the first run. But after that I recieve the "Failed to write the value of field field testodb2

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

Exception in thread "main" [ObjectDB 2.6.3] javax.persistence.PersistenceException Failed to write ... (ZeusImport.java:45) Caused by: com.objectdb.o.UserException: Failed to write the value of field field ch

EnumConstRef jakarta.persistence.LockModeType.WRITE

JPA Enum Constant in jakarta.persistence.LockModeType WRITE Synonymous with OPTIMISTIC_FORCE_INCREMENT . OPTIMISTIC_FORCE_INCREMENT is preferred for new applications. Since: JPA 1.0

Failed to write to ObjectDB log file

to another path . Grant the ObjectDB process permission to write to that path. Disable logging by

WORM (Write once read many) support

WORM (Write once read many) support

Database Management Settings

and then to the database. This way, if the system crashes during a write to the database, the recovery file ... " or "false" ) specifies if physical writing is required before commit returns. sync=false is much faster in writing data to a database, but true might be safer in production. By default, the recovery

Apache License, Version 2.0, January 2004

otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean ... of Warranty . Unless required by applicable law or agreed to in writing , Licensor provides the Work ... writing , shall any Contributor be liable to You for damages, including any direct, indirect, special

Setting and Tuning of JPA Queries

a pessimistic WRITE lock on all the result objects:   List results = query. setLockMode ( LockModeType . PESSIMISTIC_ WRITE ) . getResultList (); Notice that when a query is executed

Database Replication and Clustering

/ Write operations. The other (slave) nodes in the cluster manage identical copies of the same database

ObjectDB License Agreement [ver. 2.0.5]

of this agreement will be binding, unless in writing and signed by an authorized representative of each party. 1

What are the main benefits of using ObjectDB?

. Less (and more simple) code to write , debug and test, as well as a much easier learning curve leads

ObjectDB - JPA Object Database for Java

- start writing more effective database code using Java classes and objects! Try an ObjectDB / JPA

Eclipse Public License - v 1.0

the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor

ObjectDB Object Database Features

Recovery from failure by using a  recovery file and double writing . Additional recovery layer

General Settings and Logging

to writing to the log file. The element Old log files are moved to an archive directory. The element

ObjectDB Website - Terms and Conditions of Use

a ObjectDB Software authorized representative has been notified orally or in writing of the possibility

Chapter 1 - Quick Tour

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

Database Explorer

is a descendant of itself in the tree). To open a new viewer window either write a query in the [Query

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: Caused by: javax.persistence.PersistenceException: com.objectdb.o.UserException

ODB Server tries to write a log file to a weird location

have permission to write to that directory and whole application fails. Sometimes it helped to run a doctor

Occasionally slow requests in load testing

the next build an option to disable this zero writing in order to see if it helps. If we disable ... .RandomAccessFile:writeBytes, which takes up to 10 seconds. I've also noticed a large IO write spike at the same ... that can cause large file writes ? I would estimate the size of actual data in the db file

Optimistic locking failure

= A + B + 20 | WRITE (B) version=2 value=20 A = A + B + 10 | WRITE (A) version=2 value=10 ...   Thanks. eurojet P. F. Martinez Please explain the test output: Sequential=true Lock= WRITE ... value=0 Thread[Thread-2,5,main] WRITE A1 version=2 value=10 Thread[Thread-3,5,main] READ  A1

Error 363 - Failed to read value of inverse relationship

: [ObjectDB 2.2.8_01] javax.persistence.PersistenceException Failed to write the value of field property edu ... : Failed to write the value of field property edu.um.fcsit.jpa.entity.Guest.phoneList using enhanced ... Failed to write the value of field field org.dyndns.fzoli.mill.server.model.entity.Player

EnumRef jakarta.persistence.LockModeType

. The lock mode types LockModeType.READ and LockModeType. WRITE are synonyms for OPTIMISTIC ... the PersistenceException . The lock modes LockModeType.PESSIMISTIC_READ , LockModeType.PESSIMISTIC_ WRITE ... . The semantics of requesting locks of type LockModeType.PESSIMISTIC_READ , LockModeType.PESSIMISTIC_ WRITE

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

:25:43 - MASTER instance stopped responding to write requests. All requests sent to the database ... (Unknown Source) The reading continued to work and there was nothing in the server DB logs. All write ... are executed and WRITE requests are rejected. Maybe even the high GC on the slave is the result

best practice for DB recovery

and add them to my persistence unit but being able to read and not write is a condition that can't last ... have two(or more) entity managers in my DAO layer and write all changes to both instances(may have IDs synchronization issues), if one of the instances is not available, I'll keep writing to the instance

Setting temp directory location in ObjectDB

to write to the parent directory. support Support can you please elaborate what exactly "Try running ObjectDB in a process with no permission to write to the parent directory". I did not undertand ... how to do this. And if write permission permission is blocked for the parent folder, won't ObjectDB locking method

OneToMany and cascade delete problem

to write the value of field field com.objectdb.test.bug.forum.T501$Store.offers using reflection ... ) Caused by: com.objectdb.error.UserException: Failed to write the value of field field com.objectdb.test ... .type.user.UserMember. write (UserMember.java:544) at com.objectdb.type.user.UserMemberList. write

Improvement in replication

do only few writes (mostly reads), but those writes are important for us - objects rating, profile modifications ... and all writes fails. I was thinking about special version of one master / one slave only cluster ... yet, and therefore, if the slave accepts write operations they may be based on a state, which is not the most up to date

using DbUnit with ObjectDb

doesn't support JDBC connections and the only way to load data is by using JPA or JDO, i.e. by writing ... with JAXB, so writing lists of entities to xml file should be easy - a generic mechanism to read / unmarshall those files into lists of entities for writing to database may be more ObjectDB / JPA centric

Which storage fits best to ObjectDB?

is reading/ writing the files. The tests are showing that the HW RAID5/6 of HDDs deliver comparable ... files, so in fact it means sequential reads/ writes . If it is tested on small files the speed is getting ... ObjectDB read/ write the DB files by large chunks and then it parses it within the RAM (so it would mean

use of Singleton into tomcat

hi all. i would write a class singleton that encapsulate the entitymanagerFACTORY    ... multiple servlet. but into the class singleton i would write a set of method for the operation ... for update, write . read , create Users it to be syncornized into signature or with the word syncornized

Replication Question

availability and fault tolerance? Unless the application is read only and no write , as long as ... ; So basically both read and write will always be going to the master and the load ... , not even read load) - Not for Read+ Write failover?   Thank you. Trianglehead Json Error Not

ObjectDB Clustering VS Hadoop Hbase

, in which WRITE requests are served by one master server and READ requests can be served by ... data is divided between nodes. All the servers handle WRITE requests and READ requests of data ... for one server and when there is a need for more than one server to handle WRITE requests. support

Database size is much larger than expected (x2)

to commit transaction: Failed to write the value of field field image.URI.baURI using reflection (error ... .objectdb.o.UserException: Failed to write the value of field field image.URI.baURI using reflection ... : Failed to write the value of field field image.URI.baURI using reflection at com.objectdb.o.MSG.d(MSG

Too many persistable types (>10) - exceeds evaluation limit

.entities.instance.ProjectSnapshot smuessemeier Stefan Müssemeier Maybe you are writing to a database ... of the writing . But the writing is ok. Everything is written correctly as far as I can tell. When I ... only one persistence unit and writing without the added ;drop in the connectionURL. Still the error occurs

Failover from Master to Slave

down the application will still be able to read from the slaves but writes will not be allowed ... cart because that would require a database write . If the master is down for even an hour ... marker so it decides to write to A. Well there you go .. you have a high probability of database

Pessimistic Lock Timeouts setting

.objectdb.o._LockTimeoutException: Write lock cannot be granted for a.b.c.d.EE#150. irrespective if I set ... , Caused by: com.objectdb.o._LockTimeoutException: Write lock cannot be granted for com.x.y.z ... haven't got an easily distributable test for replication, but It shouldn't take too long to write

EntityTransaction.commit() - JPA Method

JPA Method in jakarta.persistence.EntityTransaction void commit () Commit the current resource transaction, writing any unflushed changes to the database. Throws: IllegalStateException - if {@link #isActive()} is false RollbackException - if the commit fails Since: JPA 1.0

InterfaceRef jakarta.persistence.EntityTransaction

()} is true Since: JPA 1.0 void commit () Commit the current resource transaction, writing any unflushed

EnumConstRef jakarta.persistence.LockModeType.PESSIMISTIC_FORCE_INCREMENT

JPA Enum Constant in jakarta.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update. Since: JPA 2.0

Server out of memory exceptions

. The message size going into the queue is not large - around 4k at most. Each read/ write operation ... for each database) and 2 reader threads (1 for each database). Each thread should read or write 10 msgs ... might have actually replicated it now... The attached test (testObjectDbPipe) has 10 threads which write msgs

cannot delete objects after crash (see issue 2283)

of your production OS or disk requires special consideration (e.g. if synchronized writing by ObjectDB to the disk returns before the physical writing is completed and the data is still buffered by the OS / disk ... after writing and flushing the transaction updates to the recovery file (the database file

ArrayIndexOutOfBounds with Critera API and function call

-2.4.4.jar:] at com.objectdb.jpa.criteria.JpqlWriter. write (JpqlWriter.java:94) [objectdb-2.4.4.jar ... :] at com.objectdb.jpa.criteria.JpqlWriter. write (JpqlWriter.java:90) [objectdb-2.4.4.jar:] at com ... .jpa.criteria.JpqlWriter. write (JpqlWriter.java:94) [objectdb-2.4.4.jar:] at com.objectdb.jpa.criteria

Exception when the log file is full and no archive is defined

into when the limit is hit. What would be a preferred action? Stopping writing to the log? Ignoring the limit and continuing writing to same file? Or maybe just improving the error message to indicate that it is writing to a log archive directory that failed? support Support Agreed

ArrayIndexOutOfBoundsException on flush

which blew out the logs: Attempt to commit a transaction after failure in writing to database file 'F ... to commit a transaction after failure in writing to database file 'F:\calculationservice\objectdb\dbs ... .objectdb.o.UserException: Attempt to commit a transaction after failure in writing to database file 'F

docker documentation

( ) piped. write (13) piped.flush() sleep(100) piped.println( ) piped. write (13) piped.flush() sleep(100) piped.println( ) piped. write (13) piped.flush() } }   Now here's the strange bit, the license url