Internal Website Search

41-50 of 200 resultsRefresh

persisting object with long[][] arrays of array

; @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) public long[] time;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private long[][] a1;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private long[][] a2;  

Persist error @ManyToMany how to define correct entities relationships

Serializable { @Id @GeneratedValue private long id; @ManyToMany(cascade=CascadeType ... ; @ManyToMany(cascade=CascadeType.PERSIST) private List<Category> categories = new ... private long id; @ManyToMany(cascade=CascadeType.PERSIST

NullpointerException when execute a commit

.objectdb.o.TVS.cascade( at com.objectdb.o.STA.Q( at com.objectdb.o.STM ... .java:156) at com.objectdb.o.TVS.j( at com.objectdb.o.TVS.cascade( ... ;cascade>      <cascade-all />     </cascade>

Freeze during save

) at com.objectdb.o.TVS.e( at com.objectdb.o.TVS.cascade( ... with cascading a persist operation. But more information is needed in order to find out the cause. Currently there is no similar open issue. During cascading objects are tracked and every object


that have been removed from the relationship and to cascade the remove operation to those entities.


Enum Constant javax.persistence.CascadeTypeREFRESH Cascade refresh operation


Enum Constant javax.persistence.CascadeTypePERSIST Cascade persist operation


Enum Constant javax.persistence.CascadeTypeREMOVE Cascade remove operation


Enum Constant javax.persistence.CascadeTypeALL Cascade all operations


Enum Constant javax.persistence.CascadeTypeMERGE Cascade merge operation