|
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
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
_____________
The information contained in this message is proprietary and/or
confidential. If you are not the
intended recipient, please: (i) delete the message and all copies; (ii) do
not disclose,
distribute or use the message in any manner; and (iii) notify the sender
immediately. In addition,
please be aware that any message addressed to our domain is subject to
archiving and review by
persons other than the intended recipient. Thank you.
_____________
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.