ObjectDB ObjectDB

Internal Website Search

71-80 of 142 resultsRefresh
9

Database Inconsistency or corruption

.persistence.CascadeType.ALL, fetch = javax.persistence.FetchType.EAGER, orphanRemoval = true) @javax ... ; @javax.persistence.OneToOne( cascade=javax.persistence.CascadeType.ALL, fetch=javax.persistence.FetchType
9

GWT RPC is throwing serialization exception when I have object db date value

for this issue, thank you! But now I have to set fetchtype and cascadetype explicit (which is no problem ... = CascadeType.ALL) private List<Transaction> transactions; Simson Simon That's true. In JPA, objects
9

A lot of ENT and SIV instances which are not cleared by GC

) I don't see any differences of this entities from another ones. Also I've added cascade=CascadeType.DETACH or CascadeType.ALL to every relationship because it doesn't detach without it. Vladiator Vlad
9

Why are my Map entries not stored?

id;     @OneToMany(fetch = FetchType.EAGER, cascade=CascadeType.ALL, mappedBy = "ticket ... =CascadeType.ALL, orphanRemoval=true) @MapKey(name="state") @MapKeyEnumerated(EnumType.STRING
9

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
9

Detaching objects after JOIN FETCH

{ @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want ... is closed, B.aClasses is always null. I thought, that after join fetch and CascadeType.DETACH list
9

Foreign key constraint issue

= {CascadeType.MERGE, CascadeType.REMOVE}, mappedBy = "parent", orphanRemoval = true) List<Child
9

Lazy loading does not work - crud takes long

= CascadeType.ALL, orphanRemoval = true, mappedBy="project",fetch = FetchType.LAZY)     private List<Datapoint> datapoint;         @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true, mappedBy
1

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

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

NullPointerException on TreeSet load

(cascade=CascadeType.PERSIST)         Set<MyElement> set = new TreeSet();     }          @Entity ... {         @OneToMany(cascade=CascadeType.PERSIST, fetch = FetchType.EAGER)         Set<MyElement> set

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