About refresh

51-60 of 92Refresh
Forum
2

find() delay

database instancely without clear() or destroying the cache? Try: em.refresh(employee); Ok, finally, the refresh() is the bingo. Thanks very much! gzdillon
Forum
2

Items in list are doubled, when the entity class is not enhanced

.persist(c); em.getTransaction().commit(); em.refresh(c); em ... ().add(i); em.merge(c); em.getTransaction().commit(); em.refresh(c
Forum
2

java.sql.Time field off by 30 minutes

.getTransaction().commit();         System.out.println(e);         //()Refresh read back         em.refresh
Forum
2

multi thread application, id field sporadically null

a difference, as well as disabling caches in the configuration. You may also try refreshing the object ... (), clear() and refresh()  Good. See also this manual page, regarding setting a flush mode. hgzwicker
Forum
2

ObjectDB Explorer don't show ManyToOne relations

= ModelElementImpl.class, cascade = {CascadeType.REFRESH}) private ModelElement parent; } If we use ... .class, cascade = {CascadeType.REFRESH}) private ModelElementImpl parent; } Can you fix this in
Forum
2

OneToMany and cascade delete problem

refresh:     em.getTransaction().begin();     Product p = em.find(Product.class, 54);     em.refresh
Forum
2

Optimistic lock

Hello When I get an optimistic lock on an object, refresh(), start trans and persist?  Will the changes made to the object before the violation be retained or must they be duplicated in the retry ... and I simple need to create a new transaction, persist and commit the object?  Or do I need to refresh
Issue
2

spuriously objectdb objects have null references

from time to time we have in a multi threaded environment objects where all the references are null (i.e. references actions, childNodes), even after a subsequent refresh. we are using a separate ... cannot be refreshed. Does it happen only for lazy collection fields? Could you please check the status
Forum
2

Transaction isolation support?

the configuration). You can use refresh to get an up to date version of an object. To avoid using ... setting. Anyway, you can always refresh the User instance to get up to date content. mt
Issue
2

each 1-2 days objects on some objectdb level lock/block each other

about that? If your clients use a web application they may refresh the page if the response is too slow ... queries that no one is waiting for them anymore, e.g. after a user refresh the page