ObjectDB Database Search

151-200 of 200 results

Performance and memory usage of queries

Hello, we can't understand why the performance of queries is not the best and the execution requires so much memory. In the implementation of our UnitTests we have used " DELETE FROM Object" to delete the database. That did not work because we often get an "out of memory" exception

Objectdb Doctor

Hi, I have deleted an instance of ClassA . However, if I try to access ClassB , which has a field of type ClassA , ClassB.classA , then, rather than getting a null pointer for classB.classA , I ... are removed/ deleted from the databases - it is the application responsibility to clear any references

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

; em.createQuery(" delete from Street s").executeUpdate();         em.createQuery(" delete from Location l").executeUpdate();        

Database(*.odb) file size on disk

Hello, we have questions about the file size of ObjectDB database on disk. Can you tell us something about how the deleting of entities affects the size of *.odb files on disk? -Will the released ... ; We have created a small test, in which we create and delete entities. It looks like that the released memory

Maintaining referential integrity

, it is deleted from the database, no matter if it's referenced by an instance of Employee. I tried to use ... integrity and it is the application responsibility to avoid such deletion . The ObjectDB Doctor

Undeployment of an remote Glassfish application locks objectdb log file

is still there. If you try to manually delete the folder, you will get an "Folder in use" error message. Because the "odbxxxxxx.log" file is in use by an java process. If I restart Glassfish, I can delete the folder

Shrinking Database Files

file never shrinks when large number of objects are deleted and the only way to reclaim that space ... some minor helpful context to propose an answer.) CBE CBE ObjectDB reuses space of deleted objects

Dirty checking

, Deleted , and Changed. That is a simple example, more complex views are composed of data from ... of the Company and User entity classes. Next a request comes in which deletes a company. So we need

InternalException when reading a HashMap

in repair mode. It does not helped unfortunatelly. What helped was deleting the entity completely in explorer including all it's instances ( deleting only instances did not helped) But that way

odb file size doesn't shrink

Hello, why delete from ... doesnt modify size of odb? Even in in embedded mode, and in server mode i use recovery, not recording mode. mastervoland Vladimir Sadovnikov When objects are deleted from the database their space is marked as unused and becomes available for future objects. The size

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

= OdbError631.class.getSimpleName() + ".odb";         new File(dbName). delete ();         new File(dbName + "$"). delete ();      

Replication error on slave restart

. You should be able to delete old recording files unless they are needed for slave servers ... . And sometimes I use " DELETE lvl FROM level lvl" to reassemble level data (it sometimes has some

Recovery file does not match db file

delete it and restart the database server. Version 2.3.1 is nearly one year old - you should upgrade ... bytes). confirmed that problem is resolved when the recovery files are deleted , does'nt seem to be any

Database Inconsistency or corruption

ObjectValue are just deleted from the database. If I had detailled traces of the EntityManager or of ObjectDB, I could identified when the delete operation is executed! There is still something I don't

orphanRemoval = true not working when CascadeType.REMOVE is disabled

= CascadeType.REMOVE) Address entities used Employee (id=1) deleted , but Address (name_2) using other Employee (id=2) deleted too: [Address{name='name_1'}, Address{name='name_2'}, Address{name='name_3

com.objectdb.o.UserException: Ambiguous entity name

. How can I remove this embeddable class without deleting my database or deleting the entity

massive performance issues

with the deleting of indexes and mixed index/statistics creating what can be seen in the log) - the behaviour ... with the deleting of indexes and mixed index/statistics creating what can be seen in the log) The log file indicates

One transaction or two?

If I have a large number of objects to delete and then add to a PersistenceManager is it more efficient to do everything in one transaction or two? Currently my code looks like ... (); } } Should I separate the deletes and adds into separate transactions? I think I remember reading

Working with a cleared cache

. Is there something else I can do to the toDelete collection to get it to delete properly if I have cleared ... (); // Query the database for all of the tracks to delete String jdoql = getQueryString(deleteCollection

Is it ok to put list or map of embeddable objects in entity ?

ArrayList ()) on an entity that had some Class_B instances in bList? Will they be deleted correctly from ... - every time the entity object is stored previous content is automatically deleted . To see serialzable

How to move @Embedable collection to a dedicated entity class?

to manage them) and it consumes too much memory and cpu.  2. How should delete all children ... to directly delete children list?   Thanks in advance abdullaharslan abdullah arslan There is some

Optimistic Lock Exception With No Concurrency

that suppose to delete item/s in my database , I often get the  OptimisticLockException and I can't ... - only me. Usually, running the same test a few more times (using http delete request) eventually works

Time Sequence Object Command DB

general) are create object, change object (fields), delete object, and object-method execution commands ... . On restore - this cache will be deleted and a new state will be calculated by running the relevant

Removing objects where ManyToMany relationships exist

responsibility to prevent broken references. When an OtherEntity object is deleted the application

Filename.odb$ Persisting Issue

for all of those. So i'm still a bit confused on why this file lingers and why I can't delete it without waiting

Database is erased after deploying a new web application version

java I assume that if I'll back up the .odb file, delete it and then restore it will fix the issue

Tutorial issue

database. support Support Looking through the code, there is no other 'point' declared. I deleted the db

Double persist of Entity field with Cascade.ALL

server because Netbeans kept deleting my database each time I deployed with stand-alone mode

Optimistic locking: prevent version increment on entity collection attribute

the collection and not delete any of the Readings from the DB. Also, refreshing or reading

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

indicates that the database is not corrupted. The two missing objects are probably the result of deleting

Problem with byte arrays in JDO - internal exception

.ObjectdbTest.main(ObjectdbTest.java:42) sjzlondon Steve Zara There was a bug in handling JDO delete

EntityManager refresh problem

;  odbFile. delete ();         EntityManagerFactory emf

Need help to make this test work and define proper annotations for entities Lists

;  new File("objectdb:$objectdb/db/test3.tmp"). delete ();        

List of Enum Values in an entity

Hello, I deleted the database a few times, so there are no Guests from before I added the list

NullPointerException in __odbGetNumMember

Hi, When deleting an entity "Mitglied" - everything works fine. Trying to delete another one (in a separate transaction) always causes a NullPointer Exception in __odbGetNumMember line 1 of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in

File lock exception on odb$

and the os allowed us to delete the files in question without any problem. In this case we weren't ... ? support Support It was repeatable at the time but we ended up deleting the odb$ to get the app started

Use temporary files to enable very large transactions

? What combination of DELETE / INSERT / UPDATE operations are in that huge transaction? Can we assume ... ; What combination of DELETE / INSERT / UPDATE operations are in that huge transaction? Possible

Referential Integrity

Currently ObjectDB doesn't prevent deletion of entity objects that are in use and referenced by other entity objects, and it is the application responsibility to avoid such deletion . During development and testing it is recommended to use the ObjectDB Doctor to verify

Inverse OneToMany Mapping and EmbeddedId

) . delete ( ) ;          new File ( dbName + "$" ) . delete ( ) ;  

again merger missing logs + objectdb exception

) - some of these references are broken when we delete objects - there is a mechanism in our application ... on deleting are very high. is there a problem to have this kind of broken references ? hgzwicker Hans-Georg

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

to explicitly define the classes, in the schema config (objectdb.config), that should be deleted .   In ... . 1) How can we delete a whole class? 2) What happens when we open the DB but not all entity classes

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

. It may be possible to improve the Doctor in a way that these two objects will be deleted (not fixed ... . Sometimes everything is just fine. And just now I got (after deleting the database file and re-running the application

NullPointer when accessing entity field

: for single read/write/update/ delete : - we create new EntityManager, do the operation in transaction ... (if not exists), do the operations using EM in ThreadLocal, on batch end we commit transaction, delete from

Schema-Update: Rename superclass and remove one subclass

.getResultList(JpaQuery.java:719) at schemaupdate. delete .UpdateDB.main(UpdateDB.java:32) Exception in thread ... ) at schemaupdate. delete .UpdateDB.main(UpdateDB.java:32) btc_es BTC EmbeddedSystems Thank

Monitoring and Performance counters

informations about how DB is doing. It would be nice to monitor: - inserts/s, updates/s, deletes /s, reads/s - total inserts, update, deletes , reads - I/O operations/s - caches current usage - uptime

[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById

when all the database records had been deleted in a successful transaction immediately prior ... just after deleting all the objects from the database. The following test program tries to reproduce

Query fails with failed to read

do an object delete via Explorer (but this is not a usual case, we only cleaned up a bit ... where we had this exception we did do an object delete via Explorer (but this is not a usual case, we only cleaned

com.objectdb.o.InternalException NPE

navigation through a broken reference (probably a reference to a deleted object) during query execution

ObjectDB 2.8.7_03

Fixed an exception due to to an unused type referencing a deleted type.

Eager load Map

- the map is loaded and its contents are printed. On the second run (without deleting or clearing