About access

forum_thread

Session lost

hi team we are implementing a web application based on the Liferay, system database is handled by JPA 2.0 and entity manager. when system is idle for a long period (for example 8 hours) the Session in the Persistance Context will be lost and the DB will be out of the access, is there any possible configuration which can fix this problem.......... best ... Context will be lost and the DB will be out of the access, is there any possible configuration which can fix this ...

 
page

ObjectDB License

ObjectDB Purchase and License info page.... managed, but using ObjectDB on client machines merely to access remote ObjectDB databases (for which licenses have been purchased) does ...

 
forum_thread

using DbUnit with ObjectDb

Are there any examples about how to use DbUnit with ObjectDB? DbUnit requires access to a jdbc connection .. with other providers it's possible to extract the jdbc connection from the EntityManager, e.g. for Eclipselink / Postgres combination you can use the rather long-winded: IDatabaseConnection connection = new DatabaseConnection(((EntityManagerImpl) (em2.getDelegate())).getServerSession().getAccessor().getConnection(), "PUBLIC"); but with objectDb this gives: ... how to use DbUnit with ObjectDB? DbUnit requires access to a jdbc connection .. with other providers it's possible to ...

 
forum_thread

TreeSet and compareTo() issue

Hi I'm trying to use TreeSet but getting NPE on the compareTo() method when it does a find(): #1 2016-02-02 20:48 Hi I'm trying to use TreeSet but getting NPE on the compareTo() method when it does a find(): a ...

 
forum_thread

Fetch a whole entity graph eager

Hello, I have two question at you. Are you provided JPA 2.1 annotation @NamedEntityGraph in next version ObjectDB 3.0? And do you know an easy possibility to get an entirely eager entity graph with all depended entities which we can use as a detached full accessible entity graph outside a transaction without lazy loading? Best regards #1 2017-09-07 14:04 Hello, I have two question at you. Are you provided JPA 2.1 annotation @NamedEntityGraph in next ...

 
forum_thread

Start ObjectDB inside java code.

I am building an MMORPG with ObjectDB, and I use it both for the saving of character and inventory (permanent object), but also the storing of ability and maps information (object I load, use, and dispose and then reuse without having change anything). The problems is, as my server and client both run on the same machine and more than one client can be started, they all need access to this information without being able to share any thread, so am forced to use the server model. ... and more than one client can be started, they all need access to this information without being able to share any thread, so am forced ...

 
forum_thread

Detaching objects after JOIN FETCH

Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have two classes: public class A { @ManyToOne B bClass } public class B { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want to fetch all B classes with all A classes skipping lazy loading: #1 2012-07-11 07:50 Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have t ...

 
issue

How to change properties in urls2.xml ?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". ...

 
forum_thread

_PersistenceException: Failed to open file

Hello! I am experiencing a problem: JBWEB000309: type JBWEB000066: Exception report JBWEB000068: message com.objectdb.o._PersistenceException: Failed to open file '/Users/username/JBossSoftware/jboss-eap-6.2/bin/$objectdb:/localhost:8080/db/guests.odb' the path in persistence.xml is : <property name="javax.persistence.jdbc.url" value="$objectdb://localhost:8080/db/guests.odb"/> What could be the problem?   #1 2014-04-25 15:21 Hello! I am experiencing a problem: JBWEB000309: type JBWEB000066: Exception report JBWEB000068: m ...

 
api-jdo

javax.jdo.listener.StoreCallback

This interface is used to notify instances of store events.(Interface of JDO)