About fix

issue

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

Hello, we've encountered a problem leading to memory leaks. We found that after closing a transaction (including the entity manager) the ODB file writer still holds a reference to entities. Performing similar calls repeatedly hence increases the number of references to entities not longer needed in the application context. This prevents the garbage collector from cleaning up the memory which eventually results in memory leaks. The attached screenshot shows an example of this behaviour. Thanks in advance for your help. Bug Version: 2.7.1 Priority: Critical Status: Closed Replies: 2 Type:  Bug ...

 
issue

ObjectDb Doctor : Failed to locate set method for field property com.test.Video$VideoId.sourceId using reflection (error 316)

Hello everyone ! I have just launched the ObjectDb Doctor for testing purposes. But while inspecting my base, the Doctor throws me a strange error : [ObjectDB 2.4.6] Invalid ID class com.test.Video$VideoId for type com.test.Video (Failed to locate set method for field property com.test.Video$VideoId.sourceId using reflection) (error 316) It seems that the Doctor can't find the SourceId, that is a part of my primary key. There is a description of my Video bean :   Bug Version: 2.4.6 Priority: Normal Status: Active Replies: 2 Type:  Bug ...

 
issue

Best practice for history tracking

We would like to add to records start and end timestamp fields. When end field is null, it indicates the last version of this item. Few questions: JPA Feature Version: 1.04 Priority: Normal Status: Closed Replies: 1 Type:  JPA Feature ...

 
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()); ... We have a problem in our software because of this. Can you fix this timestamp issue and provide the patch or release information. ...

 
forum_thread

disabling JDO in objectdb embedded mode

Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish. When I attempt to call the database I get several exceptions. As an example consider the following short example: ... ? Should I add additional maven dependencies to fix the problem ? (currently I only have objectdb.jar version 2.6.8) ...

 
forum_thread

Double persist of Entity field with Cascade.ALL

I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String bookTitle; @OneToMany(cascade= CascadeType.ALL, fetch= FetchType.EAGER) private List<Chapter> chapters; The Chapter fields are as follows: #1 2011-12-02 09:58 I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book ...

 
forum_thread

lockfiles in client/server mode

i have an objectdb server running on localhost as user "objectdb", spawned like so: java -server -cp /usr/local/share/objectdb/objectdb.jar: com.objectdb.Server -conf /etc/objectdb/objectdb.conf start it has naturally created and taken ownership of /tmp/ObjectDB. ... Build 2.3.7_14 should fix both issues: A temporary directory will not be created in ...

 
forum_thread

ObjectDB without javax.persistence

Hello, what we need to do, that we can use a separate bundle for javax.persistence in a OSGi envoirement. We tried to use the objectdb-jee.jar instead of objectdb.jar. And a separate bundle for javax.persistence that only contains the Java Persistence API. So that the ObjectDB PersistenceProvider get visible for the JavaPersistenceAPI, we have registered the ObjectDB as Buddy. ... adding them to objectdb-jee.jar solves the problem we can fix it in future releases. ObjectDB Support ...

 
issue

Improve ObjectDB Server

Improve ObjectDB Server to behave and feel more like a traditional db-server: - Remove SWING dependency (i.e. remove the tray icon or make it external from the core server) - Provide the possibility to easily install the objectdb as service on each system (requires removing swing dependency) - Keep it as a console-only app - Put important log info to the console as well - Provide possibility to not only create new databases but remove existing ones as well Feature Request Version: 2.2.3 Priority: Low Status: Active Replies: 1 Type:  Feature Request ...

 
forum_thread

Embedding ObjectDB on server application

I'm trying to integrate ObjectDB as part of a server software I am developing. I'm a little lost at the connection file path for the persistent factory. So if I want to pass in the database file path, with relative path, where exactly is it relative to? So I did a test and just wrote: EntityManagerFactory emf = Persistence.createEntityManagerFactory("test.odb"); But I got: Exception: javax.persistence.PersistenceException Message: No Persistence provider for EntityManager named test.odb ... What can I do to fix it? edit ...