About Entity

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. #1 2014-08-14 20:50 Is there a way to encrypt the odb file so that if hackers somehow steal it they cannot access the data without so ...

 
forum_thread

Opensource ObjectDB

I know you have answered this question some years ago, but I think about the databases that have recently "triumphed" like MySQL, MongoDB or SQLite and they are free databases. Also in the Java world we have the example of Hibernate (ORM) and Apache Hadoop (framework for Big Data). ... Would be great if that 10 entity class limit is raised, even by a bit :P ...

 
issue

Enhanced classes problem

Hell, we have problem with the OEM enhancement licencing. When we used runtime licencing using machine activation code, everything works fine. But when we enhanced our classes with OEM licence, following errors occurs: ... reference value of field field eu.ysoft.safeq.core.cache.entity.CacheableJobStat.jais using enhanced method at ... eu.ysoft.safeq.core.cache.entity.CacheableJobStat.__odbGet_jobId(CacheableJobStat.java:1) at eu.ysoft.safeq.core.cache.entity.CacheableJobStat.toString(CacheableJobStat.java:136) at ...

 
forum_thread

UserException: Package com.example.model is not found by the enhancer

My program works fine when I run it from Netbeans but as soon as I clean and build and move the dist directory out of the project to a remote location and run it using java -jar example.jar then I get the exception: com.objectdb.o.UserException: Package com.example.model is not found by the enhancer It occurs on this line: com.objectdb.Enhancer.enhance("com.example.model" + ".*"); ... be cool if Netbeans gave a warning when code referenced entity object member variables rather than getters and setters. I think if you ...

 
forum_thread

Sample JDO Architecture for Follow Up Questions

I am trying to finalize on my application's JDO and ObjectDB archieture.  I have done documentation survey (reading JDO books, studying ObjectDB's documents and forum) and have designed what I think is the best architecture for my particular application usage model. ... Disk IO Requests and Maximize Shared PersistenceManager Entity Cache?" "Can I Disable the Creation of the "log" Directory?" ...

 
forum_thread

find repeated records by JPQL

Hi, I know a single command in MySQL can find repeated records: Select * from TTT t where id in (select id from TTT s group id having count(id)>1) I dont know how to do this using JPQL, but I use query from 430,000 records and put them into hashmap, finally it cost one hour and failed: ... an OutOfMemoryError while trying to load all the entity objects into a memory data structure is expected. You may try ...

 
forum_thread

NullpointerException when execute a merge

How can we analyze the cause of an "Unexpected internal exception"?   We create an object tree that is persisted with "merge()". Then we want to persist “merge()” an new object of a different type.   [we use ObjectDb 2.6.0_3] ... with PK before persisting the first instance of this entity type to the database. Please try build 2.6.0_04 that includes a ...

 
forum_thread

Eclipse/JPA database tutorial

Hello Sir/Madam, I followed all the steps correctly as given in the tutorial. But when i run it , I'm getting an error saying, the resource not available. Please help regarding the issue as soon as possible. Thank you. ... except that i have added a field message in my Guest entity. Please also note that I am using jdk1.8 and tomcat8. Error Message ...

 
forum_thread

Where Does ObjectDB Block/Lock?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   Questions about blocking/locking.  With my PersistenceManager multiThreaded=true architecture, I desire to know where ObjectDB is actually blocking/locking so I might adapt to achieve better concurrency. 1) Where are locks when accessing PersistenceManager by multiple threads? 2) Does it lock at PersistenceManager.currentTransaction()? ... locking, the call to transaction.commit() is where entity object locking actually happens.  Does this mean that all other ...

 
forum_thread

Time Sequence Object Command DB

We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be built and run efficiently on ObjectDB.   The requirements that drive the design of this database are: ... to manage this command database. You need a few entity classes, e.g. Transaction, Command (and possibly subclasses for ...