Home » Search

About OneToOne

41-50 of 62Refresh
Forum
2

Problem with @Basic(fetch = FetchType.LAZY)

code with @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)     private LargeString description;     @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)     private
Forum
2

Upgrade to 2.4.1_01

our code for 2.3.7_18, we had @OneToOne(cascade=CascadeType.ALL, fetch=FetchType.EAGER ... .objectdb.o.EMR.q(EMR.java:79) at com.objectdb.jpa.EMImpl.merge(EMImpl.java:451) ... 24 more @OneToOne
Forum
2

Composite indexes

? @OneToOne, @ManyToOne? I don't want to start with complex example, so maybe I'll try to explain ... also on relations? @OneToOne, @ManyToOne? Yes. They are useful when the query includes navigation between entities (directly or using JOIN).  
Forum
2

Extra uninitialised entities spawned on merge()

with a relationship @OneToOne Element child. package test; import java.util.*; import javax.persistence ... ");             addOwnedElement(child);         }         private Element child;         @OneToOne
Forum
1

Are indexes implicitly created for relationships?

Do the following annotations @OneToMany @ManyToOne @ManyToMany @OneToOne imply @Index  ? Thanks, Carl   Actually these annotations (except @ManyToMany) should apply @Unique on the @One side. But ObjectDB doesn't apply these indexes automatically, because of their overhead (which most users are not
Issue
1

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null

;         @OneToOne     public NewsDetails details; //not used     @Temporal(javax.persistence.TemporalType
Issue
1

com.objectdb.o.InternalException: null

PersistableObject {     @OneToOne(mappedBy = "spouse")     private Customer spouse = null;     private
Forum
1

Database Inconsistency or corruption

String name;   private Long revision;   @javax.persistence.OneToOne(      cascade=javax.persistence
Forum
1

Error 363 - Failed to read value of inverse relationship

signUpDate = new Date(), signInDate; @Embedded @OneToOne private PersonalData
Forum
1

Help understanding Entity behavior with JPA

Hi Support,   We have a entity with an @Id entity which we then put into a list and store in an different entity inside a field defined as:   @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType.EAGER) private Object payload; the list that we put in the 'payload' is an java.util