About store

forum_thread

Compiled Queries and Cache

objectdb.conf has options for query results and program cache.  (objectdb.conf > database > query-cache > results and programs, http://www.objectdb.com/java/jpa/setting/database#The_query-cache_element_.) query.compile(); query.closeAll(); After code like above, are the query results and program cache still available?   ... Yes, these are server/store side caches. The exact client side code doesn't affect. ...

 
tutorial

Eclipse/JPA Java EE 6 Tutorial

Step by step tutorial that demonstrates how to build a simple Java EE web application (with Servlet, JSP and an EJB Session Bean) in Eclipse using JPA. This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using GlassFish, ObjectDB and JPA. The demo web a ...

 
forum_thread

persitencia (Preguntas y respuestas)

1ra.pregunta:     tengo un formulario y cuando grabo mas de un registro, solo me grava el ultimo mas no los anteriores. 2da.Pregunta:    Tengo un indice que no es el ID y necesito que mi tabla muestre los datos de acuerdo al indice. Como                          puedo hacerlo?. Alguien me sugiere algo. Gracias   #1 2015-08-06 19:46 1ra.pregunta: tengo un formulario y Cuando Grabo mas de un registro, solo me graba el ultimo pero no los anterior ...

 
forum_thread

ObjectDB as JDBC resource or custom realm

Hi everyone, I want to implement HTTP Basic Authentication for my web services, but I also want to use ObjectDB to store credentials. Therefore I'm in the need of a custom realm for GlassFish 3.1. My guess is somebody already did this before, so if yes please raise your hands. Otherwise please help me with the implementation and please share your thoughts on the matter. Thanks in advance, Daniel ... for my web services, but I also want to use ObjectDB to store credentials. Therefore I'm in the need of a custom realm for ...

 
forum_thread

java.lang.ClassCastException in query results

I have a simple object stored in a ObjectDb file Stadium Name (java.lang.String) Capacity (int) City (java.lang.String)   When i run the following code i get the ClassCastException in the "for (Stadium result : results)" line #1 2014-08-10 18:12 I have a simple object stored in a ObjectDb file Stadium Name (java.lang.String) Capa ...

 
api-jdo

retrieveAll(pcs)

Retrieve field values of instances from the store.(Method of javax.jdo.PersistenceManager)

 
api-jdo

postLoad(event)

Invoked whenever a persistent instance is loaded from the data store.(Method of javax.jdo.listener.LoadLifecycleListener)

 
api-jdo

setOptimistic(optimistic)

Optimistic transactions do not hold data store locks until commit time.(Method of javax.jdo.Transaction)

 
api-jdo

retrieveAll(pcs, useFetchPlan)

Retrieve field values of instances from the store.(Method of javax.jdo.PersistenceManager)

 
api-jdo

storeBooleanField(fieldNumber, value)

Store one field into the field manager.(Method of javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer)