Internal Website Search

51-100 of 200 results

Not able to update records

Hi,   I am tring to update the simple object by using Update query by i am getting following exception [ObjectDB 2.4.4_15] javax.persistence.TransactionRequiredException Attempt to run update ... (UserCredential trip, String sessionID){   StringBuffer sqlQuery = new StringBuffer(" UPDATE

How to disable Transparent Update.

How to disable Transparent Update . I have done 2 task in a single transaction. 1. Find a entity by a em.find(Class cls,Object o) and change some fields.(not updating ) 2. Persist a new entity. But i found the in 1st case the changed value was updated . I have attached the sample program

OutOfMemoryError on search after update on DB created with DB Doctor

when searching and updating . 3. We run DB Doctor in recovery mode to generate a recovered DB file. No schema ... and all appears to be fine. 6. Do an update , any update to any record and all appears to be fine. 7. Do a search after the update , any search and CPU use shoots up to 100% use, memory use shoots up and eventually

Entity Update - Is the documentation up to date?

/ update suggests should not work. First, I've been modifying managed entities from outside an active ... is to update entities within an active transaction, or update entities outside the transaction ... because of another change, the array update will also be applied to database on transaction commit. support

Unable to execute update query

Hello! I'm trying to do an update query via the explorer to set a new field value for around 400k objects. UPDATE Position p SET p.originalData = null This exception raises when I try ... an update query, but the cause is unclear, and according to your report that specific temporary file

unable to update table in slave server database

;when master server is down ,in slave server during update operation in table getting below issues. Failed ... (ObjDBem.java:75)         at code.db.jpa.oodb.ObjDBem. Update (ObjDBem ... for this is that the synchronization is always in one direction, i.e. the slave is updated by the master, updating

Massive schema update

the shema update ? Thanks in advance. Best Regars, Pablo. Pablo Berra Pablo Berra The effect on performance of schema update (including using the configuration element) is minimal. After an old object is updated and stored in the database again it would not need conversion in future retrieval

persists and update together ?

UPDATE c=VALUES(a)+VALUES(b);   This query , inserts data or updates if its already available ... available then update if its available, if not add new object to db.   This will make more cycle ... , if its available  just update the object. Without calling find , can we do this ?   kadirbasol Kadir

Update entity without first opening a transaction

Hi everyone, I want to update an entity in my program without having to open a transaction ... should be updated immediately. How can I get this done? joelcraenhals Joël Craenhals JPA requires using transactions for updating the content of a database. But if you use Java EE or Spring, the container may manage the transactions automatically. support Support

Schema update: package, class and field

first processed the "defined" schema update and then the "automatic" schema update or ... also in future versions, since there are no plans to rewrite the schema update mechanism (which generally

How to enable and disable auto schema update?

Hello, Can I enable and disable the auto schema update ? In some cases if multiple applications ... : Instate of updating the schema with old library db should throw some error and data should not corrupt ... Maharana Hi Any update on this? the above command is not working for me. Manoj Manoj Kumar Maharana  

Schema Update large refactoring

to do an automatic schema update of our database using the objectdb.conf file. The old package structure looks like ... , if it is possible to perform some sort of wildcard schema update , instead of specifying all the thousands ... , if it is possible to perform some sort of wildcard schema update Wildcards are not supported.  

Version 2.5.6 enhancement problem solved by updating to version 2.5.7_03

After updating some of my code to java 8, enhancement threw "unexpected" exceptions from ... have been related to the java 8 update . In any event, my enhancement problem went away when I updated  ObjectDB from 2.5.6.x to 2.5.7_03. Maybe this will save someone a bit

JPQL: Update fails using external object param

for an UPDATE query: UPDATE Book b set b.title="aaaa" where b.language.language="en" It returns the following ... JPQL UPDATE queries. A better error message should be produced by ObjectDB. See also this forum thread .   support Support

selective update does not work

we try to update a single attribute of a number of objects using: update Action set transferred = 1 where objectsInCharge.nodePath = '/(MA)ENTRYLEVEL-1' it returns:   Query Execution Error ===================== null   in the docs it is written to use something like: UPDATE Country SET population = population * 11 / 10 WHERE c.population a

Significant I/O costs during batch update or insert data.

Our application has some complex entities. We do batch update (merge detached entity) every 2 minutes. We find the period significant IO costs these days, and disappeared when turn off the batch updating . 1.ObjectDB is in embedded mode. 2.ObjectDB version is 2.3.7 3.Database file size is nearly

Auto Date for Creation and Update

Hi, is there a way with objectdb to use annotations so that - automatically - the creation Date gets   updated   once only and the change Date on each change ... ? Kind regards, Thomas       tlehmann Thomas Lehmann You may be able to update

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

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

Internal exception when updating date filed (TemporalType.DATE)

Hello! ObjectDB version 2.5.3_02. I get internal exception when commiting update Date field (javax.persistence.TemporalType.DATE). [ObjectDB 2.5.3_02] javax.persistence.RollbackException Failed to commit transaction: (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290

Schema Update: class hierarchy change

build 2.6.3_02 that should fix this issue. support Support Thanks for the Update . Now it works

schema update procedure

Is there a specific procedure that we should follow when making schema updates ? I have often found that it takes several restarts of the the server to complete the change. The issue is that there may be changes in many places. Each change appears to be applied as the class is first encountered

Indexes broken after schema update.

Anyone else noticed this? I updated an entity Object with some new fields, restarted the database to pick up the new schema and now none of the indexes work, except the @Id. I can query by any field that is not indexed on the existing Object but as soon as I try and query against a field

Update is ignored by ObjectDB

Hi! Sorry for my bad english skills. When I execute fulfilOrder, only Order entity is updated in the database, and User entity remains modified only in code, even if I go: user = smdb.find(User.class, user.id); In this source highlighted lines modifying entity, but not the database. @Stateless

Schema-Update: Rename superclass and remove one subclass

Schema-Update: Rename superclass and remove one subclass

Unable to update a OneToMany Set

Unable to update a OneToMany Set

NPE after an @embedded obj is updated for a detached entity

NPE after an @embedded obj is updated for a detached entity

Bidirectional OneToMany is slow on updated items

Bidirectional OneToMany is slow on updated items

Is there an update on running ObjectDB purely in-memory?

Is there an update on running ObjectDB purely in-memory?

Exception after update of indices of Entity class

Exception after update of indices of Entity class

Best practice: Database update/migration of embedded databases in products

Best practice: Database update/migration of embedded databases in products

A few entities loss after update to 2.3.7_08!

A few entities loss after update to 2.3.7_08!

Update query bug

Some code. Problem in UPDATE query. TypedQuery query = (TypedQuery ) em.createQuery("SELECT t FROM ... ) attributeValue); list.add(temp); TypedQuery query2 = (TypedQuery ) em.createQuery(" UPDATE Person p SET p ... This UPDATE query is invalid because JPQL UPDATE queries are limited to setting values not

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

ObjectDB BIRT Driver Update

is fixed for all 2.x versions. However, since the client-server protocol is occasionally being updated ... if there is no match. There is a report of an exception on attempt to update the ObjectDB BIRT plugin in ... ObjectDB server versions, and maybe also help with updating the plugin in an existing Eclipse workspace

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

with our update concept, because it would be a very big effort to recognize data of plugins in ... classes.   We appreciate the other features of the automatic schema update very much. btc_es BTC ... more limitations like this.   UPDATE : The described scenario works only with enhanced entities

boolean field flips after schema update (in class) of another field

updated the ObjectDB version once or twice. itsme Martin Petzold That mentioned issue does not ... . support Support Any updates regarding this issue? Did it happen again? Have you switched to version 2.8 ... or testing environment. itsme Martin Petzold Thank you for the update . No argue

selective update not working

we try to optimize for our queries and tried a selective update , but in explorer it just shows query execution error:   UPDATE ObjectNode o SET o.state = 5 where o.classIdentifier = '(MA ... ), which is not allowed in UPDATE queries. See this stackoverflow thread for a more detailed explanation. support Support

Collection update does not increase entity version and is not persisted

increase and the updated event is not stored in the database (retrieve the event shows ... () { if (attachments == null) attachments = new ArrayList (); return attachments; } and update  

JPQL Update & Delete (JPA 1.0)

JPQL (Java Persistence Query Language) supports updating and deleting database objects by queries. Currently ObjectDB supports only JPQL SELECT (retrieval) queries. Delete queries are supported ... one of the next builds. support Support Implementation of both DELETE and UPDATE queries was added in build 2.2.3_03. support Support

Indexes broken after schema update

was updated , etc.).   support Support I'll dig up the change revision for the entity so I can work

javax.persistence.StoredProcedureQuery

the most general case (multiple result sets and/or update counts, possibly also in combination ... , and false if it is an update count or there are no results other than through INOUT and OUT parameters ... the pending result if it is an update count. The getUpdateCount method will return either the update count

Deadlock on Schema Update during Multithreading activity

Deadlock on Schema Update during Multithreading activity

Schema-Update: Rename superclass and remove one subclass

Schema-Update: Rename superclass and remove one subclass

javax.persistence.LockModeType

of type LockModeType.OPTIMISTIC_FORCE_INCREMENT on a versioned object, will also force an update ... serialization among transactions attempting to update the entity data. A lock with LockModeType ... and there is a high likelihood of deadlock or update failure among concurrent updating transactions

javax.persistence.Query

. Public Methods int executeUpdate () Execute an update or delete statement. Return: the number of entities updated or deleted Throws: IllegalStateException - if called for a Java Persistence query ... UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds the query timeout

javax.persistence.TypedQuery

() Execute an update or delete statement. Return: the number of entities updated or deleted Throws ... : IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement ... of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or