Fast Object Database for Java - with JPA/JDO support

Internal Website Search

51-60 of 101 resultsRefresh
2

Merge with Parent/Child entities not possible

, CascadeType.REFRESH })   private ParentEntity parent;   @Column   private String childName ... parentEntity = parentEntityQuery.getSingleResult();   entityManager.refresh(parentEntity);   Assert ... .refresh(parentEntity);   Assert.assertEquals(1, parentEntity.getChildren().size()); } } wua Andreas
2

Query results are not up to date for entities, not primitives

When using the CriteriaBuilder to query, the loaded list are not refreshed according to the latest updates. But, when using the JPQL Query, the list are refreshed, and, when I querying for primitive fields like Strings, the list of primitives are loading refreshed too. Any variations on update
2

BeanCreationException in spring data JPA with objectDB

.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh ... :895) at org.springframework.context.support.AbstractApplicationContext.refresh ... .AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.web
2

Cascading persistence through an inverse field

={PERSIST, REFRESH, MERGE}) private Set points = new HashSet<>(); public void addPoint ... { @ManyToMany(mappedBy="points", cascade={PERSIST, REFRESH, MERGE}) private Setrefreshed) from the database after commit or flush. You may try synchronizing
2

find() delay

Lai Yang Try: em.refresh(employee); support Support Ok, finally, the refresh() is the bingo. Thanks very much! gzdillon Lai Yang
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 ... objects cannot be refreshed. Does it happen only for lazy collection fields? Could you please check
2

Transaction isolation support?

disabled in the configuration). You can use refresh to get an up to date version of an object. To avoid ... , then it depends on the fetch setting. Anyway, you can always refresh the User instance to get up to date content. support Support
2

Access entity version before commit transaction

field it doesn´t. I tried transaction.flush() in combination with transaction.refresh(entity ...             transaction.flush();             transaction.refresh(flight);             // now I get the right
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 code ... do I need to refresh() the object start a transaction, reapply the changes,persist and commit
2

evictAll() behavior

-- is this specified in the JDO spec? Cheers, Andrew andrewmcveigh Andrew McVeigh Refreshing managed objects ... all transactional instances to be refreshed. If a transaction is not in progress

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