About store

forum_thread

Fetching Collections Puzzle

I am working on a project where I need to travel through a massive graph of objects. One of the main entity is the Node which is shown below. class Node { Node parent List<Node> children Node rightSibling Node leftSibling int rank } I have the following issues/doubts #1 2011-04-23 23:08 I am working on a project where I need to travel through a massive graph of objects. One of the main entity is th ...

 
tutorial

Step 3: Define a Spring DAO Component

Explains how to define a JPA DAO component (bean) in a NetBeans Spring MVC JPA web application project. Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest packa ...

 
api-jdo

Key.mappedBy

Name of a member in the value class where this key is stored.(Annotation Element of javax.jdo.annotations.Key)

 
forum_thread

Query fails with numerical values > 2^31

Hi ! I'm trying to execute the following query (from Java-code, also tried ObjectDB Explorer) delete from DataRecord p where p.TimeOfDeletion < 4147483648 This fails with "invalid numerical literal". The field p.TimeOfDeletion is of type long. As far as I know, the maximum value greater than 2^31 (Oracle: "The long data type is a 64-bit two's complement integer.") ... '1410521074995' are stored. So, it is possible to store this big numbers. But, why is my DELETE-statement failing me with ...

 
api-jdo

isPersistent(pc)

Tests whether this object is persistent.(Method of javax.jdo.spi.StateManager)

 
api-jdo

preStore(event)

Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit.(Method of javax.jdo.listener.StoreLifecycleListener)

 
api-jdo

setConnectionURL(url)

Set the URL for the data store connection.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

getConnectionUserName()

Get the user name for the data store connection.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

getConnectionFactory2()

Get the second data store connection factory.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

fetchLongField(fieldNumber)

Fetch one field from the field manager.(Method of javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier)