ObjectDB Database Search
51-96 of 96 results@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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Another behavior of transaction isolation level in comparing to 2.8.7
(queryString, MyEntity.class); q.setHint("objectdb.result-fetch", " LAZY "); List firstQueryResult = q ... .setHint("objectdb.result-fetch", " LAZY "); List secondQueryResult = outerQuery.getResultList
|
|
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
|
|
Speeding up reporting queries with size() on list
(targetEntity = Product.class, fetch = FetchType. LAZY ) private List products; There is only 680
|
|
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
|
|
"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
|
|
Is 2 level cache in use?
hint and check if it helps: query.setHint("objectdb.result-fetch", " lazy
|
|
Does ObjectDB create one instance of each entity class on (web app) load ?
a (mostly) LAZY -only fetch policy across the system. Most of my EJB methods for querying are configurable
|
|
Does ObjectDB support @Parent for @Embeddable reference to parent?
, rather than the annotated fields, as shown on the first post. Sorry, excuse lazy copy-and-paste
|
|
Missing Data on Retrieval (0, null values)
. harald77 Harald The null and 0 values may be the result of lazy loading
|
|
Join query problem with new statetment
;(...) @ManyToMany(targetEntity = Product.class, fetch = FetchType. LAZY )  
|
|
Why the internal error was thrown?
("objectdb.result-fetch", " LAZY "); return q.getResultList(); } btc_es BTC
|
|
OneToMany and cascade delete problem
= Offer.class, mappedBy = "product", fetch = FetchType. LAZY , cascade = CascadeType.ALL) private Set offers
|
|
New to Product & Having An Issue
. LAZY ) public Set getEmployees() { return employees; } public void setEmployees(Set employees
|
|
Performance issue in a query due to compareTo calls
) @ElementCollection private Map values = new HashMap (); @OneToOne (fetch = FetchType. LAZY , cascade
|
|
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
|
|
Beginners questions
") @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @OneToMany (fetch=FetchType. LAZY ,cascade
|
|
Bidirectional OneToMany is slow on updated items
: @OneToMany(cascade = {CascadeType.ALL}, fetch = FetchType. LAZY /*, mappedBy = "person"*/) private Set
|
|
composite index not used in query
we defined a composite index for class Action: @Index(name="ssst",members={"startDate","state","subType","type"}) and an index for the OneToMany @OneToMany(fetch=FetchType. LAZY ) @Index public List objectsInCharge = new ArrayList (); on running a query like select count(a) from Action a JOIN
|
|
Connection is closed (error 526)
Lai Yang Maybe you are trying to load the entire tree into memory. Try replacing EAGER with LAZY
|
|
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
|
|
Dont want to use Proxy Class
objectdb.java.util.ArrayList cannot be disabled, as it is an essential feature that enables lazy partial
|
|
An ArrayIndexOutOfBoundsException with nested entities and enhanced entities
{ @ManyToOne (targetEntity = DataTypeImpl.class, cascade = {CascadeType.ALL }, fetch = FetchType. LAZY
|
|
Fetch Set from DB only works on debug mode
, but I think still being better than using non- lazy data. elnll002 Facundo Curti
|
|
Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)
getSingleton() { return container; } } @ManyToOne(fetch=FetchType. LAZY ) @Id private Container container
|
|
ObjectDB JPA 2.2 support ( java.util.stream.Stream |
|
Annotate a Map field with @ElementCollection or @Basic
is faster at runtime. It could be due to the different default fetch value ( LAZY for 
|
|
Adding EntityListener Throws Unexpected Internal Exception
; @MapsId @ManyToOne(fetch = FetchType. LAZY )  
|
|
Slow searching with two indexes
with the new index with no need for further data retrieval. Another option that can be checked is running the query with lazy fetch . support Support
|
|
Merge on detached entities
are the exact rules how to attach detached entities when the entity manager uses lazy loading
|
|
updating one to many sometimes fails
we did setup automated tests for our system and it seams that in around 1 of 100 cases the update of a one to many collection is not working. Definition: @OneToMany(fetch=FetchType. LAZY ) @Index public List childNodes = new ArrayList (); change of the childNodes within a transaction (a newly
|
|
An InternalException occurs when gets an result list
with query option: query.setHint("objectdb.result-fetch", " LAZY "); btc_es BTC EmbeddedSystems The exception
|
|
Trouble bug on explorer
= FetchType. LAZY ) private List languages; public final int getGid() { return gid; } public final void
|
|
Concerning coding style of the example in the posting instructions
. One example is in: Does ObjectDB support lazy loading? which has initialisation of instance
|
|
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
|
|
Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled
{ @OneToMany(fetch = FetchType. LAZY , cascade = CascadeType.ALL, orphanRemoval = true)  
|
|
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
|
|
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.
|
|
Fetch a whole entity graph eager
a transaction without lazy loading? Best regards btc_es BTC EmbeddedSystems @NamedEntityGraph is currently not
|
|
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.7.3
Fixed a bug in query execution optimization ( issue #2170 ). Fixed cascading delete through unloaded ( lazy ) relationships. Fixed a NullPointerException when using "objectdb.temp.page-file" ( issue #2163 ) Added logging and suspend exception for issue #2153 . Fixed a bug in using SIZE with
|
|
ObjectDB 2.0.0
object. Fixed a bug in lazy loading of instances of non enhanced classes. Added Explorer support of ID
|