ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh
5

Broken @ManyToOne reference

Hi, I have objects of type A belonging to objects of type B, defined as follows: @MappedSuperclass public abstract class A { @Id @ManyToOne(fetch = FetchType.EAGER, cascade=CascadeType.ALL, optional=false) private B b; @Id @Column(length = 36) private String stringId
5

Occasionally slow requests in load testing

" /> <persist serialization="false" /> <cascade-persist always="auto" on-persist="false" on-commit="true
5

Performance tuning, best practices

serialization="false" /> <cascade-persist always="auto" on-persist="false" on-commit="true" /> <dirty
5

Weird behaviour with enhanced classes and embedded entities

;     @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER)     private List
5

Connection is closed Caused by: java.io.EOFException

" /> <cascade-persist always="auto" on-persist="false" on-commit="true" /> <dirty-tracking arrays
5

LifeCycle Event with Embeddable classes

Hello, is there a way that lifecycle events like prepersist or preupdate are also fired for embeddable classes, not just for entities? My case looks as follows: @Entity public class Foo { @Id @GeneratedValue private Long id; private String description; @OneToMany(cascade
5

List always null

", cascade = CascadeType.PERSIST)     private List<Noticia> noticias; I'm trying to save an object
1

Navigation through lazy loading from Detached Objects

;                 @OneToMany(cascade=CascadeType.PERSIST)         List<MyEntity> list;                 MyEntity
1

ObjectDB 2.7.6

Added support of an option to disable broken reference cleaning in the Doctor (feature request #2341). Added support of cascading delete using JDO (feature request #2329). Added logging for "Failed to read from file" error (issue #2322). Added an option for eager background purge of weak references
1

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

.persist(project); //rely on Cascade all on ownedElements. em.getTransaction().commit

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