ObjectDB Database Search
101-150 of 179 resultsProblem witch CriteriaBuilder isMember(..) class Container { @ElementCollection( fetch = FetchType.EAGER) List testlist1 = new LinkedList (); @ElementCollection( fetch = FetchType.EAGER)   | |
Cannot save or update entity on Spring App("...").executeUpdate() 0; } } While the fetching methods work, there are two huge problems: the persist ... entityManagerFactoryBean; } Ieodaq Daniele Lotti While the fetching methods work, there are two huge | |
Some technical questions an attribute of an object, but don't commit yet. Can another transaction fetch this object ... an attribute of an object, but don't commit yet. Can another transaction fetch this object without blocking | |
Possible issue with Spring JPA and Embedded after detach. Your Spring JPA test passes if you set eager fetch for that collection: @ElementCollection( fetch =FetchType.EAGER) public List getRules() {   | |
Slow searching with two indexes for a way to optimise this querying. What I'm trying to fetch in my queries are a limited ... 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 | |
Problem with merging / persisitng objects with @Embeddable field Serializable, Convertable { (...) @ElementCollection( fetch = FetchType.EAGER) List productSets; @Embeddable public class ProductSet implements Serializable { @ManyToMany( fetch = FetchType.EAGER, cascade | |
Group by: list if no aggregate function is specified, then fetching children list for each parent - not a good idea. Thank you. Vladiator Vlad Myachikov You may use JOIN FETCH for this purpose. support Support | |
Difference performance in ObjectDB Explorer and in java project, but requires further round-trips to fetch related data. You can try it also from your program: query.setHint("objectdb.result- fetch ", "LAZY"); support Support Thank you, is where any | |
Adding multi part path index on non-embedable object member Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two members below. @Entity public class Customer { @MapsId @ManyToOne( fetch = FetchType.LAZY) private Merchant merchant; @MapsId @ManyToOne( fetch | |
LifeCycle Event with Embeddable classes Hello, is there a way that lifecycle events like prepersist or preupdate are also fired for embeddable classes, not just for entities? My case looks as follows: @Entity public class Foo { @Id @GeneratedValue private Long id; private String description; @OneToMany(cascade = CascadeType.ALL, fetch | |
Double persist of Entity field with Cascade.ALL bookTitle; @OneToMany(cascade= CascadeType.ALL, fetch = FetchType.EAGER) private List chapters; The Chapter | |
Java 8 Enhancer Problem fetch , detach, change and merge an object I get the following exception: Caused by: com.objectdb.o | |
Speeding up reporting queries with size() on list(targetEntity = Product.class, fetch = FetchType.LAZY) private List products; There is only 680 | |
Explorer in 2.3. Then at the bottom of the table or tree, have a link to fetch the next N. This should also apply to collections | |
Level 2 cache not hit in @ManyToOne without performance penalty. You can change this behavior by setting the "objectdb.result- fetch " query hint | |
"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 | |
find() cost unreasonable time!="parent", fetch =FetchType.EAGER) protected List Sons; function of checking: private static void | |
Missing Data on Retrieval (0, null values)) then you must make sure that data is fetched from the database before you your first reflection operation | |
Migration problem://gauthier-cassany.com/posts/spring-boot-hibernate-search-conditional-indexing @Basic( fetch = FetchType | |
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 | |
TemporalType injection with Calendar using JPA(TimePeriod id) { this.id = id; } @OneToMany(cascade=javax.persistence.CascadeType.ALL, fetch =javax | |
OneToMany and cascade delete problem = Offer.class, mappedBy = "product", fetch = FetchType.LAZY, cascade = CascadeType.ALL) private Set offers | |
ObjectDB CRUD Examples for running a query. After closing the EntityManager , only data that was eagerly fetched will be available | |
OrphanRemoval not working? Dear all, I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements Serializable { ... @OneToMany(mappedBy="invoice", fetch =FetchType.EAGER, orphanRemoval=true, cascade=CascadeType | |
New to Product & Having An Issue() { return name; } public void setName(String name) { this.name = name; } @OneToMany( fetch =FetchType | |
Beginners questions") @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @OneToMany ( fetch =FetchType.LAZY,cascade | |
Get multiple entities by Id I'm trying to fetch a list of entities, by their Id. I Use this query: SELECT c FROM User c WHERE c.id IN :ids This querey works as long as I don't set the property "id" as @Id. If i set @Id to any other member, this query works, if I set id as @Id, it stops working and gives zero results | |
Embedded and autosync and creates new data there at time t, then will other users making a fetch call for that data in any | |
Bidirectional OneToMany is slow on updated items: @OneToMany(cascade = {CascadeType.ALL}, fetch = FetchType.LAZY/*, mappedBy = "person"*/) private Set | |
Does aggregate function "greatest" work on entity objects? = ChatAttachment.class, fetch = FetchType.EAGER) private List attachments; private boolean isSystem; private | |
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 | |
Composite indexes rating in scale from 1.0 to 10.0 @ElementCollection( fetch = FetchType.EAGER) List filterDescription | |
Query only works correctly when debug printing results.com/forum/2032 support Support Setting the fetch type of the List to eager via annotation solved the problem. Thanks. Sweetwater Marc | |
LEFT (OUTER) JOIN problem when mappedBy is defined public class Invoice { @OneToMany(mappedBy = "invoice", fetch = FetchType.EAGER, orphanRemoval=true | |
ObjectDB 2.2.4 objects in criteria queries . Improved Explorer performance by disabling EAGER fetch . Fixed critical ... in using JOIN FETCH with DISTINCT. Fixed Metamodel API's getTypeId method to support single ID field . | |
ObjectDB 2.3.3 Improved compilation performance of OR queries with many elements. Fixed eager fetch of maps and nested embedded objects. Fixed a bug in removing a new flushed entity object before first commit ... on merge to be called after merging fields ( issue #551 ). Fixed eager fetch of collections | |
ObjectDB 2.5.1 Added support of editing enum values in the Explorer. Added logging of type registration . Added error message when using mapped by (inverse) collections and maps of invalid types. Changed JOIN FETCH to act as LEFT JOIN in path expressions. Updated the PDF manual. Fixed a possible deadlock | |
"is not null" queries not working with index "is not null"-queries are not working correctly for indexed fields. Following SSCCE creates 1000 entities. A null value is assigned to an indexed field for every second entity. When doing count-queries at the end, wrong results are fetched . import java.io.Serializable; import javax.jdo.annotations | |
new database error.entities. fetch .FetchSkill.FetchWhere_Id(FetchSkill.java:50) at org.radius.entities.add.AddAgentSkill | |
ObjectDB 2.3.6 bug in the default fetch policy. Fixed a new bug in retrieving byte[] ( issue #624 ). Fixed a bug in | |
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.8.6_06 Improved performance following a large eager fetch ( issue #2694 ). | |
Enum fields are set to null and embeddable enum class does not show in explorer( fetch = FetchType. EAGER ) @Enumerated(EnumType. STRING ) private List roles = null ; itsme Martin | |
[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null; } @OneToMany(cascade=javax.persistence.CascadeType.ALL, fetch =javax.persistence.FetchType.EAGER | |
com.objectdb.o.InternalException: null = Payment.Periodicity.QUARTERLY; @OneToMany(mappedBy = "customer", fetch | |
ObjectDB 2.2.7 applying nested eager fetch when enhancement is disabled. Fixed the "Annotated methods must follow the JavaBeans naming convention" exception ( issue #325 ). | |
ObjectDB 2.3.5 Added support of DATE(...) and TIME(...) methods in queries. Added new Explorer and Server exe (for Windows 7 and 64 bits). Fixed handling a Calendar parameter value in criteria queries. Fixed using type operator and literals in client server queries ( issue #605 ). Fixed eager fetch issues. Fixed | |
Unexpected exception (Error 990) on find String key; @ElementCollection( fetch =FetchType.EAGER)   |