About retrieve

forum_thread

Delete me

Any place where I can find Netbeans examples for the basic create, read, update, delete methods using the EntityManager? i.e. public void create(Foo foo) {} public Foo read(Integer id) {} public List<Foo> read() {} public void update(Foo foo) {} public void delete(Foo foo) {} ... Yes, you have to run a query in order to retrieve all the instances of a class. You may use a criteria query ...

 
forum_thread

ObjectDB vs Neo4J

What are the main difference apart from the JPA. Can ObjectDB provide the same Graph functionalities. Regards. #1 2015-05-21 09:37 What are the main difference apart from the JPA. Can ObjectDB provide the same Graph functionalities. Reg ...

 
forum_thread

How storage works?

I have one Class Car that contains a ArrayList of Wheels. I have already one Car with 4 Wheels attached stored in the DB. If I update my Car adding a new Wheel object is all the Car updated? Or only changed part is updated? By other words, If I have one complex data model and only one part is changed, the Object DB stored the all complex data model or only the changed part? Thanks #1 2011-09-15 10:26 I have one Class Car that contains a ArrayList of Wheels. I have already one Car with 4 Wheels attached s ...

 
tutorial

Getting Started with JPA

Getting started tutorial for step by step quick start with using Java Persistence API (JPA).... The demonstrated application uses JPA to store and retrieve simple  Point entity objects, where each  Point has ...

 
api-jdo

javax.jdo.FetchPlan

Fetch groups are activated using methods on this interface.(Interface of JDO)

 
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   ... be either due to a failure to persist them, failure to retrieve them or starting a new empty database every request - more details are ...

 
issue

ClassCastException after upgrade to 2.3.5_03

On upgrading to the latest version of objectdb I get the following exception on object retrieval: Bug Version: Priority: Normal Status: Fixed Replies: 1 Type:  Bug ...

 
doc

Throwable(cause)

Constructs a new throwable with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).(Constructor of java.lang.Throwable)

 
forum_thread

Suspected memleak caused by bad state of EntityManager

Our application manages the Entities itself, so we close the EntityManager after every creating and using. We find a slow memleak in our application recently, and by trace of Entity construct and finalize, we found the problem is caused by bad state of EntityManager. After first throwing the InternalException, the EntityManager throws every time when doing merge operation, but it can be closed and retrieved by EntityManagerFactory, and the instances of Entity constructed by ObjectDB can never be released by JVM.There is a chart describes the instances exists in memory. #1 2012-02-03 02:03 Our application manages the Entities itself, so we close the EntityManager after every creating and using. We fin ...

 
api-jdo

storeStringField(fieldNumber, value)

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