Home » Search

About refresh

41-50 of 90Refresh
Forum
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
Forum
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 the two sides
Forum
2

explorer locks local database in readonly mode

process. do you think it's worth to improved this? if yes, isseu #39 (refresh) will be useful ... because refresh is not implemented). I think that this is exactly the requests of issue #238 - support refresh
Forum
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
Forum
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
Forum
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
Forum
2

Attempt to execute a query using a closed EntityManager

is invoked the state of the Client object indicates that it requires reloading (or refresh). The object ... reloading or refresh, because c.getId() should just return the "long" field which is @Id @GeneratedValue
Forum
2

evictAll() behavior

-- is this specified in the JDO spec? Cheers, Andrew Refreshing managed objects in JDO is a bit tricky. pmf ... to be refreshed. If a transaction is not in progress, then this call has no effect." "But evictAll
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