About feature

forum_thread

Object comparation never matches

Hi! I'm trying to compare 2 identical objects in SELECT with no success: @Embeddable public class PhoneNumber implements Serializable {     int countryCode;     long number;   Which is a part of Customer object: ... Build 2.4.7_16 includes an attempt to enable this feature again. However, there are still reasons to prefer value ...

 
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 are right. This hidden (and undocumented) feature was implemented for a specific check in embedded mode. In client server ...

 
issue

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb-2.6.9_01 NetBeans8.1+Glassfish4.1.1 Mac OS X Possibly related: How to Use a SF with extended Persistence Context? Test mini web app at: https://www.webel.com.au/downloads/objectdb/GreensoftObjectdbTestWebMini3683.2016-09-29.tgz ... . Type: * Bug JPA Feature JDO Feature Feature Request Documentation Website Version: ...

 
forum_thread

Bulk Delete and Update - best practice?

The attached test creates 1000 large objects and then attempts to delete them all in one go using a DELETE statement. I'm trying to run with -Xmx512m but the test runs out of memory during the delete. The attachment also contains an update test which has similar memory problems. I'm running both tests with the default objectdb.conf. In general is an UPDATE/DELETE statement the most efficient way to update/remove a large number of objects? ... limitations would definitely get my vote on the feature request list. public class TestDropTable3 { ...

 
manual

Defining a JPA Entity Class

Shows how to define a JPA entity class in order to store objects in the database.... sequential value generation . This is a very powerful feature of ObjectDB that is absent from other object oriented databases. ...

 
forum_thread

Groovy JPA example

I've been using Groovy with ObjectDb, just thought I'd post a short snippet to show how easy this is to do. The following script (which is one import and one statement) will open a database, run a query and print some results. --------------------------------------------------------------- import javax.persistence.Persistence ... A JDBC driver for ObjectDB could be a nice to have feature, but it is currently not in a high priority on our road map. ...

 
forum_thread

Failed to generate dynamic type

Hi  I was trying to enhance some of my classes and I got an error :  Failed to generate dynamic type com.package.RootContainer (error 361) It seems that all dependent classes are on the classpath , so what is missing or how to recognize what is wrong with that class ?? thanks in advance b ... This thread contains a combination of bug reports / feature requests / support questions. Please use a separate thread for ...

 
issue

Blocked by find

I have a container object which wraps an objectdb database. There is a "putIfAbsent(String id, Object obj)" method which is synchronized and attempts to load an object by id using the EntityManager "find" method. If nothing is returned from the db the passed object is persisted to the db. I have 5 threads which use this method. In a run today one of the threads seems to have got stuck somewhere in the find. The thread dump looks like: ... . Type: * Bug JPA Feature JDO Feature Feature Request Documentation Website Version: ...

 
manual

General Settings and Logging

Describes general configuration and logging of the ObjectDB Java object database for JPA and JDO. the ObjectDB General configuration section.... attribute specifies the maximum size of this list. This feature can be disabled by specifying  0 as the maximum list size ...

 
forum_thread

Can't modify @EmbeddedId in ObjectDB Explorer

Hi! There is entity Journal with @EmbeddedId JournalId. Id's content can't be seen/modified from ObjectDB Explorer from its class. Ok, I get this. It's an @EmbeddedId, so it should depend only on its parent. Problem: id's content can't be modified through its parent neither. Scenario: open db in ObjectDB Explorer, open entity Journal, expand the id, try to modify date/id, save, then refresh data / reopen db, and you'll see that it wasn't modified. Any solutions? ... fixed (in RDBMS too). Accordingly, currently this feature has a low priority. ObjectDB Support ...