About READ

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 ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

retrieve without key?

hi, i'm completely new to objectdb. i do have apps running with db4o and perst. i have a db which has only a single model object which would be an entity in objectdb. i'm managing the object in java. i'm loading data from an external source. i use keys from that source. since i have a singleton i want to do something like "get * from entities" knowing there is only one. i've looked at the api and can't see an option to retrieve an object w/o using a key. can this be done? ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Random license reactivation

Ran into the problem again. Suddenly, on my development laptop, objectdb required me to regenerate a new license!   ... Reply Please read carefully the posting instructions - before posting to ...

 
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 ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Objectdb ignores not null annotations

I'd like to mark field of an entity not nullable so that when developer tries to persist such entity exception gets thrown... I've tried @Column(nullable = false) (i even tried @NotNull which is not JPA, anyway I've tried :) Please specify valid way to mark a field (might be of another Entity type or primitive) not nullable... Regards ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

java.lang.UnsupportedOperationException

com.objectdb.o.InternalException: java.lang.UnsupportedOperationException: Unsupported feature - Update queries are not supported yet java.lang.UnsupportedOperationException: Unsupported feature - Update queries are not supported yet. Used with this code: "DELETE l FROM License l WHERE l.id = ?1", License.class); query.setParameter(1, id); int changes = query.executeUpdate(); Is there a workaround? ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

ObjectDB Explorer Exposes Username and Password

How can I prevent my database username and password from being exposed by ObjectDB Explorer? ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Last build is not available on Maven Repository

Is there some special reason why the last two builds of 2.3.3 are not available in your Maven repository? ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

In version 2.5.2_05 does not work greatest by Date

In earlier versions this query worked fine. In version 2.5.2_05 does not work .orderBy( cb.desc(cb.greatest(root.get("createDate").as(Date.class)))).distinct(true) Thank you for your help. ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Is there a way to extract the schema from an existing Database?

Hi ObjectDB, Is there a way to extract the schema from an existing Database? i.e. without using my class files Thanks EKK ... Reply Please read carefully the posting instructions - before posting to ...