ObjectDB Database Search

101-150 of 180 results

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

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

Problem with distinct select, order by and equivalent alias/attribute path

query. Influencing the generation is as well very difficult since we even can't modify the query

OneToMany and cascade delete problem

. Anyway - I just modified example (attached to this post). After removing Product, Offer is still in

ObjectDB within a resource adapter module and Java EE Connector Architecture

https://stackoverflow.com/questions/33790875/how-to-dynamically- modifying -unitname-in

WORM (Write once read many) support

once they are written. Our questions is, can objectdb be modified to work on such a storage device, ie. hard drive

Internal exception when updating date filed (TemporalType.DATE)

the posting instructions . Here is your test case in that form. Try to modify it to produce the error

Is it possible to remove parent/child entities without refresh?

entities. In the following code fragment you can see a modified version of the testRemoveVariant1

Delete object from collection versus delete from JPQL

I'm a newbie, so this is a pretty fundamental question. I'm not sure if there is a bi-directional relationship between the objects in memory and ObjectDB.  I know I can modify the objects and use persist() to write them to the database.  But does running a JPQL update or delete alter

Compare old and new schema

Hello, I have an old database file with important data. Over time, I have modified some of the entity classes but did not keep track of the changes. Some fields may have been renamed or removed, some classes may have been renamed or changed package. Is there a way for me to check what "format

ObjectDB version 2.2 has been released

of modified ancestor classes. Fixed a bug in handling indexes in a new ancestor class. Fixed a query

Query filter comparing Dates

should also be set as a UTC pure date value. support Support I modified the test case, so it works

OptimisticLockException

on pessimistically tracked entity.   Modified conf file, and got the test case working perfectly.  

em.flush(); em.clear(); loosing data and not persisting managed objects

I'm having trouble with flush() and clear() in a loop inside a transaction not persisting modified objects to database. Sometimes it does other times it doesn't. Here is my Entity. import javax.persistence.Basic; import javax.persistence.Entity; import javax.persistence.Id; import javax

Insertion Speed Rate and Batch Load

. Attached a modified version of your TestObjectDB.java file that commits once per 10,000 entity

Fetching Collections Puzzle

unless i am adding, or modifying elements in the db)   By default JPA spec says that  

OutOfMemoryError on search after update on DB created with DB Doctor

may be and how we can avoid it. I would like this opportunity to suggest to you to modify DB Doctor to create a file

Undeployment of an remote Glassfish application locks objectdb log file

(NewEntity) with default values. Modify persistence.xml to contain: com.objectdb.jpa.Provider  

significant performance decrease

//@Index public Date modified ; @Index public String nodePath; public Integer nodeToProcess; @Index

can't get HashMap out of the database

embeddable objects. I've modified the test code  to be a bit closer to the actual code and I

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

@Access (AccessType.FIELD) public abstract class ModifierImpl extends DataTypeImpl implements Modifier

Tuning and making reliable for server

For production , sometimes we modify entities. We use this config on production for 128GB Ram server its too low ? with 48 Core How to increase performance more ? Also chatgpt suggested to use this for auto update entities but when i add it , it crashes. ObjectDB doesnt let these params :  

Null returned by Persistence.createEntityManagerFactory

to run this on an IBM Websphere server.  I modify the path on the createEntityManagerFactory

Changing Primary Key

I have a "Table" that currently has  @Id private String userId; @Id private long range; private String someOtherField; I need to add a @Id to someOtherField.  But when I add that, and query the table all the PK fields are null or 0.  What can I do to modify primary keys?  

How storage works?

Herve Ferreira If you update a complex object model - only modified entity objects are stored by

Multiple inputs not supported on WHERE ?

    @ Modifying     @Query("UPDATE LoginEntity u SET u.enabled = ?1 WHERE u

Attempt to remove a detached entity object (error 613)

has been modified ( one element removed ). And objectdb maybe tries to remove the object ... But i

pm.newObjectIdInstance returns null

'ish). Trying to modify as little as possible. I am having trouble with the following:(names

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

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

Enhancer modifies the names of persistent property  get and set methods by adding __odbHidden

ClassCastException thrown when running count query

Ralph Moser mosi0815 Ralph Moser The exception is in code that was modified in the last build 2.3.1_03

ObjectDB 2.6.5

of connections specified in configuration. Fixed optimistic lock exception on removing of a flushed modified

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

DBVectorStepBlockCollectionImpl was modified and then the transaction will be committed. em.getTransaction

ObjectDB 2.6.9

PersistenceUnitInfo. Fixed a bug in removing a modified flushed entity object.

ObjectDB 2.2.0

schema evolution of modified ancestor classes. Fixed a bug in handling indexes in a new ancestor

ObjectDB 2.3.1

. Fixed a Doctor and Replication regression (Type session exceeds timeout). Removed  Conflicting modifiers  validation check and error message.

ArrayIndexOutOfBoundsException: -1

several different versions of the same database page (representing pages that were modified by different

ObjectDB can't be activated

; } } support Support The original script had no output, so we slightly modified the code, maybe it helps

ObjectDB 2.7.0

(making enhancement unusable). Fixed an "Attempt to modify a primary key" bug when using

Read only hint for query

modify those entities - like listing entities, paging, logging, reporting. lwalkowski Lukasz Walkowski

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

EntityManager . This happens on a check whether the entity object has been modified by comparing

Removing of an entity removes also another entity type

context has been modified by an UPDATE query. Therefore, it is a good practice to use a separate

ArrayIndexOutOfBoundsException with enhanced Entity

, Attempting to modify a primary key of a managed object etc etc.). However It seems to happen