ObjectDB ObjectDB

Internal Website Search

41-50 of 147 resultsRefresh
18

find() cost unreasonable time!

="parent") protected Nodes parent; @OneToMany(mappedBy="parent",fetch=FetchType.EAGER) protected ... ") protected Nodes parent; @OneToMany(mappedBy="parent",fetch=FetchType.EAGER) protected List ... mappedBy="parent" from the definition of Sons:     @OneToMany(fetch=FetchType.EAGER) Initialize
17

EntityManager JPA or JDO impl and different behavior

;         }                 @OneToMany(cascade=CascadeType.PERSIST, fetch=FetchType.EAGER)         public List ... .ALL,                    fetch=FetchType.EAGER, orphanRemoval=true)         //@ElementCollection(fetch=FetchType.EAGER ... , someObject> with eager fetch annotation and the map values were still lazy loaded(using the latest
14

Fetching Collections Puzzle

If I dont declare explicitly the fetch strategy for "children" as FetchType.Eager, then how can I ... to Eager, the children field of all my retrieved nodes are of size zero When I declare the FetchType as Eager, then isn't the database actually retrieving the whole graph stored in the database
14

can't get HashMap out of the database

the map with @OneToMany(fetch=FetchType.EAGER). Outside the DAO method only fields ... (issue #552) eager load didn't work for collections and maps of simple values. support Support Thanks ... Date signingDate;     @OneToMany(fetch=FetchType.EAGER, cascade=CascadeType.ALL) private
12

Optimistic locking: prevent version increment on entity collection attribute

side (Readings), added EAGER fetch to the collection no change. I have tried to persist the document first ... ManyToOne of the owning side (Readings), This should not make any difference. > added EAGER fetch to the collection no change. This should affect. An eager collection should be loaded
12

List of Enum Values in an entity

detachment (e.g. defined as eager rather than lazy, or accessed) are available. One way to solve the problem is to change the fetch policy of the field from LAZY to EAGER:     private @OneToMany(fetch=FetchType.EAGER) List<GuestFlag> flags; According to our checks this solves the problem
12

Annotate a Map field with @ElementCollection or @Basic

. It could be due to the different default fetch value (LAZY for ElementCollection, EAGER for Basic). You may try using an @ElementCollection(fetch=FetchType.EAGER) and see if it is fast as @Basic support Support I tested it already with @ElementCollection(fetch=FetchType.EAGER). It is little bit faster as before
11

Performance issue in a query due to compareTo calls

private long stepNumber; @OneToOne (fetch = FetchType.EAGER) private TCStep step ... as the add operations //per index in the list @ElementCollection (fetch = FetchType.EAGER ... Identifiable { @OneToOne (fetch = FetchType.EAGER) private TCStep step; btc_es BTC
2

Tracking changes to new collections (in enhancement mode) after flush

.FIELD) @Column (name = "uid") private String uid; @OneToOne (fetch = FetchType.EAGER ... ; @OneToMany (fetch = FetchType.EAGER, cascade = {CascadeType.REFRESH, CascadeType.DETACH }) private ... MappingImpl { @Id private String uid; @OneToOne (fetch = FetchType.EAGER
2

ArrayIndexOutOfBoundException

CacheableJobStat { @OneToOne(fetch = FetchType.EAGER) private CacheableJobInfo ji; @OneToOne(fetch = FetchType.EAGER) private CacheableJobLog jl; } Where CacheableJobInfo and CacheableJoLog ... .EAGER) annotation. I am not sure wheather this annotation is allowed when not cascade persist

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