ObjectDB ObjectDB

Internal Website Search

31-40 of 69 resultsRefresh

EntityManager.refresh takes a long time

<>(); @OneToOne(cascade = CascadeType.ALL) private SiteAuth siteAuth; private DialogAction ... City city; @OneToOne(cascade = {CascadeType.PERSIST}) private Image mainImage; @OneToOne(cascade = {CascadeType.PERSIST}) private Album mainAlbum; @OneToMany(mappedBy

Mapped By Fetch is very Slow

again :( ). Here is the test case : 1- Create 100 000 entities with for each 1 entity with @OneToOne(mappedBy ... .persistence.Id; import javax.persistence.OneToOne; @Entity public class MyEntity { @Id private ... MyEntityChild entityChild = null;   @OneToOne(targetEntity = MyEntityChild.class, cascade = CascadeType

@OneToMany(fetch = FetchType.LAZY) list is always null

containing another one (OneToOne) entity with a byte[] array without calling the getter of the array ... and setters } public class Parent { // ...id @OneToOne(fetch = FetchType.LAZY, cascade ... .AUTO) private int id; @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType

Pre-detach loading: retrieval by navigation not working in if statement

BooleanValue entity. This is @OneToOne with explicit LAZY fetch. - A BooleanValue entity wraps ... wrapper FloatQuantity entity. This is @OneToOne with explicit LAZY fetch. - A FloatQuantity entity ... it, which one can confirm with javap -c bytecode inspection. The @OneToOne entity variable 'present

Version 2.2.7 build 7/8 issue

with null objects! With builds 6 and 5 works it correctly. Removing mappedBy from @OneToOne(mappedBy ... private Long id; @Basic(optional=false) private String name; @OneToOne ... ; @OneToOne(mappedBy = "address") private Customer customer; public Customer

Multiple Collection Fields not update correctly

and they both reciprocally do: EntityB: @OneToOne(cascade = CascadeType.ALL) EntityA entityA; EntityA: @OneToOne(cascade

Multi threading on DMOs by lazy loading

It is possible to use lazy loading on fields of attached entities by several threads? Example: class EntityZ { @OneToOne(fetch = FetchType.LAZY) EntityX fieldX; @OneToOne(fetch = FetchType.LAZY) EntityY fieldY; @ElementCollection (fetch = FetchType.LAZY) List

Database(*.odb) file size on disk

; import javax.persistence.Id; import javax.persistence.OneToOne; import javax.persistence ... ++;   }   @Id   int id;   @Basic   Integer value;   @Basic   String strValue;   @OneToOne

NullPointerException when using multithreading

; @Id private String secondId; @OneToOne(cascade=CascadeType.ALL) private HashMap<String, EmbeddableA> myMap; } @Embeddable public class EmbeddableA { @OneToOne(cascade ... EmbeddableB { @OneToOne(cascade=CascadeType.ALL) private HashMap<String, Object> myMap; } I'm

ClassCastException after upgrade to 2.3.5_03

{ @Id String id; @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType.EAGER) private Object payload; @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType

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