Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.java.programmer Subject: Performance JPA Date: Mon, 02 Nov 2015 09:47:58 +0100 Organization: Decebal Computing Lines: 9 Message-ID: <87lhagkcsh.fsf@Equus.decebal.nl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="8052"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eix+n79nRmX9jILLF82ZB3u7u02+ties=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Homepage: http://www.decebal.nl/ Cancel-Lock: sha1:Fzg04jRwADIvPK1LWrnT7CczB50= sha1:q7KLV6Gy8ajBjEk2Mo0bcIj8KME= Xref: csiph.com comp.lang.java.programmer:32966 We needed to change from JDBC to JPA. It looks like the performance is 10 to 20 times as slow as it was with JDBC. I could understand JPA to be slower as JDBC, but not with this kind of difference. Are there any common error that would explain this kind of penalty? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof