Hi,
i found out that some one-to-one relations in the Superclass added some heavy
performance penalties. I ve not seen it in the SQL logs though. Perhaps i
missed it.
Cant comment on the detachment. It seems that its not the problem at all in my
case.
---
regards
Marc Logemann
http://www.logem
Marc -
In the case where you call em.find(...) and it takes 500ms how long does
that operation take if the result doesn't need to be detached? The reason I
ask is that I've been doing some performance work and we found that in some
instances we are spending way too much time detaching Entities.
-
small correction :
public class SomeDao {
@SuppressWarnings("unchecked")
public Object getMetaData(Class clazz, long oid) {
Object o = em.find(clazz, oid);
return o;
}
..
}
CALLER:
Object o = someDao.getMetaData(Foo.class, 1);
---
regards
Marc Logemann
http://www.logem
Hi,
i am facing some weird performance issues. Given this JPA Query:
public class SomeDao {
@SuppressWarnings("unchecked")
public Object getMetaData(Foo.class, long oid) {
Object o = em.find(clazz, client);
return o;
}
..
}
@Entity
@VersionColumn(name = "jpaversion"