ObjectDB Database Search

1-50 of 65 results

Multiple Collection Fields not update correctly

. But when updating (merging existing record) somehow the rotation overrides the position. I

Getting Unexpected internal exception when updating entity in MEM db

.java:307) at org.vn.radius.cc.server.db.RtDB. Update (RtDB.java:101) ... 10 more Caused by: java.lang

Update Entity references if we change the type of an entity

will be committed. So after the database update your application can be used with this option

Schema-Update: Rename superclass and remove one subclass

Schema-Update: Rename superclass and remove one subclass

jakarta.persistence.criteria.CriteriaBuilder.createCriteriaUpdate(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaUpdate createCriteriaUpdate (    Class targetEntity ) Create a CriteriaUpdate query object to perform a bulk update operation. Parameters: targetEntity - target type for update operation Returns: the query object. Since: Jakarta Persistence (JPA) 2.1

SELECT clause (JPQL / Criteria API)

, including transparent navigation to other database objects, transparent update detection , support ... to update and delete, which require managed entities. Managed entities can, however, be returned from ... of managed entities (for example, transparent navigation and transparent update detection

Pessimistic Lock Timeouts setting

.   My situation is where many clients from 1 company are accessing the same counter when bulk ... on stale updates . Willks William Support of pessimistic lock timeout setting ( javax.persistence ... to update object com.x.y.z.ProductCodeTracking:1 - locked by another owner (error 672) And finally

Database Management Settings

can be used for recurring queries with different arguments and are not affected by most database updates , except for schema updates . The element The drop attribute of the element specifies a comma

JPA Lifecycle Events

is updated in the database (during a commit or flush operation). @PreRemove : Invoked when an entity

jakarta.persistence.EntityManager

that there is no explicit " update " operation; since an entity is a managed object, modifications ... ., for update or delete. If the query is not an update or delete query, query execution will result in ... for executing a criteria update query. Parameters: updateQuery - a criteria update query object Returns

jakarta.persistence.criteria.CriteriaBuilder.createCriteriaDelete(Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaDelete createCriteriaDelete (    Class targetEntity ) Create a CriteriaDelete query object to perform a bulk delete operation. Parameters: targetEntity - target type for delete operation Returns: the query object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.LockModeType

of type LockModeType.OPTIMISTIC_FORCE_INCREMENT on a versioned object, will also force an update ... attempting to update the entity data. A lock with LockModeType.PESSIMISTIC_READ can be used to query ... update failure among concurrent updating transactions. The persistence implementation must support

JQL-Update Queries fails with activated L2-Cache

When using JQL- Update Queries it is basically not working without calling entityManager.clear ... a container the updated Entities. Scenario 1 : Disabled L2 Cache, updating elements using UPDATE ... database - Actual result: No changes are visble. Scenario 2 : Disabled L2 Cache, updating elements

unclear syntax for update query

the syntax for selective update is unclear as the syntax in the documentation seems to be wrong. Query Update Action Set transferred = 0 where a.objectsInCharge.nodePath like "/(PR)W4455NS01 ... ===================== Unexpected query token 'a' Update Action Set transferred = 0 where == a

UPDATE statemen crash when i put the WHERE clause.

Hello, i have a problem with a UPDATE statement. When i run the code without WHERE clause the cod ... ().begin() ; updateEm.createQuery( " update Record as n set n.lab_points=:points where n.student.nume=:nume ... this update query is not supported, but a better error message is required. If you can post the full stack

jakarta.persistence.ForeignKey

: FOREIGN KEY ( {, } ... ) REFERENCES [ ( {, } ... ) ] [ ON UPDATE ] [ ON DELETE ... will generate foreign key constraints whose update and delete actions it determines most appropriate ... element is not specified, the provider will generate a constraint whose update and delete actions

jakarta.persistence.FlushModeType

TypedQuery object, the persistence provider is responsible for ensuring that all updates to the state ... this by flushing updates to those entities to the database or by some other means. On the other hand, if COMMIT is set, the effect of updates made to entities in the persistence context on queries

Deadlock on Schema Update during Multithreading activity

Deadlock on Schema Update during Multithreading activity

jakarta.persistence.JoinColumn

provider. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true

jakarta.persistence.MapKeyColumn

boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by

jakarta.persistence.MapKeyJoinColumn

provider. Default: true Since: Jakarta Persistence (JPA) 1.0 boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default: true

jakarta.persistence.ManyToOne

= false) @JoinColumn(name = "CUST_ID", nullable = false, updatable = false) public Customer

Problem on JPA Merge Entity.

). The statement update don't throw exception. And when i try to reload statement the value i have set before ... update . The statement's property is typed by a class that is a superclass of the newSingleValue ... a new component, save new component, assign component to statement and update statement. Works

Not releasing locked MST object

update (e.g. a new type is found) and automatic index rebuilding (e.g. a new index is found or indexes require rebuilding due to schema change). As a workaround, try disabling index rebuilding ( update ) and see if it helps. Later (after the schema update was processed) you should enable it again. Let

Optimistic locking: prevent version increment on entity collection attribute

the version. Otherwise the version will be updated , and currently you cannot disable this update . Could you please explain the reason for avoiding this object version update ? support Support Thank ... , it makes sense for the version of the parent entity to be updated because order lines are an intrinsic

jakarta.persistence.Persistence.PERSISTENCE_PROVIDER

.spi.PersistenceProvider" or remove PERSISTENCE_PROVIDER field and also update TCK signature tests. Since: Jakarta Persistence (JPA) 1.0

Incremental online backup

create a whole new copy of the DB, but " updates " an existing backup? This behavior would make ... is the incremental backup would not just update and replace the previous backup, but keep the diff from ... would not just update and replace the previous backup, but keep the diff from the previous backup

[ODB1] Chapter 6 - Persistent Objects

is already in the database, the new name is assigned to it but its content is only updated if it has changed ... . When the transaction is committed, the content of that object in the database is physically updated : pm ... ObjectDB to update the object lock (for example from READ to WRITE). Locks are released

Removing objects where ManyToMany relationships exist

because the non owner side (the mapped by side) is updated automatically. support Support Thank ... are usually slower. On update - they may be slightly faster, mainly if they are very big. Notice

ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)

the problem (thanks to good old AI :)). Updated bug report attached.  ObjectDB throws a  ... Evolution  - for automatic schema evolution. Schema Update  - for migrations that involve

How to Use a SF with extended Persistence Context?

GuestUpdater and use its update (String name) method instead of the persist (String name) method ... for the guest in the DB. if it finds one it updater his date to the current date. if not, it stores a new

Activation Issue

the activation key in objectdb.conf). I tried upgrading to 2.3.7_02 and updating objectdb.conf ... a different active MAC address. Thank you for the update . support Support I've had problems

Failed to commit transaction: Attempt to commit a rollback only transaction

locking is off dmoshal David Moshal update 1: problem persists if optimistic locking set to true in config file update 2: problem goes away with this check:         

Mismatch client-server protocol prefix

. That's all. Basically this also updated all the Spring libraries to a newer version and maybe the tomcat ... , thanks for updating . The "Attempt to reuse an existing primary key value" exception is thrown

Migration problem

(columnDefinition = "timestamp default '2020-04-10 20:47:05.967394'", updatable = false) protected LocalDateTime createdDate; @CreatedBy @Column( updatable = false) protected Integer createSicil

LifeCycle Event with Embeddable classes

() { modifyDate = new Timestamp(System.currentTimeMillis()); }} When i update oder create Entity Foo AND Bar

Spring + Maven + persitence.xml

the server on port 6136. Did not figured out how to create an empty db! Then I updated persistence.xml like

Java 8 Enhancer Problem

.merge(EMImpl.java:518) Inserting new objects works. Also merging ones created after the update to 2.5

Object belongs to another EntityManager - ERROR

Hi, From time to time we are getting following error in our project when trying to insert/ update a record in database [ObjectDB 2.4.6_13] javax.persistence.RollbackException 10:29:14,880 ERROR [stderr] (http--10.23.3.98-8081-5) Failed to commit transaction: Object 'pbdmodel.impl.OrgJedinicaImpl#8

Guestbook Tutorial (Eclipse/Glassfish)

. support Support Once I updated the persistence.xml with a different database location everything worked

ObjectDB 1.0 Manual

and transactions in JDO. Chapter 6 - Persistent Objects Shows how to store, retrieve, update

Unexpected exception (Error 990) com.objectdb.o.InternalException

;     System.gc();         // Update ... ; em.getTransaction().begin();         embeddable. update ();   ... ;  void update () {             x++;  

retrieval again and again started

If there are no more retrieval errors it is excellent news. Thank you for the update . support Support update ... then we can close this issue. It can be re-opened if something changes. Thank you for the update . support ... -Georg Zwicker Thank you for the update . Note that posts #1 to #7 are about the "SectionClassifier

Can't open replicated database

for a query (just read, no update ) but it fails with the error below. The code I'm using is (user & password ... is: [ObjectDB 2.2.8] javax.persistence.PersistenceException Attempt to update types in read ... to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.SHN.ab(SHN

ArrayIndexOutOfBoundsException on flush

to managing large objects. Do you use update queries? Update queries are new and maybe they do not ... out the build 08 being the cause - i will reapply this update as the same problem seems to occur...) felixobjectdb Richard Szurgot I updated to 2.3.3 and get the same errors as above. The entity referred

new objects not available in mappedBy associations

This seems to be the normal behavior - according to JPA the application has to update both sides in order to have a synchronized bi-directional relationship. In practice, however, the mapped side will be updated ... object after the transaction is committed (or after the update and before commit, if your EntityManager

ObjectDB 2.5.1

FETCH to act as LEFT JOIN in path expressions. Updated the PDF manual. Fixed a possible deadlock on Schema Update during Multithreading activity ( issue #1139 ). Fixed a bug in loading mapped (inverse

Best practice for history tracking

the update operation, clone the object, update the old one (if end field is used) and save the clone

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

condition of running a query in a transaction with uncommitted flushed updates , where these flushed updates

Adding objectdb-jee.jar to the maven repository

on ObjectDB website have been updated accordingly. support Support