<?xml version="1.0" encoding="utf-8"?>
<!-- 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
-->
<?xml-stylesheet type="text/xsl" href="https://rollerweblogger.org/roller-ui/styles/rss.xsl" media="screen"?><rss version="2.0" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
  <title>Blogging Roller</title>
  <link>https://rollerweblogger.org/roller/</link>
    <atom:link rel="self" type="application/rss+xml" href="https://rollerweblogger.org/roller/feed/entries/rss?tags=openjpa" />
  <description>Dave Johnson on open web technologies, social software and software development</description>
  <language>en-us</language>
  <copyright>Copyright 2026</copyright>
  <lastBuildDate>Mon, 23 Mar 2026 14:54:34 +0000</lastBuildDate>
  <generator>Apache Roller 6.1.5</generator>
  <item>
    <guid isPermaLink="true">https://rollerweblogger.org/roller/entry/jpa_jpa_jpa</guid>
    <title>JPA JPA JPA</title>
    <dc:creator>Dave Johnson</dc:creator>
    <link>https://rollerweblogger.org/roller/entry/jpa_jpa_jpa</link>
    <pubDate>Thu, 8 Mar 2007 14:33:59 +0000</pubDate>
    <category>Java</category>
    <category>hibernate</category>
    <category>java</category>
    <category>openjpa</category>
    <category>orm</category>
    <category>toplink</category>
<description>&lt;p&gt;That&amp;#39;s three JPAs. I&amp;#39;ve been fighting to get a new Roller back-end running, one that uses the &lt;a href=&quot;http://java.sun.com/javaee/overview/faq/persistence.jsp&quot;&gt;Java Persistence API&lt;/a&gt; (JPA) rather than the native Hibernate API that we use now. &lt;/p&gt;&lt;p&gt;Craig Russell and Mitesh Meswani wrote the new JPA back-end and tested it against &lt;a href=&quot;https://glassfish.dev.java.net/javaee5/persistence/&quot;&gt;Toplink/JPA&lt;/a&gt; (JPA #&lt;b&gt;1&lt;/b&gt;) and the Derby database. I&amp;#39;ve been refactoring it, updating it for Roller 4.0 and testing it against various other databases and JPA implementations with mixed results.&lt;/p&gt;&lt;p&gt;I tried to run it against MySQL, ran into a bunch of problems and fixed those. &lt;a href=&quot;http://www.mans-end.com/&quot;&gt;Allen&lt;/a&gt; switched out Toplink/JPA for &lt;a href=&quot;http://entitymanager.hibernate.org/&quot;&gt;Hibernate/JPA&lt;/a&gt; (JPA #&lt;b&gt;2&lt;/b&gt;), ran into problems and fixed those. I switched out Toplink for &lt;a href=&quot;http://incubator.apache.org/openjpa/&quot;&gt;Apache OpenJPA&lt;/a&gt;-incubating (JPA #&lt;b&gt;3&lt;/b&gt;), ran into problems and fixed those. So now we have a back-end implementation that runs against OpenJPA, but requires two small code changes to work against Toplink -- not exactly an ideal situation.&lt;br&gt; &lt;/p&gt;&lt;p&gt;I&amp;#39;m a JPA newbie for sure and still trying to figure this stuff out, but it does seem that switching JPA implementations is not as easy as it ought to be.&lt;/p&gt;&lt;p&gt;In other JPA news... &lt;/p&gt;&lt;p&gt;I didn&amp;#39;t realize that the open source version of Toplink that Oracle contributed to Glassfish, &lt;a href=&quot;https://glassfish.dev.java.net/javaee5/persistence/&quot;&gt;Toplink Essentials&lt;/a&gt;, is the pee-wee version of the full and still closed source Toplink product. That&amp;#39;s why I was somewhat surprised to hear that &lt;a href=&quot;http://www.infoworld.com/article/07/03/06/HNoracleeclipse_1.html?source=rss&amp;amp;url=http://www.infoworld.com/article/07/03/06/HNoracleeclipse_1.html&quot;&gt;Oracle is open sourcing and donating the full version of Toplink to the Eclipse foundation&lt;/a&gt;. &lt;/p&gt;&lt;p&gt;Two observations about that news. First, this move appears to be a fork that will result in a &lt;a href=&quot;http://opensource.org/licenses/cddl1.php&quot;&gt;CDDL&lt;/a&gt; licensed version of Toplink Essentials in Glassfish and an &lt;a href=&quot;http://opensource.org/licenses/eclipse-1.0.php&quot;&gt;EPL&lt;/a&gt; version in Eclipse -- I hope I&amp;#39;m wrong about that. And second: apparently IBM will be soon be supporting two versions of JPA: OpenJPA via Geronimo and Toplink/JPA via Eclipse. &lt;br&gt; &lt;/p&gt;</description>  </item>
</channel>
</rss>