About configuration

issue

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log reports this as: ... and reduce cache sizes (not just the page cache) in the configuration. ObjectDB Support ObjectDB - Fast ... JVM get the same cache size (it makes sense to make the configuration more flexible in the future). You may try reducing the ...

 
forum_thread

Setting temp directory location in ObjectDB

HI, I am using ObjectDB and would to change the temp directory location wihtout using objectDB.conf file. I am using JDO and setting the persistenceManager as follow properties.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); properties.setProperty("javax.jdo.option.ConnectionURL", fileName.odb); pmf = JDOHelper.getPersistenceManagerFactory(properties), JDOHelper.class.getClassLoader()); ... name has a different format in ObjectDB 2.x. The configuration file in your post is relevant only for ObjectDB 2.x anyway. ...

 
forum_thread

License Activation Change and Checking Activation

Hello! How does ObjectDB determine the machine ID? Yesterday I activated our license on my development laptop and today I tried to persist more than 1M objects. ObjectDB told me that it cant't do that because of the evaluation restrictions. Now I activated it again on the same machine and got a different activation code. With this code it works. The only difference I can think of is that my WiFi was disabled yesterday and today it's not. ... You should include both activation codes now in your configuration, so ObjectDB will work on your laptop with either the WIFI ...

 
forum_thread

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data: a. Simple - Select a range of cells or a column header and copy text to the clipboard or save to a file (csv, html, etc..). (There appear to be copy menu options, but I cannot get them to work.) ... rename packages, classes and fields by using the  configuration . This is preferred over renaming in the Explorer, ...

 
forum_thread

Deadlock in objectdb code

Running multi-threaded access to an embedded database using JDO, I'm getting a deadlock in objectdb code.  Thread dump attached. ... build 2.5.0_06. To see registered types add to the configuration file: <logger name="type.registry" level="info" /> ...

 
forum_thread

Clarification on free license restrictions

Hello,   My apologies if the answer is already on the website, but I’m struggling to find a definitive answer.  The 10 entity class restriction is very clear, but can each of these classes use unrestricted numbers of embeddable classes?  Do embeddable classes count as part of the ten?  I assume not, but I need to check before I code further (and learn more about the product).   #1 2011-12-22 11:43 Hello,   My apologies if the answer is already on the website, but I’m struggling to find ...

 
forum_thread

Getting exception while executing the Query

I have facing a problem when i am executing the query first time, Please find the stack trace below ... also try changing the value of  max-threads in the configuration to 0 , in order to avoid using semaphores (since the exception ...

 
forum_thread

Empty query results after JAR creation

Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query cases. Within Netbeans everything works fine but when I create a  JAR File and executed via "Java -Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears to report the same issue. I've created a small test case (attached zip file) with sample DB to reproduce the issue.  ... What do I wrong? Do I need any additional configuration to deploy ObjectDB correctly to a Jar file that can be ...

 
forum_thread

Is an objectdb.conf required when providing test case projects here?

I am not sure whether it is mentioned anywhere (it does not seem to be given as an option under http://www.objectdb.com/java/jpa/setting) but it seems that ObjectDB projects run without an objectdb.conf (as long as <activation> is not required for > 10 entity classes). Q: In the case where omitting the objectdb.conf does not impact on a problem being reported and diagnosed, is it acceptable to completely omit the objectdb.conf when providing (links to) mini test projects here on this forum and the issue queues ? ... i.e. when the problem does not occur with the default configuration. ObjectDB Support ObjectDB - Fast ...

 
forum_thread

Transaction isolation support?

I am looking at using ObjectDB for our new project, and its looking good so far. But I have been unable to find any documentation about how transaction isolation is handled. For example: What happens If I am reading data in transaction A, and then transaction B commits while A is reading. (Especially if using LAZY fetch sub object). Do I always just get the list of objects as it looks when the fetch start? Martin   ... the default optimistic locking (unless disabled in the configuration). You can use refresh  to get an up to date ...