About FetchType

71-80 of 131Refresh
Forum
1

Problem with merging / persisitng objects with @Embeddable field

, Convertable { (...) @ElementCollection(fetch = FetchType.EAGER) List productSets; @Embeddable public class ProductSet implements Serializable { @ManyToMany(fetch = FetchType.EAGER
Issue
1

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

.FetchType; import javax.persistence.OneToMany; import javax.persistence.Persistence; import org ... ;   } } @Entity public static class ParentEntity {   @OneToMany(fetch = FetchType.LAZY, cascade
Issue
1

spuriously objectdb objects have null references

=FetchType.LAZY) @Index public List actions = new ArrayList(); ... @OneToMany(fetch=FetchType.LAZY) @Index public List childNodes = new ArrayList
Forum
1

TreeSet and compareTo() issue

fetch: @OneToMany(fetch = FetchType.EAGER) private Set dropdownValues = new ... :     @OneToMany(fetch = FetchType.EAGER, cascade=CascadeType.PERSIST)     private Set
Forum
1

Trouble bug on explorer

; private boolean allowIdWaitMe; @OneToOne(fetch = FetchType.EAGER) private Language mainLanguage; @OneToMany(fetch = FetchType.LAZY) private List languages
Forum
1

Weird behaviour with enhanced classes and embedded entities

.FetchType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence ... ;     @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER)     private List
Forum
1

GWT RPC is throwing serialization exception when I have object db date value

, detaching does work for this issue, thank you! But now I have to set fetchtype and cascadetype ... (fetch = FetchType.EAGER, cascade = CascadeType.ALL) private List transactions
Forum
1

"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
Issue
1

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

=javax.persistence.FetchType.EAGER) public List getPoints() { return points
Forum
1

Adding EntityListener Throws Unexpected Internal Exception

() {         super(Product.class);     }     @MapsId     @ManyToOne(fetch = FetchType.LAZY