About in

111-120 of 200Refresh
Forum
14

"where in" query

Is it possible to run a query selecting values that exist in a provided list? e.g. something like: SELECT u FROM User m WHERE u.username IN ('test_user','anotheruser') I've tried various ... below). The only similar examples I can find in the docs involve a join query - but my list isn't in the database
Forum
14

In memory processing for ObjectDB

, but to take it to next level really we wanted to check whether is there any In memory mode available ... see in settings is query cache, is it only that query result sets are cached or I can actually have a all of my Objects in Cache ? We can run the embeeded mode for perfomance, or embeeded + in memory
Forum
14

Indexing a field results in internal Exception

.  Is there anything I can look for that might result in this exception? More details are required ... . If you are working in client-server mode, you should try to restart the server after schema change. After adding an index to an existing entity class with instances in the database, run the ObjectDB Doctor (in fix
Forum
14

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

Hi, Is it ok to put list or map of embeddable objects in entity? I mean, for example : @Entity ... ? In the examples, there is only situation where there is one single instance of embeddable class in ... >()) on an entity that had some Class_B instances in bList? Will they be deleted correctly from database
Forum
14

NullPointerException in ENH.g(ENH.java:401)

: Exception in thread "main" java.lang.NullPointerException at com.objectdb.o.ENH.g(ENH.java:401 ... collection of other entity classes. We use objectdb in embedded mode and this error seems to happen after a few ungraceful shutdowns of the database (e.g. quit the process without proper shutdown). Thanks in
Forum
14

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

I doubt this is an ObjectDB-enhancer problem, I am however reporting it in case anybody else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases a non-static logging variable holder can be used in an @Entity.     ObjectDB 2.6.3_04     Apache Log4j2
Forum
14

Query to search for common elements in two separate collections.

OF :someCollection Is something like this possible in the JPA spec? A possible efficient way ... code of every stored collection should be stored in an indexed field, possibly in a new entity or ... want to check if a collection contains an element that is also present in another collection. Right
Forum
14

Reading 1.x odb files in ObjectDB 2.x without upgrading

Hi, We have a problem in the backward compatibilty in our software as once we have migrated object db odb file from version 1.x to 2.x, user is unable to open the odb files in the application which is having object db 1.x installed. Is there any way to read odb files from 1.x in object db 2.x
Forum
14

What algorithm in find()

a linear complexity, i.e. O(n). So what algorithm in find()? Can it improved to O(log(n)) complexity ... this forum thread that might be relevant.   I use your codes to commit, the time cost in the attachment shows a O(n) complexity. Why? The cost of insertion is subjected to the number of objects in database
Forum
14

'DROP TABLE' in ODB?

Let's say I no longer need some entity in my project and after deleting all the objects of this type in database I want to remove this type from schema. How can I do this? Is there something like SQL 'drop table' in ODB? This is currently not supported. As far as I understand the main effect