This post originated from an RSS feed registered with Java Buzz
by Marc Logemann.
Original Post: Bea Kodo, OpenJPA or what?
Feed Title: Logemann Blog
Feed URL: http://feeds.feedburner.com/LogemannBlog
Feed Description: Marc Logemann's thoughts on java and other stuff
Again i am in a situation where i need to do something but there is more than one alternative. Currently i am using Kodo Standard edition v3.4 (yes, i am one of these old Solarmetric customers) to do persistence. Everything works as expected and there are nearly no problems (except from a bug with custom field mappings and horizontal inheritance strategy mapping) but now i need custom lock groups because i definitely need more fine grained control on what triggers an OptimisticLockingException.
As i have found out, the standard edition cant do it because its just way too standard. In 3.4 days the next level was named Performance Pack which is able to do this, in the new Kodo 4.x world, this is simply called “Kodo Professional Edition”. So i could chose to buy the performance pack, or buy the Prof. edition but then i need to upgrade to 4.x and the last time i tried upgrading to 4.x, many nights were wasted and plenty of problems arised.
But then there is also OpenJPA, this is for free and also supports Lock Groups. Of course it doesnt support JDO, so i would have to redo all my mappings in JPA style and i would also need some luck that i dont use something in JDO which JPA cant (auto-detachment perhaps?).
Of course i could also trash all my custom field mappings and custom JDOQL functions. All in all, it wouldnt pay of, i would save on license costs but would have so much work that the license would be a no-brainer compared to that.
Perhaps i will simply ask for a Kodo 4.1 Professional update license, if there is something and hope that i get the 3.4 performance pack for free because its essentially the same only with an older version. This way i could wait with the upgrade to 4.x