Link Details

Link 12550 thumbnail
User 189307 avatar

By markphip
via coconut-palm-software.com
Published: Jan 31 2007 / 20:16

If you’re writing an Eclipse RCP or a Swing application, your default choice for a relational mapper will probably be Hibernate. It was our choice too, and we have lived to regret this decision. Our new choice, iBatis, seems to fit what we need very handily.
  • 13
  • 1
  • 1903
  • 715

Comments

Add your comment
User 97238 avatar

Konstantin Scheglov replied ago:

0 votes Vote down Vote up Reply

Yes, I've fought with Hibernate couple months and after all thrown it away and wrote my own "trivial" ORM implementation using CGLib. I don't need anything special from ORM - just simple support for loading/writing objects and master/details, exactly as I do them using SQL, but using objects with annotations. This removes most Statement/ResultSet operations and not too complex/generic/smart to be PITA itself.

User 204573 avatar

Gene Gotimer complained ago:

0 votes Vote down Vote up Reply

dzone@portinfo.com reported this link as inaccurate on 02/01/2007 @ 04:25:45

iBatis may indeed be the better choice, but all this article points out is that he configured Hibernate for use with a webapp and it performed badly with his RCP app. He never tried configuring it correctly, and he didn't understand how to manage his Hibernate sessions.

User 139727 avatar

JensSchauder replied ago:

0 votes Vote down Vote up Reply

I agree. They got a problem and instead of trying to understand what is going on just switched to a weaker tool.
If anybody is looking for a working aproach with hibernate, have a look at http://blog.schauderhaft.de/2008/09/28/hibernate-sessions-in-two-tier-rich-client-applications/
,

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.