About empty

manual

JPA Lifecycle Events

Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes.... class defines all the supported callback methods with empty implementations: @Entity javax.persistence.Entity ...

 
issue

user defined backup file

We need a way to do a (online) backup to a user defined backup-destination. Maybe in that way: backupQuery.setParameter("targetfile", new java.io.File("/User/Backup/test.objectdb")); which creates a backupfile with the name 'test.objectdb" in the directory '/User/Backup/' or ... '. Otherwise we had to do the backup in an empty temp directory, scan the backup directory for a newly created backup ...

 
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). ... and the em. With 2.3.5_04 I get an empty detached user object back. Only the id is correct. Shouldn't the ...

 
issue

Problem with JOIN and inheritance

Hello, Please run this query on the attached DB: SELECT DISTINCT $1 FROM com.quasado.serviceplaza.customer.VendorCustomer $1 JOIN $1.qubletFRAGMENTMAP $2, com.quasado.foundation.warehouse.contract.customer.CustomerContractsFragment $3 WHERE ((NOT (($2=$3) AND ($3.contracts IS EMPTY)))) The problem is quite easy: The "VendorCustomer" class inherits from the "Customer" class. ... = $3 ) AND ( $3 . contracts IS EMPTY ) ) ) ) The problem is quite easy: ...

 
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   ... persist them, failure to retrieve them or starting a new empty database every request - more details are needed. To view a table ...

 
forum_thread

can't get HashMap out of the database

I'm trying to persist an Entity containing a HashMap. It stores the data in the database OK, but the map is always empty when I get the entity out of the database again. I've reproduced this problem in a simple variation of the Guestbook tutorial: Guest class: ===================== ... stores the data in the database OK, but the map is always empty when I get the entity out of the database again. I've ...

 
forum_thread

java 8 LocalDateTime is not working in query

My entity class has a field of type java.time.LocalDateTime. I'm able to persist entities and I'm able to query without datetime field in where clause, but with datetime in where clause doesn't return anything and not exception.   ... 1 ) ) ; above code returns empty list   but it's working fine: SELECT ...

 
forum_thread

Can I Disable the Creation of the "log" Directory?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   ... objectdb.conf file in which you set the log path to empty, since apparently the only place in which "log" is specified in ObjectDB ...

 
api-jpa

getDeclaredAttributes()

Return the attributes declared by the managed type.(Method of javax.persistence.metamodel.ManagedType)

 
api-jpa

getDeclaredSingularAttributes()

Return the single-valued attributes declared by the managed type.(Method of javax.persistence.metamodel.ManagedType)