These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate or iBATIS?
PostPosted: Mon Mar 06, 2006 1:13 pm 
Newbie

Joined: Tue Feb 14, 2006 10:55 am
Posts: 3
My application needs to run on different databases.
I want to use iBATIS because it seems to be easier to handle. However it does not appear to support multiple databases using a single set of mapping files.
I think Hibernate does it by simply changing the Dialect tag.
Is this true?
Any experience using iBATIS?
Thanks.
Bruce.


Top
 Profile  
 
 Post subject: it depends
PostPosted: Mon Mar 06, 2006 2:09 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
As usual: it all depends.
Hibernate supports trivial DB differences better than iBatis, if you have control over DB schema than I would suggest using Hibernate. However Hibernate may still require different mapping files in certain cases.
iBatis is your best friend if:
you need to take full advantage of features in different databases;
you need flexible report type querying;

And of course you can mix and match:
http://sandbox.sourcelabs.com/kosta/hb- ... batis.html

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.