ObjectDB ObjectDB

Internal Website Search

51-60 of 86 resultsRefresh
11

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
11

Relationships and tracking changes

= GenerationType.AUTO) private Long id; @OneToMany (fetch=FetchType.LAZY,cascade=CascadeType.ALL, mappedBy ... should be used in mappedBy. See also this manual page. support Support
8

Remove not working

A { @OneToMany(mappedBy="a", cascade=CascadeType.REMOVE) private List bs
8

_PersistenceException: Type is not found on getSingleResult.

;     @ManyToOne     private Municipio lugarNacimiento;         @OneToMany(mappedBy = "estudiante
8

"Failed to serialize instance" of Set problem

Hi, I'm trying to persists objects defined as follows: @Entity @Inheritance(strategy = InheritanceType.SINGLE_TABLE) public abstract class AbstractContainer { ... @OneToMany(fetch = FetchType.LAZY, mappedBy="parent") private Set<AbstractContainer> abstractContainers = com.google.common
8

Problem with queries on lists with reverse mapping

query. If the "team" is omitted from the player and targetEntity = Player.class, mappedBy = "team
8

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
8

Beginners questions

=CascadeType.ALL, mappedBy="VERLAG_ID") private List<EBUser> users; Table "EBUser": @Entity(name="USER
8

Is it possible to remove parent/child entities without refresh?

  private long id;   @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy
8

Merge with Parent/Child entities not possible

= FetchType.LAZY, cascade = CascadeType.ALL, mappedBy = "parent", orphanRemoval = true)   @MapKey

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