ObjectDB Database Search
51-100 of 136 resultscan't get HashMap out of the database signingDate; @OneToMany(fetch=FetchType.EAGER, cascade= CascadeType ... .EAGER, cascade= CascadeType .ALL) private ArrayList guests = new ArrayList | |
Object explorer cannot open odb file. ObjectDB many-to-many relationship { @Id @ManyToOne(cascade = CascadeType .ALL, optional = false) private User user; @Id @ManyToOne(cascade = CascadeType | |
Double persist of Entity field with Cascade.ALL I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType .ALL property. The Book fields are as ... bookTitle; @OneToMany(cascade= CascadeType .ALL, fetch= FetchType.EAGER) private List chapters; The Chapter | |
Problem with @Basic(fetch = FetchType.LAZY) with @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType .ALL) private LargeString description; @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType .ALL)   | |
LAZY @ManyToOne field functions as EAGER; @ManyToOne(fetch=FetchType.LAZY, cascade= CascadeType .ALL) C ... ; @ManyToOne(fetch=FetchType.EAGER, cascade= CascadeType .ALL) C | |
Detaching objects after JOIN FETCH.LAZY, cascade = CascadeType .ALL) List aClasses; } Now, I want to fetch all B classes ... thought, that after join fetch and CascadeType .DETACH list of A classes should be accessible from B | |
Optimistic locking: prevent version increment on entity collection attribute", cascade= CascadeType .PERSIST) private List readings = new ArrayList ... = 0; @Id private long id = ID_SEQ++; @OneToMany(mappedBy="document", cascade= CascadeType .PERSIST | |
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 (); Are these classes(SomeClass, SomeClass2), when not | |
How to delete M2M relationship? = CascadeType .ALL) @Cascade(org.hibernate.annotations. CascadeType .ALL)   | |
@Column( name = "columnName") doesn't work, cascade = CascadeType .ALL) @Column( name = "DATA_ITEMS" ) private List dataItems; @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType .ALL) private AfwCodedDataBlock codedDataBlock; private int level | |
Weird behaviour with enhanced classes and embedded entities.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import javax.persistence. CascadeType ... ; int id; @OneToMany(cascade = CascadeType .ALL, fetch = FetchType | |
A lot of ENT and SIV instances which are not cleared by GC another ones. Also I've added cascade= CascadeType .DETACH or CascadeType | |
ObjectDB Explorer don't show ManyToOne relations;@ManyToOne (targetEntity = ModelElementImpl.class, cascade = { CascadeType .REFRESH}) private ModelElement ... ;@ManyToOne (targetEntity = ModelElementImpl.class, cascade = { CascadeType .REFRESH}) private | |
Mapped By Fetch is very Slow : The entity : import javax.persistence. CascadeType ; import javax.persistence.Entity; import javax ... = null; @OneToOne(targetEntity = MyEntityChild.class, cascade = CascadeType .ALL,mappedBy | |
Lazy loading does not work - crud takes long; @OneToMany(cascade = CascadeType .ALL, orphanRemoval = true, mappedBy="project",fetch = FetchType.LAZY)   ... = CascadeType .ALL, orphanRemoval = true, mappedBy="project",fetch = FetchType.LAZY)   | |
significant performance decrease) public List precessors = new ArrayList (); @OneToMany(fetch=FetchType.LAZY,cascade= CascadeType .REMOVE ... = new ArrayList (); @OneToMany(fetch=FetchType.LAZY,cascade= CascadeType .REMOVE) public List | |
Database Inconsistency or corruption(cascade=javax.persistence. CascadeType .ALL, fetch = javax.persistence.FetchType.EAGER ... .persistence.OneToOne( cascade=javax.persistence. CascadeType .ALL,   | |
Foreign key constraint issue(cascade = { CascadeType .MERGE, CascadeType .REMOVE}, mappedBy = "parent", orphanRemoval = true)   | |
Is there any restriction when using fetch=FetchType.LAZY ? am using in object declaration @OneToMany(fetch=FetchType.EAGER, cascade = CascadeType .ALL) private ... @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType .ALL) private LinkedList referencedObj | |
Why are my Map entries not stored?, cascade= CascadeType .ALL, mappedBy = "ticket", orphanRemoval=true ... = FetchType.EAGER, cascade= CascadeType .ALL, orphanRemoval=true) @MapKey(name="state") @MapKeyEnumerated | |
General Performance Issues Illustrated with a Specific Method.persistence. CascadeType ; import javax.persistence.Entity; import javax.persistence.FetchType; import javax ... (cascade = CascadeType .ALL,fetch = FetchType.EAGER) private Person person; @Index private String phn | |
Multiple Collection Fields not update correctly to another entity and they both reciprocally do: EntityB: @OneToOne(cascade = CascadeType ... = CascadeType .ALL) EntityB entityB; If I make only one of the cascade, then this bug | |
mappedBy problem it. You will have to add cascade= CascadeType .PERSIST to the mapped by field, unless you have global | |
Does ObjectDB support lazy loading? A { @Id @GeneratedValue Long id; @OneToMany(fetch=FetchType.LAZY, cascade= CascadeType .ALL) List list | |
Error 363 - Failed to read value of inverse relationship(); private String text; @OneToMany(/*fetch=FetchType.LAZY, cascade= CascadeType .ALL, */mappedBy | |
Different behavior with persist() and queried instances? Hi, We have a simple class that by itself contains (among others) a property pointing to a collection: class Bla { @OneToMany(cascade = CascadeType .ALL) private List metaAttributes = new ArrayList (); } Now we do a simple em.persist(BlaInstance | |
how to query by properties of onetomany relations? (Error 990) class Foo { @OneToMany(cascade= CascadeType .PERSIST)   | |
TemporalType injection with Calendar using JPA(TimePeriod id) { this.id = id; } @OneToMany(cascade=javax.persistence. CascadeType .ALL,fetch=javax | |
On initialisation of lists: impact on migration from EclipseLink to ObjectDB, will be done by EntityManager.persist() @OneToMany(cascade= CascadeType .ALL) public List getBlocks | |
Removing an entity throws exception; @OneToOne(cascade= CascadeType .ALL, fetch=FetchType.EAGER,   | |
OrphanRemoval not working? Dear all, I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements Serializable { ... @OneToMany(mappedBy="invoice", fetch=FetchType.EAGER, orphanRemoval=true, cascade= CascadeType | |
Items in list are doubled, when the entity class is not enhanced; cascade= CascadeType .ALL,orphanRemoval=true) List | |
LEFT (OUTER) JOIN problem when mappedBy is defined, cascade= CascadeType .ALL) private List itemList = new ArrayList (); private String name; public | |
Version 2.2.7 build 7/8 issue; @Basic(optional=false) private String name; @OneToOne(cascade= CascadeType .ALL, fetch= FetchType.EAGER | |
OneToMany and cascade delete problem = Offer.class, mappedBy = "product", fetch = FetchType.LAZY, cascade = CascadeType .ALL) private Set offers | |
Storing objects problem adding an annotation to a reference: @OneToMany(cascade= CascadeType .PERSIST)   | |
Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error(cascade = CascadeType .ALL) @SuppressWarnings("unused") private | |
Failing to read entities under load in multithreaded tests = 6249921651146397564L; @OneToOne(cascade= CascadeType .REFRESH, fetch=FetchType.EAGER) private TestEntity | |
Persisting collection where members are subclasses; @OneToMany(cascade= CascadeType .PERSIST)   | |
Issue with orphanRemoval and multiple EntityManagers; @OneToMany(cascade= CascadeType .ALL, fetch=FetchType.EAGER, orphanRemoval=true)   | |
Extra uninitialised entities spawned on merge(); cascade = CascadeType .ALL )   | |
ClassCastException after upgrade to 2.3.5_03, cascade= CascadeType .ALL, fetch=FetchType.EAGER) private Object payload; @OneToOne(orphanRemoval=true, cascade= CascadeType .ALL, fetch=FetchType.EAGER) private Map metadata; ... In this case the "payload | |
Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled. CascadeType ; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence ... { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType .ALL, orphanRemoval = true)   | |
Freeze during save { @ManyToOne(cascade= CascadeType .PERSIST) MyNode parent; @OneToMany(cascade= CascadeType .PERSIST) List | |
NullPointerException on TreeSet load public static class MyEntity { @OneToMany(cascade= CascadeType ... { @OneToMany(cascade= CascadeType .PERSIST, fetch = FetchType.EAGER)   | |
[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null; } @OneToMany(cascade=javax.persistence. CascadeType .ALL,fetch=javax.persistence.FetchType.EAGER | |
Navigation through lazy loading from Detached Objects; @OneToMany(cascade= CascadeType .PERSIST)   | |
ArrayIndexOutOfBoundsException on flush(orphanRemoval=true, cascade= CascadeType .ALL) private Map _nodes; The TaskNode contains a further Entity | |
Issue with cascade delete & add/remove(cascade = CascadeType .ALL, orphanRemoval = true) private List | |
Weird issue with variable naming.persistence. CascadeType ; import javax.persistence.Embeddable; import javax.persistence.Entity; import |