Home » Search

About cascade

101-110 of 200Refresh
Forum
1

Merge on detached entities

of referenced entities was null - but just because that collection was not yet loaded. The cascade type ... regarding fetch types and cascades. Kind regards Because all the owned persistent fields (excluding
Forum
1

Merge with Parent/Child entities not possible

= FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "parent", orphanRemoval = true)   @MapKey ... long id;   @ManyToOne(fetch = FetchType.LAZY, cascade = { CascadeType.PERSIST, CascadeType.MERGE
Forum
1

Need help to make this test work and define proper annotations for entities Lists

: customer name result.order.name: null Cascading of the persist operation from OrderDat to CustomerDat ... {         ...         @ManyToOne(cascade=CascadeType.PERSIST)         public CustomerDat customer
Forum
1

null pointer exception in objectdb-2.4.4_06

.objectdb.o.TVS.cascade(TVS.java:156) at com.objectdb.o.STA.Q(STA.java:476) at com.objectdb.o.STM.E(STM ... via cascading) an object with a null primary key. Build 2.4.4_17 may provide a better error message in this case. CalculationServices
Forum
1

Object explorer cannot open odb file. ObjectDB many-to-many relationship

(Assignement.PK.class) public class Assignement {     @Id @ManyToOne(cascade = CascadeType.ALL, optional = false)     private User user;         @Id @ManyToOne(cascade = CascadeType.ALL, optional
Forum
1

ObjectDB Explorer don't show ManyToOne relations

= ModelElementImpl.class, cascade = {CascadeType.REFRESH}) private ModelElement parent; } If we use ... .class, cascade = {CascadeType.REFRESH}) private ModelElementImpl parent; } Can you fix this in
Forum
1

OEM enhancing

Hello, I have question regarding OEM licence enhancement. @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private SomeClass[] props; @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private Map vars = new TreeMap
Issue
1

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

= new ArrayList(); @OneToMany(mappedBy = "owner", cascade = CascadeType.ALL) public ... ", cascade = CascadeType.ALL, fetch=FetchType.EAGER) public List getOwnedElements
Forum
1

Performance issues on aggregate query

=FetchType.LAZY,cascade=CascadeType.REMOVE) @Index public List properties = new ArrayList ... ArrayList(); @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.REMOVE) public List
Forum
1

PersistenceException: Failed to locate field

"/> <cascade-persist always = "true" on-persist = "true ... "/>     <cascade-persist always = "true" on-persist = "true" on-commit = "true"/>