ObjectDB ObjectDB

Internal Website Search

21-30 of 147 resultsRefresh
25

Performance problem

due to a massive EAGER fetch that follows the query execution. That eager fetch doesn't happen for example when the query is run the Explorer, and in other cases in which the entity class with the EAGER ... . Please check that class. You probably have EAGER definitions that cause a massive load of objects from
25

General Performance Issues Illustrated with a Specific Method

(cascade = CascadeType.ALL,fetch = FetchType.EAGER) private Person person; @Index ... .IDENTITY) private Long id; @ManyToOne(fetch = FetchType.EAGER) private Item title; private String name; @ManyToOne(fetch = FetchType.EAGER) private Item sex
20

persisting object with long[][] arrays of array

= FetchType.EAGER, cascade = CascadeType.ALL) public long[] time;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private long[][] a1;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL) private long[][] a2;     @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType
5

OneToOne.fetch

Annotation Element javax.persistence.OneToOne FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement ... is a hint to the persistence provider runtime. Default value: javax.persistence.FetchType.EAGER Since: JPA 1.0
5

javax.persistence.PersistenceUnitUtil

if all attributes for which FetchType.EAGER has been specified have been loaded. The isLoaded(Object ... .EAGER has been specified have been loaded. The isLoaded(Object, String) method should be used
5

javax.persistence.FetchType

> Defines strategies for fetching data from the database. The EAGER strategy is a requirement ... ElementCollection ManyToMany OneToMany ManyToOne OneToOne FetchType EAGER Defines that data
5

javax.persistence.OneToOne

loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider ... provider runtime. Default value: javax.persistence.FetchType.EAGER Since: JPA 1.0 String mappedBy
4

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

here. Try setting the fetch type of ownedElements to EAGER and check if it affects. Transparent ... before detachment The easiest way is to set the fetch type to EAGER: @OneToMany(mappedBy = "owner", cascade = CascadeType.ALL, fetch=FetchType.EAGER) public List<Element> getOwnedElements
3

isLoaded(entity)

for which FetchType.EAGER has been specified have been loaded. The isLoaded(Object, String) method
3

javax.persistence.ElementCollection

. The EAGER strategy is a requirement on the persistence provider runtime that the collection elements

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