ObjectDB ObjectDB

Internal Website Search

11-20 of 100 resultsRefresh
172

EntityManager.refresh takes a long time

EntityManager.refresh takes a long time for entity object Person in this code:     logger.log ... .INFO, "begin refresh for person = " +             person + "  "+ new Date().toString());         em.refresh(person);         logger.log(Level.INFO, "end refresh for person = " +             person
140

Is it possible to remove parent/child entities without refresh?

) method to remove a child entity a entityManager.refresh(parentEntity) is necessary in order to have an updated parent/child object tree in memory. But entityManager.refresh is too slow for our project. Do you know a way to remove a child entity from a parent entity without a entityManager.refresh
131

EntityManager refresh problem

Hi, in the following code you can see an example with EntityManager.refresh(). The example throws ... .refresh(simpleEntity1);             Assert.assertEquals("entity 1", simpleEntity1.getFieldA ... = primaryKey;     } } wua Andreas Wurm The reason that the refresh operation has no effect in
125

Refresh Explorer

Feature requests: 1) shortcut key for Explorer data refresh 2) ability to set 'auto-refresh' for explorer when run in client-server mode. ie: current view will refresh every n seconds. Thanks David dmoshal David Moshal A new Refresh toolbar button and an accelerator key (Ctrl+R) were added in build 2.5.6_04. support Support
31

Shared (L2) Entity Cache

that are not in the cache already. CacheStoreMode.REFRESH - new data is stored in the cache - refreshing ... and CacheStoreMode.REFRESH is when bypassing the cache in retrieval operations. In this case, an entity object that is already cached is updated using the freshly retrieved data only when CacheStoreMode.REFRESH
26

Locking in JPA

, the refresh method can also receive a lock mode: em.refresh(employee, LockModeType.PESSIMISTIC ... _WRITE, properties); ... em.refresh(employee, LockModeType.PESSIMISTIC_WRITE, properties
26

Database Explorer

, for checking which indexes are used. The Reset button clears the content of all the fields. Refreshing ... this case you can refresh the cache and the viewer windows using the File > Refresh Data menu command
26

NullPointerException using with "refresh" method

Occasionally I get this NPE on a refresh. This makes everything quite unreliable! Caused by: com ... :1588) at com.objectdb.jpa.EMImpl.refresh(EMImpl.java:749) at com.objectdb.jpa.EMImpl.refresh(EMImpl.java:687) at com.objectdb.jdo.PMImpl.refresh(PMImpl.java:976) at technology.tavla
2

[ODB1] Chapter 9 - ObjectDB Explorer

the Explorer into your Java code. Refreshing the Cache When a database is open in the Explorer using client ... reflect the real content in the database. In this case you can refresh the cache and the viewer windows using the "File | Refresh Data" menu command. 9.3 Editing the Database The Explorer is usually
2

javax.jdo.JDOEntityManager

JDO JavaDoc Reference Documentation -

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