openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <>
Subject Re: OpenJPA MySQL performance overhead
Date Mon, 12 Jul 2010 15:56:17 GMT
To add to what Rick said it really depends on what you're timing.

Any ORM framework is going to be slower than JDBC - the framework is doing
some extra work for you. If you count the time taken to initialize the
framework e.g. something that should be done infrequently (creating a new
EntityManagerFactory) that can affect the performance results dramatically.

Considering the insert scenario. If you just compare the time it takes to
perform an EntityTransaction (begin, create entity, commit) to the time to
execute a prepared statement and commit a connection I suspect the numbers
are a bit closer.


On Mon, Jul 12, 2010 at 10:23 AM, Rick Curtis <> wrote:

> I have a couple questions about your configuration:
> 1.] JEE or JSE?
> 2.] Is this out of box testing, or are you doing some amount of tuning to
> OpenJPA?
> 3.] Do you have some sort of connection pooling configured?
> Thanks,
> Rick

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message