About main

manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually. ObjectDB Database Explorer is a visual GUI tool for managing ObjectDB databases. It can be used to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases. This page covers the followi ...

 
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: ... aim of this database is to provide a data cache for the main application - access is typically a number of persists as a request enters ... the delete query still halts the test though. My main app is using enhancement so we're ok on that front. String ids are ...

 
forum_thread

can't get HashMap out of the database

I'm trying to persist an Entity containing a HashMap. It stores the data in the database OK, but the map is always empty when I get the entity out of the database again. I've reproduced this problem in a simple variation of the Guestbook tutorial: Guest class: ===================== ... see attached. If you run the test in /Guestbook/src/main/java/guest/audit/AuditDAOImplTest.java you can see that the AuditRecord ...

 
forum_thread

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

Hello, ObjectDB team! I am struggling with getting ObjectDB 2.5.0 to work with clean Apache Tomee 1.5.2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in Tomee's classpath) nor other parts, excepting the following persistence.xml: ... Thanks for such a quick reply. That's one of the main reasons I love ObjectDB. It seemed that actually I was putting ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually. ObjectDB Database Explorer is a visual GUI tool for managing ObjectDB databases. It can be used to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases. This page covers the followi ...

 
manual

[ODB1] Chapter 4 - JDO Metadata

Shows how to define JDO metadata for persistence capable classes.... because its value is never stored in the database. The main difference is that, on transaction rollback, it returns automatically to ...

 
forum_thread

BeanCreationException in spring data JPA with objectDB

Can anyone help me how to resolve the below issue ... org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native ... org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) [WARNING] Failed startup of context ... ... org.apache.maven.cli.MavenCli.main(MavenCli.java:157) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native ...

 
issue

javax.jdo.JDONullIdentityException: The identity must not be null.

When stopping my JEE 6 Web Profile application in Glassfish 3.1.1, I sometimes get this exception, yielding in not merging athene.odb and athene.odb$. A bug in objectdb?    bjjl@ps2:~$ ls -l /var/db/athene/ total 122080 -rw-r--r-- 1 bjjl webservd   2621440 2012-05-24 16:40 athene.odb -rw-r--r-- 1 bjjl webservd 122265952 2012-05-24 16:40 athene.odb$ bjjl@ps2:~$   ... goes wrong again (hopefully not). How is the main db file and the one with $ appended actually playing together? Is it some ...

 
forum_thread

Can't post on your forum

Since yesterday, I can't post on the forum because it always says that I should log in in order to do that. I was already logged in, but, anyway, it appeared as not. I go to log in, then I authenticate, then I'm redirected to the home page, but it still looks that I'm not logged in, so I can't post on the forum. I tried removing the cookies, but nothing. I tried in another browser, but the same. I have new bugs to post, so it's pretty important. ... The log in page has the same errors as the main forum page. objectdb-forum-errors.PNG ...

 
forum_thread

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields. The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone data. ... {   public static void main ( String [ ] args ) { ...