About not

forum_thread

Entity not removed 100%

When I remove an object from a class it get's removed but the other objects that had that object as an attribute still keep it although I am using @OneToMany(cascade=CascadeType.ALL) This is what it remains when I check the removed object from another object's attributes     #1 2017-03-24 19:03 When I remove an object from a class it get's removed but the other objects that had that object as an attrib ...

 
issue

@PrePersist not working correctly

I have a method to calculate some values before persisting to the database. So i annotated it with @PrePersist. If i merge an object the annotated method get's called but all members are on their default values. I only tried it with new objects. So merge get's an object with id = null and therefore shoud behave like persist. (I always use merge) If i set a breakpoint before the em.merge(..) call the object is ok. Inside the @PrePersist method all fields are cleared.  Bug Version: Priority: Normal Status: Fixed Replies: 1 Type:  Bug ...

 
forum_thread

Lazy loading does not work - crud takes long

tomee7.0.0SNAPSHOT,objectdb 2.6.4 The OneToMany Entities are filled with 40.000 Records and they have between 20-40 Columns. It takes over 50s to load all Project Enities that contains the OneToMany Relationships. It should be load lazy but i didnt know why the query fetch all the Data. #1 2015-10-24 23:07 tomee7.0.0SNAPSHOT,objectdb 2.6.4 The OneToMany Entities are filled with 40.000 Records and they have bet ...

 
forum_thread

$temp property not evaluated properly when used in log path

I have the following lines in my objectdb.conf file: <log path="$temp/ObjectDB/log/" max="8mb" stdout="false" stderr="false" /> <log-archive path="$temp/ObjectDB/log/archive/" retain="90" /> I don't believe that the $temp property is being evaluated properly here as it creates a new directory "$temp" in the same directory as my execution script. Shouldn't this be logging to the system temp directory? #1 2011-09-09 17:43 I have the following lines in my objectdb.conf file: <log path = "$temp/ObjectDB/log/" max ...

 
manual

[ODB1] Chapter 6 - Persistent Objects

Shows how to store, retrieve, update and delete database objects. ... some database content, or a transient object, i.e. not related to any database. Storing Objects Explicitly When a new ... thrown if the argument to makePersistent( ... ) is not an instance of a persistent class (as defined in chapter 3 ). Only ...

 
api-jpa

javax.persistence.criteria.CriteriaBuilder

Used to construct criteria queries, compound selections, expressions, predicates, orderings.(Interface of JPA)

 
api-jpa

javax.persistence.metamodel.ManagedType

Instances of the type ManagedType represent entity, mapped superclass, and embeddable types.(Interface of JPA)

 
api-jpa

javax.persistence.metamodel.EmbeddableType

Instances of the type EmbeddableType represent embeddable types.(Interface of JPA)

 
manual

JPA Entity Fields

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... Fields Transient entity fields are fields that do not participate in persistence and their values are never stored in the database (similar to transient fields in Java that do not participate in serialization). Static and final entity fields are always ...

 
issue

Query Execution Error

This query ... $3 . abteilung $4 WHERE ( ( ( NOT ( ( ( $2 IS NOT NULL ) AND ( $3 IS NOT NULL ) ...