About fetch



... . Fixed several bugs in handling eager fetch. Fixed a pessimistic locking bug . ...


collection of embedded objects

1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Entity? 2. If you have a large nested collection of @Embedded objects, and you remove the parent @Entity, does the remove cascade through the whole collection? 3. Is searching through collections of @Embedded objects more expensive (time) than searching through collections of @Entity? ... Page... annotation on the collection to specify fetch policy. Currently ObjectDB doesn't cascade operations ...


JPQL support for Maps (JPA 2.0)

JPQL 2.0 introduces the ability define FROM variables for map keys and values. Currently ObjectDB supports FROM variables for collection elements and FROM variables for map keys and values are expected to be supported in future versions. ... ... @ ElementCollection ( fetch = EAGER ) @ Column ( name = ...


OneToMany and cascade delete problem

Hi, I don't really know if this is a bug or maybe model that I make is bad. I have a problem with with two different classes with OneToMany relation to one, shared class. For example (first class): @Entity public static class Store { @OneToMany(targetEntity = Offer.class, mappedBy = "store") private List<Offer> offers; } second class: ... = Offer. class , mappedBy = "product" , fetch = FetchType . LAZY , cascade = CascadeType ...



Remove all active groups leaving no active fetch group.(Method of javax.jdo.FetchPlan)


LEFT (OUTER) JOIN problem when mappedBy is defined

Hi all, I want to get objects with their lists, even when the lists are empty. So I've witten this query: "SELECT i FROM Invoice i LEFT OUTER JOIN i.itemList items" But this query never returns invoices without items! Only invoices with items. When I remove mappedBy from @OneToMany annotation, LEFT JOIN works correctly. Is this normal behaviour? Thank you Michael   Sample application ... OneToMany ( mappedBy = "invoice" , fetch = FetchType . EAGER , orphanRemoval = true , ...



Set a collection of groups.(Method of javax.jdo.FetchPlan)



Create a new instance of the class used for JDO identity, using the key constructor of the object id class.(Method of javax.jdo.spi.PersistenceCapable)


makeTransientAll(useFetchPlan, pcs)

Make instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)


ObjectDB 2.6.9_06 (embedded): Cascading merge resulting in duplicate objects

This issue maybe related to issue #110 (http://www.objectdb.com/database/issue/110). Because that issue has been closed as "fixed", I am reporting this new issue. This is my class definition: ... {   @ OneToMany ( fetch = FetchType . EAGER , cascade = CascadeType . ...