ObjectDB Database Search

151-200 of 200 results

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

How best to unbind all names?

My JDO application does inserts with binds, and then subsequently does bulk deletes using this code: pm.currentTransaction().begin(); Extent extent = pm.getExtent(ABC.class, true); Query q = pm ... (bookmarks). Instead of the above code, I could iterate over the Extent and delete the entities

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

Removing entity class

time ago and they were never really used. I deleted them from Java source code, but there are still in

How to resolve 404 errors with Eclipse/Maven Spring MVC

because there was only one project in it. I suppose deleting the class files in the bin directory

virtual servers and one file

the right format. You may delete it from your server. support Support No issues were found in the heap

Error occured during initialization of boot layer

-modular ( delete module-info) and included the objectdb.jar in the classpath. The program works now. Thanks for the help :) Sweetwater Marc

ObjectDB version 2.3 has been released

#453 ). Completed missing documentation (e.g. UPDATE & DELETE queries). Fixed memory leak issues

Database Files

.apply(em) will do stuff like persist, delete , etc.  I only have 1 instance of emf.   

Thanks for assistance

I apologize if this post is 'out of order'. If so, the moderators should feel free to delete it. I am sure that my recent questions have shown my incompetence with ObjectDB (although I have used many other SQL and non-SQL databases). Therefore, my questions must seem trivial. So often one sees

com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

the compiler back to 1.8, deleted module-info.java, and put objectdb on the classpath, the application

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

Negative snapshot user count exception

could be to store many large objects and then to delete them, creating more space and avoiding resizing

ObjectDB 2.2.5

Added support of navigation through collections  (as a JPQL extension). Added version display to the Server and Explorer About dialog boxes. Fixed an UPDATE/ DELETE query bug in client-server mode. Fixed an ArrayIndexOutOfBoundsException in retrieval of large objects. Fixed Explorer display

ObjectDB 2.3.0

to memory leak ( issue #453 ). Completed missing documentation (e.g. UPDATE & DELETE queries). Fixed

ObjectDB 2.8.8

Added initial support of Record entities. Implemented a new query method:  containsAnyKey . Improved field type error and internal error messages. Improved the Doctor output. Fixed a bug in using inner classes for query results. Fixed an error due to to an unused type referencing a deleted

ObjectDB 2.6.1

Added an option to disable temporary file deletion . Added support of using entity classes with missing dependent types. Added support of composite indexes with components of different lengths . Fixed a bug in reflection mode in detecting changes after flush ( issue #1602 ). Fixed