About Id

forum_thread

Changes in detach behaviour?

Hello! Today i upgraded to 2.3.5_04. My program stopped working. After some debugging i found out that all fields of retrieved objects are on their default value till i first call a getter or detach them explicitly. Up to 2.3.4 they where initialized immediately. The problem in my case is that i have a Spring DAO. It does the following: I call for example getUserByName("blub). ... I get an empty detached user object back. Only the id is correct. Shouldn't the detach and field population happen ...

 
forum_thread

Insert time increases as db grows.

Hello, ... of 22 linked entites. I've got indexes on Long id on every entity and additionally one entity have index on String column. ...

 
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   ... 2da.Pregunta: Tengo un indice que no se el ID y necesito que mi tabla muestre los datos de acuerdo al indice. ...

 
api-jdo

pinAll(oids)

Pin the parameter instances in the second-level cache.(Method of javax.jdo.datastore.DataStoreCache)

 
api-jpa

GeneratedValue.generator

(Optional) The name of the primary key generator to use as specified in the SequenceGenerator or TableGenerator annotation.(Annotation Element of javax.persistence.GeneratedValue)

 
issue

NullPointer running multiple client against server

Hi, I'm running objectdb in server mode, config as it comes out of the box. In this case the database is being used as a queue with multiple seperate processes, each with multiple threads, writing messages. The message is split into a lightweight metadata message to allow fast searching and a more heavy weight data message. The put methods are shown below. The message is made up of an id, insert-time, priority and the payload is a large string. ... put methods are shown below. The message is made up of an id, insert-time, priority and the payload is a large string. public ...

 
api-jdo

getObjectById(oid)

Looks up the instance corresponding to the specified oid.(Method of javax.jdo.PersistenceManager)

 
api-jpa

javax.persistence.SqlResultSetMapping

Specifies the mapping of the result of a native SQL query.(Annotation of JPA)

 
api-jdo

jdoNewInstance(sm, oid)

Return a new instance of this class, with the jdoStateManager set to the parameter, key fields initialized to the values in the oid, and jdoFlags set to LOAD_REQUIRED.(Method of javax.jdo.spi.PersistenceCapable)

 
forum_thread

Does aggregate function "greatest" work on entity objects?

do not come to the function "compareTo" @Entity public class ChatHistoryItem extends AbstractObject implements Comparable {     private static final long serialVersionUID = 1L; ... return "granat.dp.domain.entity.DialogItem[ id=" + getId ( ) + " ]" ; } ...