Home » Search

About OneToOne

51-60 of 62Refresh
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

Failing to read entities under load in multithreaded tests

final long serialVersionUID = 6249921651146397564L; @OneToOne(cascade=CascadeType.REFRESH
Forum
1

Global way to set Lazy-loading fetch functionality for all the fields

Hi, for cascading persist, I have 3 choices: - Either locally (@OneToOne(cascade=CascadeType.PERSIST)) - Either at objectdb level () - Either at JPA global level (orm.xml).   For defining fetch policy, I know the local way
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
Forum
1

LAZY @ManyToOne field functions as EAGER

these cases. Regarding your example, ObjectDB can use lazy loading in OneToOne and ManyToOne
Forum
1

NOT NULL not working

I added a OneToOne Realtionship to one of my entity classes. To  give this field a value in my existing datasets i wrote an upgrade method. The cool thing is that SELECT u FROM Unit u WHERE u.lastPosition IS NOT NULL returns no datasets. Is this a bug or am i missing something? Are you using
Forum
1

openejb jpa jaas module

; @OneToOne private Settings settings; private String phoneNumber; @OneToMany
Forum
1

Removing an entity throws exception

; private String name; private String surname; @OneToOne(cascade=CascadeType.ALL, fetch