Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=c3=b8j?= Newsgroups: comp.lang.java.programmer Subject: Re: From JDBC to JPA Date: Sat, 25 Jul 2015 23:38:42 -0400 Organization: Aioe.org NNTP Server Lines: 22 Message-ID: References: <87380doatw.fsf@Equus.decebal.nl> <87y4i5mig2.fsf@Equus.decebal.nl> NNTP-Posting-Host: bLmKSxgyEsD8qtT7wjgUDQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 X-Notice: Filtered by postfilter v. 0.8.2 X-Mozilla-News-Host: news://nntp.aioe.org Xref: csiph.com comp.lang.java.programmer:32142 On 7/24/2015 4:03 PM, Cecil Westerhof wrote: > On Friday 24 Jul 2015 18:53 CEST, Eternal Hope wrote: >> On 24/07/2015 16:05, Cecil Westerhof wrote: >>> I need to change the use of JDBC to JPA in a range of applications. >>> I am new to JPA. Anyone good tips or links on how to accomplish >>> this? Until now I did not find anything very useful with Google. >> >> http://openjpa.apache.org/ >> >> http://openjpa.apache.org/builds/2.4.0/apache-openjpa/docs/manual.pdf > > That the best documentation is for a certain implementation and not > from JPA is a bad omen. :'-( > > I need to write clean JPA code, because it should be possible two > switch from Hubernate, to openJPA, to … in a moments notice. Just use the JPA API and not anything from implementation API and you should be on the right track. Arne