Internal Website 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

javax.persistence.LockModeType.PESSIMISTIC_WRITE

JPA Enum Constant in javax.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

javax.persistence.LockModeType.WRITE

JPA Enum Constant in javax.persistence.LockModeType WRITE Synonymous with OPTIMISTIC_FORCE_INCREMENT . OPTIMISTIC_FORCE_IMCREMENT is to be 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.4]

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

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

javax.persistence.LockModeType

.OPTIMISTIC_FORCE_INCREMENT . The lock mode type values LockModeType.READ and LockModeType. WRITE are synonyms ... .PESSIMISTIC_ WRITE , and LockModeType.PESSIMISTIC_FORCE_INCREMENT are used to immediately obtain long ... , LockModeType.PESSIMISTIC_ WRITE , and LockModeType.PESSIMISTIC_FORCE_INCREMENT are the following

[ODB1] Chapter 5 - JDO Connections

of the changes are applied to the database is not acceptable. Before commit() starts writing ... database consistency, it is recommended that write caching be disabled - at least for the database ... transaction, a WRITE lock is obtained on that object by the PersistenceManager . Multiple READ locks

[ODB1] Chapter 6 - Persistent Objects

) When a JDOHelper.isDirty(obj) is true a WRITE lock is used and when it is false a READ lock is used ... action is taken by ObjectDB to update the object lock (for example from READ to WRITE ). Locks

[ODB1] Chapter 1 - About ObjectDB

such mapping makes it possible to write clean Java code, but still requires some familiarity ... of Java objects in a database, visually, without writing a single line of code. Many object databases

EntityTransaction.commit() - JPA Method

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

javax.persistence.EntityTransaction

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

javax.persistence.LockModeType.PESSIMISTIC_FORCE_INCREMENT

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

[ODB1] Chapter 8 - ObjectDB Server

a subdirectory my of the data directory. The element The element specifies a directory to which the server writes

[ODB1] Chapter 9 - ObjectDB Explorer

definition. You can select elements from the auto completion list when you write the query filter

[ODB1] Chapter 3 - Persistent Classes

only have to provide the JDO metadata declaration. Chapter 4 explains how to write the JDO metadata declaration

javax.jdo.identity.LongIdentity

of the key Since: JDO 1.0 void writeExternal (ObjectOutput out) Write this object. Write

IntIdentity.writeExternal(out) - JDO Method

JDO Method in javax.jdo.identity.IntIdentity void writeExternal (   ObjectOutput out ) Write this object. Write the superclass first. Parameters: out - the output Since: JDO 1.0

javax.jdo.identity.IntIdentity

Since: JDO 1.0 void writeExternal (ObjectOutput out) Write this object. Write the superclass

ObjectIdentity.writeExternal(out) - JDO Method

JDO Method in javax.jdo.identity.ObjectIdentity void writeExternal (   ObjectOutput out ) Write this object. Write the superclass first. Parameters: out - the output Since: JDO 1.0

LongIdentity.writeExternal(out) - JDO Method

JDO Method in javax.jdo.identity.LongIdentity void writeExternal (   ObjectOutput out ) Write this object. Write the superclass first. Parameters: out - the output Since: JDO 1.0

javax.jdo.identity.ObjectIdentity

void writeExternal (ObjectOutput out) Write this object. Write the superclass first. Parameters

javax.jdo.identity.ByteIdentity

: the key. Since: JDO 1.0 void writeExternal (ObjectOutput out) Write this object. Write

CharIdentity.writeExternal(out) - JDO Method

JDO Method in javax.jdo.identity.CharIdentity void writeExternal (   ObjectOutput out ) Write this object. Write the superclass first. Parameters: out - the output Since: JDO 1.0

ByteIdentity.writeExternal(out) - JDO Method

JDO Method in javax.jdo.identity.ByteIdentity void writeExternal (   ObjectOutput out ) Write this object. Write the superclass first. Parameters: out - the output Since: JDO 1.0

javax.jdo.identity.CharIdentity

writeExternal (ObjectOutput out) Write this object. Write the superclass first. Parameters

ShortIdentity.writeExternal(out) - JDO Method

JDO Method in javax.jdo.identity.ShortIdentity void writeExternal (   ObjectOutput out ) Write this object. Write the superclass first. Parameters: out - the output Since: JDO 1.0

javax.jdo.identity.ShortIdentity

form of the key Since: JDO 1.0 void writeExternal (ObjectOutput out) Write this object. Write

StringIdentity.writeExternal(out) - JDO Method

JDO Method in javax.jdo.identity.StringIdentity void writeExternal (   ObjectOutput out ) Write this object. Write the superclass first. Parameters: out - the output Since: JDO 1.0

javax.jdo.identity.StringIdentity

: the String form of the key Since: JDO 1.0 void writeExternal (ObjectOutput out) Write this object. Write the superclass first. Parameters: out - the output Since: JDO 1.0 Method inherited from class

javax.jdo.spi.PersistenceCapable

, and the StateManager approves the change, then the jdoFlags field will be reset to READ_ WRITE _OK

javax.jdo.identity.SingleFieldIdentity

;out) Write to the output stream. Parameters: out - the stream Since: JDO 1.0 Method inherited from class

PersistenceCapable.jdoReplaceStateManager(sm) - JDO Method

, and the StateManager approves the change, then the jdoFlags field will be reset to READ_ WRITE _OK. If the parameter