× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I've been using Eclipselink, a JPA implementation from Eclipse. It is
based on the TopLink product by Orical.

David Gibbs posted my experience with Eclipselink in the IMHO section of
midrange.com (see September 2008 posts).

Some time ago I wanted to replace JDBC and rolling my own SQL with
something higher level and more productive.

I bought a couple of books on Hibernate, worked through the tutorials
and did a couple of small projects. The Hibernate framework was too
much for the type of stand alone applications (servers and rich clients)
I work on.

Eventually I ended up using JPA. I can't really compare Hibernate and
Eclipelink / OpenJPA because I never became proficient with Hibernate.

JPA is pretty simple to use once you have the plumbing hooked up. Once
the ORMs (object relational models) are created it is almost as simple
as RPG.

A single statement will return a single java class representing the
database data, or a collections of those classes. Three or so
statements to write or update.

Bill Blalock

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of James Perkins
Sent: Friday, May 01, 2009 10:55 AM
To: Java Programming on and around the iSeries / AS400
Subject: OpenJPA vs Hibernate?

Hello All,
I am finally to the point where I realize I need to start learning more
about JPA rather than using my own methods of executing and SQL
statement
and iterating through the result set.

Hibernate seems to be all the rage and it looks like it's a great
framework,
but does anybody have any experience with OpenJPA? It looks like
WebSphere
Application Server uses OpenJPA?

By basic needs would be to get results sets from SQL statements as well
as
call stored procedures. The stored procedure calls I was a little
concerned
about with Hibernate. It looks like you have to return a result set with
a
call. I have not dug into this by any means, so I could be wrong. Just
quickly glanced at some documentation.

Does anybody have any opinions on these frameworks? Rants and/or raves
are
welcome.

--
Thanks in advance,
James R. Perkins

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.