Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #32142

Re: From JDBC to JPA

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 Arne Vajhøj <arne@vajhoej.dk>
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 <mp1ko5$35j$1@speranza.aioe.org> (permalink)
References <87380doatw.fsf@Equus.decebal.nl> <motqel$lmt$1@dont-email.me> <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

Show key headers only | View raw


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

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

From JDBC to JPA Cecil Westerhof <Cecil@decebal.nl> - 2015-07-24 17:05 +0200
  Re: From JDBC to JPA Eternal Hope <laughingspam99@gmail.com> - 2015-07-24 17:53 +0100
    Re: From JDBC to JPA Cecil Westerhof <Cecil@decebal.nl> - 2015-07-24 22:03 +0200
      Re: From JDBC to JPA Eternal Hope <laughingspam99@gmail.com> - 2015-07-25 05:23 +0100
        Re: From JDBC to JPA Cecil Westerhof <Cecil@decebal.nl> - 2015-07-25 10:37 +0200
          Re: From JDBC to JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-07-25 23:45 -0400
      Re: From JDBC to JPA Fredrik Jonson <fredrik@jonson.org> - 2015-07-25 08:12 +0000
        Re: From JDBC to JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-07-25 23:49 -0400
      Re: From JDBC to JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-07-25 23:38 -0400
  Re: From JDBC to JPA Joerg Meier <joergmmeier@arcor.de> - 2015-07-24 20:40 +0200
  Re: From JDBC to JPA Jeff Higgins <jeff@invalid.invalid> - 2015-07-24 15:45 -0400
    Re: From JDBC to JPA Cecil Westerhof <Cecil@decebal.nl> - 2015-07-24 22:32 +0200
  Re: From JDBC to JPA Joerg Meier <joergmmeier@arcor.de> - 2015-07-24 22:32 +0200
    Re: From JDBC to JPA Cecil Westerhof <Cecil@decebal.nl> - 2015-07-24 23:18 +0200
  Re: From JDBC to JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-07-25 14:40 -0400
    Re: From JDBC to JPA Arne Vajhøj <arne@vajhoej.dk> - 2015-07-25 23:53 -0400
      Re: From JDBC to JPA Lew <lewbloch@gmail.com> - 2015-08-03 15:43 -0700

csiph-web