Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.java.programmer Subject: Re: Performance JPA Date: Wed, 04 Nov 2015 11:27:53 +0100 Organization: Decebal Computing Lines: 25 Message-ID: <87611ihxee.fsf@Equus.decebal.nl> References: <87lhagkcsh.fsf@Equus.decebal.nl> <563763d9$0$23727$e4fe514c@news.xs4all.nl> <87d1vrk20x.fsf@Equus.decebal.nl> <56389a9e$0$23778$e4fe514c@news.xs4all.nl> <5639ce9d$0$23755$e4fe514c@news.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="14865"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19jrrbAg+JGXQsezFDvo/lWppUgz6Nm3cU=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:89ofIkiR4pnLkgqkmq+JrFZMW9c= sha1:Uv8RC3pIGeLyNYdHtBEP2zj0xB8= X-Homepage: http://www.decebal.nl/ Xref: csiph.com comp.lang.java.programmer:32998 On Wednesday 4 Nov 2015 10:23 CET, silvio@internet.com wrote: > On 11/04/2015 02:44 AM, Arne Vajhøj wrote: >> >> Really?? >> >> I have never seen such a problem. > > I have seen tons of them. Code that used to work with a logical > filter that was easily represented as a WHERE-clause for SELECT, > UPDATE or DELETE statements was converted to something that was > working with some Set of entities. Every action on the complete set > was then translated to N calls on the individual entities. Sweet. That is funny: that is exactly what I was thinking, but was brushed of. The application uses a lot of lists and they acknowledge that something goes wrong with list fetching. But because ‘only’ the DAO changed this could not be the problem. How do I pinpoint this problem? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof