About Object Database

forum_thread

Password Protect Database File

Is there a way to encrypt the odb file so that if hackers somehow steal it they cannot access the data without some kind of password? I would imagine accessing the database from java could just have another connection parameter while accessing from explorer.jar/exe would need to prompt the user for a password for encrypted odb files. ... kind of password? I would imagine accessing the database from java could just have another connection parameter while accessing ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

Handling a case of searching an empty database

Hi, I have posted a question on Stack Overflow but there is limited support for ObjectDB on there, so I will post it here. It is a lot clearer on the page, if this is a problem though I can copy it to a post here.   Thanks in advance. ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

persisting object with long[][] arrays of array

Hi, I have an object I am trying to persist (java) - It has several fields of type long[][]. It is taking very long to persist and sometimes never finish - it hangs on getTransaction().commit(); Here is the object: ... Hi, I have an object I am trying to persist (java) - It has several fields of type long[][]. ... Persisting 100,000 small objects (arrays) to the database is expected to take much more time than persisting one large object of ...

 
forum_thread

Too many objects for this ObjectDB Edition

Hi, I have been encountering an error when my odb file is larger than 512kb "Too many objects for this ObjectDB Edition." I haven't been able to find any info about this online and was wondering if anyone has encountered a similar problem. I had been using an older version of ObjectDB but have switched to a newer version and am still getting the error. Any help would be much appreciated, Thanks. ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

CAP theorem and object DB

Can someone please explain ObjectDB falls into which category of CAP theorem ? C : Consistency, A: Availability , P : Partition Tolerance  Example:  CA ==> SQL Server, Oracle, Sybase, MySQL CP ==> MongoDB, HBase, Redis, MemCache  AP ==> Cassandra, CouchDB, DynamoDB is ObjectDB fall under CA category ? ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

database optimization

Hi, couple of questions regarding database optimization: 1) Noticed something odd with the level 2 cache configuration:    level2="0mb" -> 20 msec query    level2="2mb" -> 10 msec    level2="10mb" -> 40 msec Question: why is a larger level2 cache worse than no level2 cache, ie 10mb worse than 0mb? 2) (separate issue) I'm noticing that write queries are around 20-50x slower than read queries, on the same set of objects. ... Hi, couple of questions regarding database optimization: 1) Noticed something odd with the level 2 cache ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

impossible to drop a table with 50 million objects

when trying to execute in explorer (max heap size 1GByte) delete from LogEntry l it comes up with a Java heap error after 20 minutes of executing. How to empty such a table ?     ... that returns part of the LogEntry instances in the database. Alternatively you may try using the undocumented setting of ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

How to check if an entity exists in a Database without loading it?

Hi, I am trying to speed up some code - where i check if the entity exists in order to make a decision. In Java - It looks like this (pk - is the primary key of the entity): MyClass find = em.find(MyClass.class, pk); boolean exists = find != null; Is there a way to check the existence without loading the entity? Thanks   ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

The exception "Attempt to remove a detached entity object" have no information about the entity

Hello, the exception "Attempt to remove a detached entity object" have no information about the detached entity. It is very hard, especially if the involved entities uses cascading, to find the removed call for the detached entity.   It would be very helpful if you can add a few information to the Exception. Maybe: The class of the Entity and the id (Field annotated with @ID), or just the String representation of the entity. ... the exception "Attempt to remove a detached entity object" have no information about the detached entity. It is very hard, ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Why can't we persist an object with a field of type EnumMap in ObjectDB?

Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB? but it works fine for fields like = HashMap<EnumType,Double> Thanks EKK ... Hi, Is there a reason why we can't persist an object with a field of type EnumMap in ObjectDB? but it works fine for ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...