ObjectDB ObjectDB

Internal Website Search

21-30 of 69 resultsRefresh

Performance issues on aggregate query

objectNameUpper; @OneToOne @Index public ObjectType objectType; @Index public Integer state; public Map<String ... ArrayList<ObjectNode>(); @OneToOne(fetch=FetchType.LAZY) //@Index public ObjectNode currentLocation; @OneToOne(fetch=FetchType.LAZY) @Index public ObjectNode currentOperation; @OneToMany(fetch=FetchType.LAZY

significant performance decrease

nodeToProcess; @Index public String objectName; @OneToOne public ObjectType objectType ... ArrayList<ObjectNode>(); @OneToOne(fetch=FetchType.LAZY) public ObjectNode currentLocation; @OneToOne(fetch=FetchType.LAZY) public ObjectNode currentOperation; @OneToMany

Left join fetch behaviour doesn't retrieve children?

. This just break the test ! Test by yourself by adding / removing the mappedBy on the OneToOne annotation ... ) {    this.name = name;   }   // @OneToOne(targetEntity = MyEntityChild2.class)   @OneToOne ... again :( ). Here is the test case : 1- Create 100 000 entities with for each 1 entity with @OneToOne

General Performance Issues Illustrated with a Specific Method

; import javax.persistence.ManyToOne; import javax.persistence.OneToOne; import javax.persistence.Table ... ) private Long id; private static final long serialVersionUID = 1L; @Index @OneToOne

Performance issue in a query due to compareTo calls

private Map<Integer, String> values = new HashMap<>(); @OneToOne (fetch = FetchType.LAZY ... private long stepNumber; @OneToOne (fetch = FetchType.EAGER) private TCStep step ... Identifiable { @OneToOne (fetch = FetchType.EAGER) private TCStep step; btc_es BTC


key column for the table for the referencing entity (OneToOne mapping). Default value: "" Since: JPA 1.0


ElementCollection ManyToMany OneToMany ManyToOne OneToOne FetchType EAGER Defines that data


protected Integer version; @ManyToOne protected Address address; @OneToOne protected


javax.persistence Annotation MapsId Target: Fields (including property get methods) Designates a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or a simple primary key of the parent entity


CacheableJobStat { @OneToOne(fetch = FetchType.EAGER) private CacheableJobInfo ji; @OneToOne(fetch ... , but explicitly by calling persist. The problem dissapeared when removing the @OneToOne(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