ObjectDB Database Search
51-100 of 124 resultsLeft join fetch behaviour doesn't retrieve children? for you ... I have implemented a lazy left join fetch feature for all my collection beans. But ... in ... of lazy initialization. Left join is not enough mature in objectdb to use in a production environment ... with it. - Lazy load of all collections seems to be better than All eager strategy | |
Should derived fields of an EmbeddedId be manually maintained by app code?; @ManyToOne(fetch=FetchType. LAZY ) @MapsId("cont") private EContainer container; public EContainer ... () { return prnt; } } @EmbeddedId private ECompoundKeyMapSubItemId id; @ManyToOne(fetch=FetchType. LAZY ... =FetchType. LAZY ) private EContainer otherContainerRelationship; @Basic private String otherRelationshipKey | |
Transaction isolation support?. (Especially if using LAZY fetch sub object). Do I always just get the list of objects as it looks ... own defined as @OneToMany(fetch=FetchType. LAZY ) List bookList; (And in this example, there is only 1 object in ... the new book added by B?. And does this change if FetchType. LAZY changes to FetchType.EAGER? In a SQL | |
Merge Issue: Attempt to reuse an existing primary key value; static class A { //@OneToMany(fetch = FetchType. LAZY , cascade ... = FetchType. LAZY , cascade = CascadeType.ALL) private List ... ; @ManyToOne(fetch = FetchType. LAZY , cascade = { CascadeType.ALL })   | |
Memory error during commit, if @ElementCollection field contains many elements although the element collection is actually not load because it is a lazy field. Why we run into ... content still requires memory space. Lazy setting in JPA is considered as a hint to the implementation, but the implementation can still load content eagerly. ObjectDB follows the lazy setting hint | |
Fetching Collections Puzzle are EAGER by default. They will be loaded lazily only if they are annotated as LAZY explicitly ... ;colletions are to be lazy fetched. You can try this in a query. "select n from Node n left outer | |
Removing an entity throws exception(mappedBy = "customer", fetch= FetchType. LAZY ) private List itemList; @OneToMany(mappedBy = "customer", fetch= FetchType. LAZY ) private List otherItemList; ... getters and setters } Only address is filled | |
Explorer in 2.3. Then allow import of that file into another database. 2. Lazy loading of data, especially in table view ... : 2. Lazy loading of data Data is already loaded lazily. There is a problem when opening a table or | |
Detaching objects after JOIN FETCH. LAZY , cascade = CascadeType.ALL) List aClasses; } Now, I want to fetch all B classes with all A classes skipping lazy loading: select b from B b join fetch b.aClasses After closing entity manager, B | |
How to Remove records from many to many relationship tables in JPA { .... @ManyToMany( fetch = FetchType. LAZY , cascade = CascadeType.PERSIST) private List transportationEvents ... _ORPHAN) private List conclusions = new ArrayList (); @ManyToMany( fetch = FetchType. LAZY , cascade | |
List of Enum Values in an entity only fields that have been loaded before detachment (e.g. defined as eager rather than lazy , or ... LAZY to EAGER : private @OneToMany(fetch=FetchType.EAGER) List flags; According | |
@Column( name = "columnName") doesn't work(name = "KEY_DESCRIPTOR") private AfwKeyDescriptor keyDescriptor; @OneToMany(fetch = FetchType. LAZY ... = FetchType. LAZY , cascade = CascadeType.ALL) private AfwCodedDataBlock codedDataBlock; private int level | |
removed objects stay with null field values in the reference; ... @OneToMany(fetch=FetchType. LAZY ) public Set workflow = new HashSet (); When we remove an object ... remaining sceleton is still in the database and loaded by a subsequent lazy loading ? hgzwicker Hans | |
performance limit, what when we will have few milion records, how to handle this. Everything is set to lazy loading, we tried indexing ... the Explorer result data is always loaded lazily). You may execute queries in the application with lazy | |
Adding multi part path index on non-embedable object member { @MapsId @ManyToOne(fetch = FetchType. LAZY ) private Merchant merchant; @MapsId @ManyToOne(fetch = FetchType. LAZY ) private List stores; // Setter/Getter } So I wanted to add index on Customer for merchant | |
Merge with Parent/Child entities not possible { @Id @GeneratedValue private long id; @OneToMany(fetch = FetchType. LAZY ... long id; @ManyToOne(fetch = FetchType. LAZY , cascade = { CascadeType.PERSIST, CascadeType.MERGE | |
Is it possible to remove parent/child entities without refresh?; @OneToMany(fetch = FetchType. LAZY , cascade = CascadeType.ALL, mappedBy = "parent ... ; @Id @GeneratedValue private long id; @ManyToOne(fetch = FetchType. LAZY | |
Is it possible to commit only specific elements? of my entities from the database, I am working in a lazy loading context, I get an OutOfMemory Exception ... of accessing particular instances in the aforementioned lists (stored in said hashmaps) in a lazy loading | |
Pre-detach loading: retrieval by navigation not working in if statement" Boolean value wrapper BooleanValue entity. This is @OneToOne with explicit LAZY fetch. - A BooleanValue ... ' which is a "deep" Float value wrapper FloatQuantity entity. This is @OneToOne with explicit LAZY fetch | |
Memory use in OneToMany relationships is LAZY ). There is a difference between using reflection mode and enhancement mode. In enhancement ... , but LAZY is only a tip for the implementation. support Support | |
Difference performance in ObjectDB Explorer and in java project are executed in the Explorer in a special lazy mode, which is faster in returning the results ... ; query.setHint("objectdb.result-fetch", " LAZY "); support Support Thank you, is where any | |
virtual servers and one file your server). The GC does seem very lazy , but it is unclear if this is the issue, as you have not reported ... ; OutOfMemoryError is thrown then this could be the normal ( lazy ) behaviour. Have you tried | |
New to Product & Having An Issue. LAZY ) public Set getEmployees() { return employees; } public void setEmployees(Set employees | |
Is it ok to put list or map of embeddable objects in entity ? this. About the slow lazy loading - a test case that demonstrates it is needed to evaluate this. support Support | |
Error 363 - Failed to read value of inverse relationship(); private String text; @OneToMany(/*fetch=FetchType. LAZY , cascade=CascadeType.ALL, */mappedBy | |
Is 2 level cache in use? hint and check if it helps: query.setHint("objectdb.result-fetch", " lazy | |
Is there a way to set EAGER fetch on all "ToMany" collection relationships Given that the default seems to be FetchType. LAZY for all collections @OneToMany and @ManyToMany. Such as a configuration option. Instead of having to explicitly set fetch in annotation code in every relationship. webel Dr Darren Kelly No. There is no such configuration option, since having EAGER | |
Connection is closed (error 526) Lai Yang Maybe you are trying to load the entire tree into memory. Try replacing EAGER with LAZY | |
Join query problem with new statetment;(...) @ManyToMany(targetEntity = Product.class, fetch = FetchType. LAZY )   | |
OneToMany and cascade delete problem = Offer.class, mappedBy = "product", fetch = FetchType. LAZY , cascade = CascadeType.ALL) private Set offers | |
Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne) getSingleton() { return container; } } @ManyToOne(fetch=FetchType. LAZY ) @Id private Container container | |
Speeding up reporting queries with size() on list(targetEntity = Product.class, fetch = FetchType. LAZY ) private List products; There is only 680 | |
Changes in detach behaviour?". If you use version 2.3.4 then the output is "username". I think lazy fetching of primitive fields is a bit | |
Concerning coding style of the example in the posting instructions. One example is in: Does ObjectDB support lazy loading? which has initialisation of instance | |
Upgrade to 2.4.1_02 Hi there, The upgrade to 2.4.1_02 fixed the initial problem, however there still seems to be an issue. To me it appears that Embeddable might be being lazy loaded, but I cannot be sure. I have attached a testcase demonstrating this issue. Its failing on the merge. Thanks P. pedwards Paul Edwards | |
Trouble bug on explorer = FetchType. LAZY ) private List languages; public final int getGid() { return gid; } public final void | |
Merge of entity classes with "mapped by" very slow Hi, I have found a strange behavior when merging entities with "mapped by" set on @OneToMany relation. Even if object is fetched with find on the same transaction, merge is very slow. It's because on merge every single relation marked as LAZY is fetch from database. Attached two examples | |
Bidirectional OneToMany is slow on updated items: @OneToMany(cascade = {CascadeType.ALL}, fetch = FetchType. LAZY /*, mappedBy = "person"*/) private Set | |
"Failed to serialize instance" of Set problem Hi, I'm trying to persists objects defined as follows: @Entity @Inheritance(strategy = InheritanceType.SINGLE_TABLE) public abstract class AbstractContainer { ... @OneToMany(fetch = FetchType. LAZY , mappedBy="parent") private Set abstractContainers = com.google.common.collect.Sets | |
Level 2 cache not hit in @ManyToOne to LAZY . By doing that you instruct ObjectDB to return object IDs rather than full objects in query | |
Adding EntityListener Throws Unexpected Internal Exception; @MapsId @ManyToOne(fetch = FetchType. LAZY )   | |
New entity objects are duplicated on merge cascading; @OneToOne(fetch = FetchType. LAZY , cascade = CascadeType.ALL)   ... ; @ManyToOne(fetch= FetchType. LAZY )   ... ; @OneToOne(fetch = FetchType. LAZY , cascade = CascadeType.ALL)   | |
spuriously objectdb objects have null references definitions are (for the null references above): ... @OneToMany(fetch=FetchType. LAZY ) @Index public List actions = new ArrayList (); ... @OneToMany(fetch=FetchType. LAZY ) @Index public List childNodes ... is detached (e.g. when the EntityManager is closed), ObjectDB replaces lazy loaded collections | |
TYE NullPointerException on an attempt to use a lazy collection that has not been loaded in a detached entity object. Build 2.3.1_03 ... is included now in build 2.3.2_01. Lazy collections will always hold a strong reference to the containing | |
JPQL Case Statements (JPA 2.0) simple lists/tables) - even when most relationship fields of an entity are forced lazy . webel Dr Darren Kelly | |
ObjectDB 2.0.0 object. Fixed a bug in lazy loading of instances of non enhanced classes. Added Explorer support of ID | |
ObjectDB 2.0.1 Fixed a bug in lazy loading of instances of non enhanced classes. Fixed a bug in using the Replayer with no updates to the database. Fixed an activation bug. | |
ObjectDB 2.3.7 Fixed a critical issue that may cause database corruption ( issue #630 ). Initial attempt to enable navigation through lazy loading from detached objects ( feature request #326 ). Improved toString of criteria queries to use aliases ( issue #12 7). Fixed automatic variable naming in criteria | |
Mapped by fields are not initialized by JOIN FETCH in queries As demonstrated in this forum thread , a mapped by collection field with lazy fetch mode is not initialized in results of a query that uses JOIN FETCH on that collection field (when enhancement is used). support Support Build 2.4.1_06 fixes this issue (fields are now initialized | |
ObjectDB 2.4.5 Added support of lazy loading of mapped by (inverse) singular relationships ( issue #768 ). Added support for using ObjectDB with TomEE / OpenEJB . Improved loading of eager mapped by (inverse) relationships ( issue #769 ). Improved performance of database file extending. Fixed a bug in ignoring |