About clear

61-70 of 177Refresh
Forum
1

Attempt to refresh a non managed entity object (error 635)

. Specifically: is it advised to use a new EntityManager with every transaction, or to use one, and clear ... .g. after clear). It doesn't seem to be related to the IDE that you use. Still having problems
Forum
1

best practice for DB recovery

you have a clear picture of how you think ObjectDB should handle this - please create a feature ... ? That is correct, currently this is not automatic. Fill a detailed feature request if you have a clear picture of how you think ObjectDB should handle this. eitane natmaclin
Forum
1

Degrading performance overtime

.no-resize-clear", "true"); Alternatively, if you know the maximum database target size, you may start ... space is cleared with zeros. With this settings, the new file space may contain garbage (such as data
Forum
1

Field not persisted in abstract class with two level of nesting

().commit();         em.clear();     } } TZ1 package BUG2; import javax.persistence.Embeddable ... MHD2(tz);         em.persist(MH);          em.getTransaction().commit();         em.clear
Forum
1

Insert time increases as db grows.

If the classes are not enhanced, at least call the clear method of EntityManager after every commit ... can call clear on entity manager, anyway thanks for your help. So just enhance your classes, it should solve
Forum
1

java.sql.Time field off by 30 minutes

(e);         System.out.println(e);         //()Read back all         em.clear(); ///<<<clear
Forum
1

List managed entities for a given entity manager

Hi, Is there a way to find the number of managed entities given an entity manager? My application has some memory leaks - I am doing clear() on the entity manager(s) but may be I forgot some ... . Thanks, EKK There is no such method, but if there was it would return 0 after clear anyway. Consider
Forum
1

Mapped By Fetch is very Slow

.getTransaction().commit();   em.clear();   em.close();   em = emf.createEntityManager ... on every change (keeping them synchronized). Thank support, your explanation is very clear. I
Forum
1

Missing Data on Retrieval (0, null values)

of the Columns are missing. With a  em.clear() inside the Loop, all tables are exported correctly but the Enity ... that benefit. That's clear - and  I have no doubt it does a great job. But is there a way to  generate
Forum
1

ObjectDB within a resource adapter module and Java EE Connector Architecture

clear to me how to "inject" easily specs for which per-end-project database file to use ... filename is the same in both case, but at least the path is clear. Note also that the user and password