ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh

Is there any restriction when using fetch=FetchType.LAZY ?

object declaration @OneToMany(fetch=FetchType.EAGER, cascade = CascadeType.ALL) private ... @OneToMany(fetch=FetchType.LAZY, cascade = CascadeType.ALL) private LinkedList<OdbObject

Performance issues on aggregate query

<ObjectNode> precessors = new ArrayList<ObjectNode>(); @OneToMany(fetch=FetchType.LAZY,cascade ... >(); @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.REMOVE) public List<ObjectProperty> supportingData

Merge on detached entities

was not yet loaded. The cascade type for this reference was set to ALL. Then we tried to merge ... . What settings on annotations are needed regarding fetch types and cascades. Kind regards btc_es

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

; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) @Column( name = "DATA_ITEMS" ) private List<AfwDataKeyItem> dataItems; @OneToOne(fetch = FetchType.LAZY, cascade

Problem with @Basic(fetch = FetchType.LAZY)

, cascade = CascadeType.ALL)     private LargeString description;     @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL)     private LargeString code; Nothing special about the LargeString

Database(*.odb) file size on disk

(cascade = CascadeType.ALL)   EntityB entityB = null; } @Entity public static class EntityB

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.ALL) private List<InvoiceItem> invoiceItemList

First persist takes long time

objectDB.conf for the example: <cascade-persist always="auto" on-persist="true" on-commit="true

ObjectDB 2.4.0

collections). Fixed object duplication on cascading merge (issue #595). Fixed an InternalException in query

database corrupt

" /> <cache ref="weak" level2="8192mb" /> <fetch hollow="true" /> <persist serialization="false" /> <cascade

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support