About eager

issue

NullPointer on query

I'm getting a null pointer when running the following code: TypedQuery<ObjectDbMessagePayload> query = em.createQuery("SELECT m FROM ObjectDbMessagePayload m WHERE m.id = :id", ObjectDbMessagePayload.class); query.setParameter("id", msg.getId()); List<ObjectDbMessagePayload> loaded = query.getResultList(); Stack trace follows: ... - this is legacy from when I had some trouble with eager loading but either way there should definitely be an object there. No ...

 
forum_thread

performance limit

Hi, can someone share expirience with performance limits of ObjectDB especialy when quering tables with large records sets. Our issue is with tables with 100.000+ records. Everything was OK when we had few thousand records. We have a simple SELECT statement which selects from a table with 100.000+ records by UserID atribute, tables have from 5 to 20 atributes. Usualy the results range from few hundred to few thousand records. This query takes up to 12 seconds. Is this normal, what when we will have few milion records, how to handle this. ... Loading the query results could be very slow if eager fetch is used extensively, and then your 6500 result objects may ...

 
manual

Setting and Tuning of JPA Queries

Explains various JPA query settings - result range, flush and lock.... - sets fetch mode for query result as either "EAGER" (the default) or "LAZY" . When LAZY is used result entity objects ...

 
forum_thread

Trouble bug on explorer

Hello having trouble when i try to push new objects from class. I got exception from explorer.     ... OneToOne ( fetch = FetchType . EAGER ) private Language mainLanguage ; @ ...

 
issue

Unexpected exception (Error 990) on find

I have a huge amount of inserts/updates and after a about 850.000 Entities I got the following error: ... ( fetch = FetchType . EAGER ) @ CollectionTable ( joinColumns = ...

 
forum_thread

Should I be able to persist a JFrame (or gui components in general)?

    I did the following: 1. (using Netbeans 8.02 & last available java 7 sdk) I sort of follow your tutorial(s) while applying the ideas to a sample that came with the IDE called GUIFormExamples (under samples). ... Update...I got a bit eager trying this without paying attention... The exception was due to having ...