ObjectDB ObjectDB

Internal Website Search

21-30 of 69 resultsRefresh
21

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
21

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
21

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
15

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
15

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
5

PrimaryKeyJoinColumn.referencedColumnName

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

javax.persistence.FetchType

ElementCollection ManyToMany OneToMany ManyToOne OneToOne FetchType EAGER Defines that data
5

javax.persistence.AssociationOverrides

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

javax.persistence.MapsId

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
3

ArrayIndexOutOfBoundException

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