ObjectDB ObjectDB

Internal Website Search

31-40 of 93 resultsRefresh
13

Error: Failed to write value of field X using reflection (oneToMany relation)

, but I can go through this. I have a clase named Pedido, that have a reference ManyToOne to a clase ... ; @Embedded private Direccion origen; @ManyToOne(optional=true) private Cliente cliente ... reflection What's wrong with this? I suppose i'm making a bad connection on the oneToMany - manyToOne
11

Optimistic locking: prevent version increment on entity collection attribute

the reading will be done from the DB but no success. I have tried to add ManyToOne of the owning ... ManyToOne of the owning side (Readings), This should not make any difference. > added EAGER fetch
11

Missing (null) elements in eager loaded references

<Element> children; @ManyToOne private Element parent; etc... } and: @Entity public ... .EAGER) private List<DataElement> children; @ManyToOne private DataElement parent
11

OneToMany and cascade delete problem

{ @ManyToOne private Product product; @ManyToOne private Store store; } Naming
11

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

serialVersionUID = 1L; @ManyToOne @Index private City city; @OneToMany ... ; @ManyToOne @Index private Person owner; private String name; public
11

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

.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence ... {   @Id   @GeneratedValue   private long id;   @ManyToOne(fetch = FetchType.LAZY, cascade
11

Merge with Parent/Child entities not possible

javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToOne ... long id;   @ManyToOne(fetch = FetchType.LAZY, cascade = { CascadeType.PERSIST, CascadeType.MERGE
11

Composite indexes

? @OneToOne, @ManyToOne? I don't want to start with complex example, so maybe I'll try to explain ... field used also on relations? @OneToOne, @ManyToOne? Yes. They are useful when the query includes
11

Object explorer cannot open odb file. ObjectDB many-to-many relationship

(Assignement.PK.class) public class Assignement {     @Id @ManyToOne(cascade = CascadeType.ALL, optional = false)     private User user;         @Id @ManyToOne(cascade = CascadeType.ALL, optional
2

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

; } @Override public void setId(Long id) { this.id = id; } @ManyToOne ... ;         @ManyToOne         public Account account;         public Account getAccount

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