Home » Search

About OneToMany

81-90 of 144Refresh
Issue
1

spuriously objectdb objects have null references

){ } } } ...   the reference definitions are (for the null references above): ... @OneToMany(fetch=FetchType.LAZY) @Index public List actions = new ArrayList(); ... @OneToMany
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

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

Weird issue with variable naming

javax.persistence.OneToMany; import javax.persistence.Persistence; import javax.persistence.Tuple ... final class MyEntity {   @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true)   public Map
Forum
1

Problem with entities detection

.OneToMany; import javax.persistence.Table; import javax.persistence.Temporal; import javax ... ; @OneToMany(mappedBy = "idAlumno") private List asignaturasAlumnoList
Forum
1

"Problem" with cross join

; @OneToMany(mappedBy="ci") private List content; abstract class CIdata (@Inheritance(strategy
Forum
1

@Column( name = "columnName") doesn't work

; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) @Column( name = "DATA_ITEMS
Forum
1

@Lob @Basic(fetch = FetchType.LAZY) is loaded when it's not needed

Hello. I have a class Thing that contains OneToMany list of classes Photo. Photo contains  @Lob @Basic(fetch = FetchType.LAZY) private byte[] content; And after some queries with Thing (but without loading content of the photos) I get java.lang.OutOfMemoryError: Java heap space (the server
Issue
1

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

) { this.id = id; } @OneToMany(cascade=javax.persistence.CascadeType.ALL,fetch
Forum
1

_PersistenceException: Type is not found on getSingleResult.

;     @ManyToOne     private Municipio lugarNacimiento;         @OneToMany(mappedBy = "estudiante