ObjectDB Database Search

101-150 of 200 results

OptimisticLockException

, which is that the optimistic lock exception fails repeatedly once the object is modified from another process. ie: process A modifies the object then process B modifies the object, then any ... off caching??) 2. do I understand correctly that if object x is modified and persisted by process B

Updating Entities

consists of Overview, Add, Modify , Delete. Overview uses a TabelView to display its content ... EntityManager employeeDB ? I know that paygradeDB is updated after I modify a value in ... Paygrades Modify a Paygrade Object Go to Manage Employees I will NOT see the change displayed in

Custom Classloader: Issues with the Enhancer Agent

this is because the Agent intercepts my call to defineClass(), makes the enhancement to the class and loads the modified ... is thrown. So my questions are: Can I detect if the Agent has already loaded the modified class so that I ... hierarchy? E.g. Can I delegate the class lookup to the agent's classloader to get the new modified

NontransactionalWrite error using Collections.sort .

persisted object.  Attempt to modify an object with no active transaction ... to modifi de object in DB, just sort it to show at the moment. someone can help me ?   thanks David ... when a managed entity object is modified and no transaction is active. Please follow the exception stack

Different behavior with persist() and queried instances?

) and afterwards modify the metaAttributes property within a transaction, however this is not reflected in ... Alexander Adam Looks like calling merge() *before* modifying the underlying list property does the job oh well.. as such I might need to modify my interfaces accordingly. Alex quasado Alexander Adam

Double persist of Entity field with Cascade.ALL

new and modified Chapters being persisted and merged accordingly. This works as expected on the Book ... . Burabari Burabari Kpai The following are modified for the working case where new Chapters are added ... would have double entry of same record. Burabari Burabari Kpai For completeness, attached is the modified sample

Updating existing persistence entries

)". I can commit the session afterwards and that's it. I mean I don't need to modify the object ... for managed objects . Therefore, if you modify a managed object within an active transaction the changes ... is selected). If a detached object is modified , it has to be merged (maybe merge is your missing method

Entity Update - Is the documentation up to date?

/update suggests should not work. First, I've been modifying managed entities from outside an active ... been modifying managed entities from outside an active transaction.  If I subsequently begin ... ) and assignment operations that do not modify anything will not make the object dirty

Search through collection for value using index

I have an entity that contains a java collection of a Long id of user entities that can modify it (many users can modify it).  I would like to be able to search for all entities that can be modified by a paticular user, since I will do this query often I would like to index it.  

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

() method modifies internal state of the object being persisted 3) ObjectDB picks up internal change 4 ... related to @EntityListeners (or @PreUpdate itself) that modifies a field on the base class ... ) line: 1 Again this could all be my fault as I' modifying the internal state of the object prior

Need help to analyse very high memory usage by objectdb (PRU, SEV, VAL[])

yet sure if the objects are created when executing queries, persisting new entities, or modifying ... them again. However, we can not exclude that existing objects have been modified over and over again. btc_es BTC EmbeddedSystems When a persistent object is modified the entire object content

How to use ObjectDB properly in spring boot application?

.createEntityManager(); try { em.getTransaction().begin(); // Operations that modify the database should come ... it, there two projects, I opened "complete" subfolder in intellijidea modified pom modified  Application.java

Optimization Question

). If you still want to try updating only the modified objects, maybe the new merge feature of ObjectDB 2.0 RC1 ... has been modified . Still, you will have to manage the object IDs in order to merge a graph of objects that use

EntityManager JPA or JDO impl and different behavior

can only be demonstrated in Spring you may try generating a simple test case by modifying the Spring GuestBook tutorial ... you can show it by modifying the above test. support Support If you can covert your sample project from

Schema Update: class hierarchy change

(UMR.java:603) ... 19 more   If you can see in the modified Code, i had tried to move the field ... . How can data be saved for modified class hierarchy? Actual it woks to move the attribute. The content

multiple LEFT JOINs do not work as expected

. Please try to modify it to demonstrate a different query that doesn't work as expected: import java.util ... ;    }     } } support Support Please see the modified test case below. I

alter table

. support Support I want to know how the command use the modified class (with @index ... how the command use the modified class (with @index), it has no knowledge about the .java or .class information

Dependency from enhanced classes to the objectDB library

, because then the class loader of the UI is modified . And when or where the changes would make undone? btc_es BTC ... have to modify the context class loader in this scenario, we hope that this approach could be a solution

Remove an entity which attributes were changed - OptimisticLockException

-11-09 under the forum task 'Remove a modified entity cause an optimistic lock exception'. Maybe ... a modified entity cause an optimistic lock exception"  indeed discusses a similar problem

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

Refreshing a dirty object causes permanent JDOOptimisticVerificationException

, with the intention of modifying it and committing it.             TestEntity ... a stress test where many threads are trying to modify the entity at the same time, but I found an edge

The server cannot start in CentOS

) and the objectdb.conf ( /$objectdb/objectdb.conf) are both working, aren't they? When I modified the former, I ... to a server from the client . support Support Hi, I believe the configuration has to been modified or

CriteriaQuery.orderBy(o) - JPA Method

has the highest precedence. Parameters: o - list of zero or more ordering expressions Return: the modified query Since: JPA 2.0

CriteriaQuery.having(restrictions) - JPA Method

: restrictions - zero or more restriction predicates Return: the modified query Since: JPA 2.0

CriteriaQuery.orderBy(o) - JPA Method

has the highest precedence. Parameters: o - zero or more ordering expressions Return: the modified query Since: JPA 2.0

Subquery.select(expression) - JPA Method

that is to be returned as the subquery result Return: the modified subquery Since: JPA 2.0

CriteriaQuery.multiselect(selectionList) - JPA Method

to be returned by the query Return: the modified query Throws: IllegalArgumentException

CriteriaQuery.multiselect(selections) - JPA Method

the query Return: the modified query Throws: IllegalArgumentException - if a selection item is not valid

CriteriaQuery.select(selection) - JPA Method

in the query result Return: the modified query Throws: IllegalArgumentException - if the selection

CriteriaQuery.having(restriction) - JPA Method

AbstractQuery method. Parameters: restriction - a simple or compound boolean expression Return: the modified query Since: JPA 2.0

Filename.odb$ Persisting Issue

time, stopping the program, and modifying code for extended time and all variations in between

Possible cause for "Enhancement of type ... is old and cannot be used"

ticket was getting an exception with the error message "Attempt to modify a primary key of a managed

Database is erased after deploying a new web application version

{ support Support I've added the listener class and modified my servlet class (which is a REST

Speeding up reporting queries with size() on list

Hi, I'm working on some reporting stuff in our application. One of few different reports should include activity on last modified objects. The query for now looks like this: select date(insp.lastModificationDate), insp.modifiedBy, insp.description.length(), insp.products.size(), insp.picture from

Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml was modified with: But after few benchmarks I don't really see any difference in performance. ODB

Enhancing a class causes it to not save changes.

of their persistent fields are modified directly, but cannot do that when the values are changed by reflection ... to use enhanced classes and modify objects using reflection you can let ObjectDB know when an object is modified and needs to be saved to the database by invoking:     JDOHelper

NoResultException: No matching results for a unique query

query" when modifying my already persisted entities within a transaction. I cannot replicate ... after modifying entities in a transaction. By default, modifications of entities during transaction ... ; modifying the flush mode . Which flush mode are using? support Support Hi, I didn't change it so I

Unexpected exception (Error 990) - Merge with no Transaction

. (Is this allowed? I am not trying to modify the object, just read data from it.) Here is a test case: package ... : Attempt to modify an object with no active transaction when NontransactionalWrite is disabled: com ... .IllegalArgumentException Attempt to modify an object with no active transaction when NontransactionalWrite is disabled

missing merger

/2 1980+103/2083 This ObjectNode object was last modified (according to your modified field) today ... the system? Is it possible that the errors were generated when these specific objects where modified

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

above, but instead of a modified embedded object we have an embedded collection. Build 2.6.1_02 should fix this issue. If the exceptions in your application are due to modifying a persistent collection

Can't open replicated database

only. This happens automatically if you try to access the replicated database with new or modified ... No immediate fix is currently planned. The workaround is to make sure that every new (or modified ) type

Errors after unexpected server shutdown

: com.agile.hummingbird.ObjectNode[ modified ] [2018-03-26 14:39:30 #1100 store] BTree Page: 18071876 ... was recovered from an unexpected shutdown. Unfortunately it seems that one of the indexes (ObjectNode. modified

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query:     TypedQuery query = em ... to the tips: Yes I noticed this when I started pushing things into the millions, and had already modified

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

since its creation (every page keeps information on the last transaction in which it was modified ). Is it possible ... which it was modified ). Is it possible that you had this corruption for 2 months, but it was found only now? for sure this is possible   hgzwicker Hans-Georg Zwicker

No Entity Class API

(and maybe also modifying ) data in the database without classes can be useful in some applications ... . Therefore, an API for accessing (and maybe also modifying ) data in the database without classes can be useful in some applications." zmirc Mircea Chirac

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

: com.objectdb.o._IllegalArgumentException: Attempt to modify a primary key of a managed object: com ... a generated primary key value an "Attempt to modify a primary key" exception is thrown due to a check

JQL-Update Queries fails with activated L2-Cache

has been modified by an UPDATE query. By using clear , you clear all cached objects from the EntityManager

combined index not used

.parentNode.classIdentifier = "(ME)" order by o.parentNode. modified desc database can be downloaded

ObjectDB 2.0.4

Added support for JTA and Java EE Containers ( issue #8 ). Fixed a bug in indexing entity objects. Fixed a bug in fixing broken references in ObjectDB Doctor. Fixed a bug in modifying enhanced detached embedded objects. Fixed a spring transformer (LoadTimeWeaver) problem. Fixed a class

ObjectDB 2.6.8

Added JPA XML validation schema files to Maven/JEE objectdb.jar. Added automatic release of pessimistic locks on client-server connection failure. Fixed an OptimisticLockException bug on commit after flushing a removed modified entity object. Fixed a  NullPointerExeption on new index building