Internal Website Search

51-98 of 98 results

ManyToMany Set is null

={CascadeType. DETACH ,CascadeType. MERGE ,CascadeType. REFRESH }) @JoinTable(name="PERSON_CONTRACT ... = FetchType. EAGER , cascade={CascadeType. DETACH ,CascadeType. MERGE ,CascadeType. REFRESH }, mappedBy

java.sql.Time field off by 30 minutes

; //() Refresh read back         em. refresh (e);    

OneToMany and cascade delete problem

of the mapped by side, using refresh :     em.getTransaction().begin();     Product p = em.find(Product.class, 54);     em. refresh (p); //

EM.find() is suddenly slower

= {CascadeType. REFRESH , CascadeType.DETACH }) private ModelElementImpl element; @OneToMany (fetch = FetchType.EAGER, cascade = {CascadeType. REFRESH , CascadeType.DETACH }) private HashMap mappingMap = new

Transaction isolation support?

locking (unless disabled in the configuration). You can use refresh  to get an up to date version ... . Anyway, you can always refresh the User instance to get up to date content. support Support

Attempt to execute a query using a closed EntityManager

that it requires reloading (or refresh ). The object is loaded and a query is executed to initialize a mapped ... . You have just saved my life! Question: why would it require reloading or refresh , because c.getId

evictAll() behavior

in the JDO spec? Cheers, Andrew andrewmcveigh Andrew McVeigh Refreshing managed objects in JDO ... all transactional instances to be refreshed . If a transaction is not in progress, then this call has no effect

ObjectDB Explorer don't show ManyToOne relations

;@ManyToOne (targetEntity = ModelElementImpl.class, cascade = {CascadeType. REFRESH }) private ModelElement ... ;@ManyToOne (targetEntity = ModelElementImpl.class, cascade = {CascadeType. REFRESH }) private

Access entity version before commit transaction

field it doesn´t. I tried transaction.flush() in combination with transaction. refresh (entity ... ;  transaction. refresh (flight);            

no query result

-Georg Zwicker Regarding the issues with the forum, could you please refresh the browser ... refreshed . Issue solved   hgzpincher Hans-Georg Zwicker

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

(); em.persist(c); em.getTransaction().commit(); em. refresh (c); em.getTransaction().begin(); Item i ... (); em. refresh (c); System.out.println("Item count = "+c.getItemList().size()); em.close(); emf.close

multi thread application, id field sporadically null

refreshing the object  (although without id id doesn't represent anything in the database ... to overcome the problem by using flush(), clear() and refresh ()  hgzwicker Hans-Georg Zwicker Good

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 ... and commit the object?  Or do I need to refresh () the object start a transaction, reapply

ObjectDB without javax.persistence

:205) at com.btc.ep.base.ui.navigator.ProfileNavigator. refresh (ProfileNavigator.java:160) at sun

Optimistic locking: prevent version increment on entity collection attribute

the collection and not delete any of the Readings from the DB. Also, refreshing or reading

javax.persistence.PersistenceException

. It worked only after I refreshed the workspace and cleaned then project. Thanks for your help.   cmahony cmahony Craig Mahony

Update Entity references if we change the type of an entity

to detect that the reference is 'broken' and then try to refresh the reference.   A one file

Spring Data JPA - PersistenceException thrown

.AbstractApplicationContext. refresh (AbstractApplicationContext.java:480) at org.springframework.test.context

Delete object from collection versus delete from JPQL

for more details: DELETE queries UPDATE queries After using these queries you may use refresh , or

Performance problem

. In our web application this behaviour gives aprox 10-13 s of refreshing a data table vs 2 second

ObjectDB Explorer very slow with remote con

Chirac It's sooooo slow. It takes ages to open an entity or to refresh data. zmirc Mircea Chirac

Spring Data JPA

.AbstractApplicationContext. refresh (AbstractApplicationContext.java:464) at org.springframework.web.context.ContextLoader

Entity not removed 100%

after refresh . Could you please change your username from "Unknown" to something less confusing? Thanks! support Support

Some details about db behavior

it is loaded or refreshed from the database. But in both cases, portable JPA applications are expected

Many clients access same database

between different JVMs. You may have to refresh objects to get their up to date content. support Support

Updating Entities

query and before retrieval or a specific object using refresh , and disable the 2nd level cache

Last build is not available on Maven Repository

Is there some special reason why the last two builds of 2.3.3 are not available in your Maven repository? mosi0815 Ralph Moser Just checked and 2.3.3_06 was indeed missing (but 2.3.3_05 was there). It is available now ( refresh your browser). I will check what went wrong. Thank you for reporting this. support Support

Object explorer cannot open odb file. ObjectDB many-to-many relationship

(u1.getAssignements()); em. refresh (u1); ///fetch the Assignements collection of u1 assertNotNull(u1

Activation Issue

.context.support.AbstractApplicationContext. refresh (AbstractApplicationContext.java:482) at org

Record is not clearing properly on remove

the removed object after it is removed from the database (a refresh may be needed). support Support

Failing to read entities under load in multithreaded tests

= 6249921651146397564L; @OneToOne(cascade=CascadeType. REFRESH , fetch=FetchType.EAGER) private TestEntity

Access to client/server database from multiple applications

data cache is enabled you have to use refresh or refreshAll in order to bypass that cache as

JPA vs JDO - which is more efficient for OneToMany queries?

automatically, but only when you read the object that contains the inverse field (again) or refresh

Database Inconsistency or corruption

, and after loading the up to date data from the database (e.g. by using refresh ) both sides will reflect the new

mappedBy problem

(Employee) is retrieved or refreshed from the database - as long as the owner side is set

Query perfromance problem

- handleRequest:  /catalogs/product-list.htm - 10484 ms Refreshing this page with any other column

Listing large number of complicated objects with paging.

database: 600ms Hot database - refresh of the same page: 160ms. Memory usage - no more than 35MB

Can't modify @EmbeddedId in ObjectDB Explorer

ObjectDB Explorer, open entity Journal, expand the id, try to modify date/id, save, then refresh data

persists and update together ?

;entityManager. refresh (obj2); }     else {       

Best setup for huge amount of transactions

(I changed to refresh instead of merge because the entity manager remains open all the time). itsme

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 ... that have not been loaded with null values. Detached objects cannot be refreshed . Does it happen

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

request Are you sure about that? If your clients use a web application they may refresh the page ... . after a user refresh the page. support Support we already have a query timeout. All the client

JQL-Update Queries fails with activated L2-Cache

refresh to enforce bypassing the L2 cache, or clear the L2 cache explicitly. support Support

ObjectDB 2.3.2

instead of Long ) and then updated. Fixed retrieval with pessimistic lock to bypass cache and to force refresh .

ObjectDB 2.6.0

connecting to a server. Fixed a  NullPointerException  during close ( issue 1531 ). Fixed refresh of a new managed entity object after flush .

Enhancing a class causes it to not save changes.

= UPDATED_EXAMPLE_LABEL;         test = refresh (accounts, test.id);  

ObjectDB 2.4.7

Fixed bugs in cascading merge and refresh . Fixed an internal  java.lang.ArrayStoreException bug (com.objectdb.o.InvToOneLoadRequest). Fixed a regression bug (starting 2.4.4_13) in handling embeddable types. Fixed a performance regression (since 2.4.4_01) in query result retrieval. Added INFO

ObjectDB 2.5.7

Added Refresh toolbar button and accelerator key in the Explorer. Added support of retrieving database connection details. Fixed unstable activation in Mac OS. Fixed a bug in using FETCH JOIN in criteria queries. Fixed a bug in cascading remove when orphan removal is set. Fixed