ObjectDB ObjectDB

Internal Website Search

181-190 of 200 resultsRefresh
5

Relationship Annatations

hi, what is the purpose of annotating a field with a RDB relationship shuch as OneToMany. ManyToMany etc? sprintf Reuben Alfred Using these annotations is optional in ObjectDB but required by standard JPA. You still need these annotations in ObjectDB to specify cascading / fetch policy and other settings. support Support
5

Detaching objects after JOIN FETCH

Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have two classes: public class A { @ManyToOne B bClass } public class B { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want
5

LEFT (OUTER) JOIN problem when mappedBy is defined

, orphanRemoval=true, cascade= CascadeType.ALL) private List<InvoiceItem> itemList = new ArrayList
5

Does ObjectDB support lazy loading?

A { @Id @GeneratedValue Long id; @OneToMany(fetch=FetchType.LAZY, cascade=CascadeType
5

Annotate a Map field with @ElementCollection or @Basic

cascading. You can also try @OneToMany(fetch=FetchType.EAGER), which may be more appropriate
5

Removing an element from an @OneToMany doesn't work

Hello. I have a Parent and Child entities. // in the parent @OneToMany(mappedBy = "parent", fetch = FetchType.EAGER, cascade = CascadeType.ALL) private List<Child> children; // in the child @ManyToOne private Parent parent; Somewhere I do this: parent.getChildren().remove(0
5

Help understanding Entity behavior with JPA

Hi Support, We have a entity with an @Id entity which we then put into a list and store in an different entity inside a field defined as: @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType.EAGER) private Object payload; the list that we put in the 'payload' is an java.util
5

Relationships and tracking changes

= GenerationType.AUTO) private Long id; @OneToMany (fetch=FetchType.LAZY,cascade=CascadeType.ALL, mappedBy
1

ObjectDB 2.2.4

using flush. Fixed bugs in cascading merge. Fixed a multithreading deadlock bug. Fixed a bug in using
1

ArrayIndexOutOfBoundsException on flush

: @OneToMany(orphanRemoval=true, cascade=CascadeType.ALL) private Map<String, TaskNode> _nodes; The TaskNode

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