<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://www.osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/12829/Tired_of_Hand_Coding_JDBC_iBatis_Can_Help</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2013, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Sun, 19 May 2013 01:39:48 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>Spring JDBC Templates</title>
			<link>http://www.osnews.com/thread?67199</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?67199</guid>
			<description>I use Springs JDBC templates quite a bit.  I have looked at iBatis, but it looks like it accomplished the same goal and since I was already using Spring JDBC I just stuck with it. <br />
<br />
Is there anyone out there using both, and can talk about the differences between the two and why iBatis is better?<br />
<br />
Also doesn't FireStormDAO have a product that will read your database and generate all your JDBC SQL statements for you.  I don't know if it manages resources for you like Spring and iBatis, but it seems more like them then Hibernate or Toplink for example.Edited 2005-11-30 17:28</description>
			<pubDate>Wed, 30 Nov 2005 17:26:00 GMT</pubDate>
			<author>donotreply@osnews.com (Matt Giacomini)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Spring and iBatis</title>
			<link>http://www.osnews.com/thread?67211</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?67211</guid>
			<description>Spring provides iBatis support out of the box and the combination of the two is excellent.  The main benefit that iBatis gives you is the ability to still have access to your SQL.  This allows for performance improvements and developers with basic SQL skills can instantly be productive.  iBatis stores the SQL in an external file, so it is not sprinkled throughout your java code.  And of course, all of the mapping between your SQL and your java objects is in this same external file.  Makes for a pretty clean separation...<br />
<br />
-G</description>
			<pubDate>Wed, 30 Nov 2005 17:48:00 GMT</pubDate>
			<author>donotreply@osnews.com (gmlongo)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Compare/contrast with hibernate?</title>
			<link>http://www.osnews.com/thread?67227</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?67227</guid>
			<description>Anyone?  Anyone?</description>
			<pubDate>Wed, 30 Nov 2005 18:11:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Compare/contrast with hibernate?</title>
			<link>http://www.osnews.com/thread?67262</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?67262</guid>
			<description>Ibatis is not exactly an ORM tool. you are still depending on DB dependant SQL code. In ORM tools such as Hibernate, it is possible to make all your DB operations wthout writing a single line of SQL. But if you want you can use native SQL calls in hibernate too.<br />
<br />
With hibernate changing your database is very easy. With Ibatis this might be painfull. Of course main reason for chosing Hibernate should not be db Portability but develper skills. <br />
<br />
if your team is very strong in JDBC and SQL database skills, Ibatis might be a better choice. But if team is  strong in Object oriented skills, Hibernate should be the way to go. <br />
<br />
if there is already a legacy database, sometimes it would be hard to fit it to an object schema, then Hibernate would be difficult to use. Also Hibernate's learning curve is steeper then iBatis in cases.<br />
<br />
ibatis has small amount of dependencies. Hibernate has a lot(8 jars i think). it does not matter in server systems, but client side applictions is another story.<br />
<br />
At the end, everything depends on your project requirements and team skills  ..</description>
			<pubDate>Wed, 30 Nov 2005 19:03:00 GMT</pubDate>
			<author>donotreply@osnews.com (ahmetaa)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Relevance given good O/R tools out there?</title>
			<link>http://www.osnews.com/thread?67314</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?67314</guid>
			<description>I built a template driven data-access code generator (that generates 80% of the JDBC calls needed) a couple of years ago.  More recently I've been using Toplink and Hibernate.  Given how well the O/R tools are, I don't even think in terms of SQL any more <img src="/images/emo/wink.gif" alt=";)" /></description>
			<pubDate>Wed, 30 Nov 2005 21:01:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>both batis , hibernate have details</title>
			<link>http://www.osnews.com/thread?67317</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?67317</guid>
			<description>mainly because learning curve is very big compared with plain jdbc, if you already know how to program using plain jdbc or some wrapper around it, that may speed up your development many times , advantages of those frameworks only are seen on big projects and  after learning curve is finished</description>
			<pubDate>Wed, 30 Nov 2005 21:03:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Still prefer Hibernate</title>
			<link>http://www.osnews.com/thread?67371</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?67371</guid>
			<description>Hibernate has features iBatis just doesn't have.  It may not be as easy but still not as robust...and requires hand-coded sql.</description>
			<pubDate>Wed, 30 Nov 2005 23:24:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>iBatis</title>
			<link>http://www.osnews.com/thread?67547</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?67547</guid>
			<description>people that used both alternatives like Spring/Hibrenate end up perfering iBatis, and a lot.<br />
<br />
For small projects SQL can be bypassed, butnot for comerical development.<br />
.V</description>
			<pubDate>Thu, 01 Dec 2005 11:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (Anonymous)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>I have used both Hibernate and iBATIS...</title>
			<link>http://www.osnews.com/thread?67567</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?67567</guid>
			<description>...and ended up switching to (and eventually becoming a committer to) iBATIS.<br />
<br />
In my experience, iBATIS was *WAY* easier to learn than Hibernate. It also worked much better with our existing (shared) database. We were working with around 800GB of data, and ~200 tables. Mapping all of that in Hibernate was just not an option.<br />
<br />
We also found that the support for stored procedures, row handling, and dynamic SQL in iBATIS was far superior.<br />
<br />
Another thing that iBATIS brings to the table is that it allows your DBA to optimize the SQL. Yes, you have to write SQL, but ... seriously ... how hard is a select statement? Or an insert, delete, or update?<br />
<br />
IMO, HQL was every bit as wacky as SQL, but no one knew how to optimize it because it was (and is) only used by Hibernate users. Can you find me a DBA that knows HQL? Not very darn likely.<br />
<br />
On a philosophical note, where is the value of an enterprise system - in the code or in the data? In many cases, the technology (i.e., the code) changes, but the data lives on. With that in mind, I'll stick with SQL (i.e., native data access) until my database vendor tells me that they have something better.Edited 2005-12-01 13:34</description>
			<pubDate>Thu, 01 Dec 2005 13:32:00 GMT</pubDate>
			<author>donotreply@osnews.com (lmeadors)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>O/R Broker</title>
			<link>http://www.osnews.com/thread?68017</link>
			<guid isPermaLink="true">http://www.osnews.com/thread?68017</guid>
			<description>I would encourage anyone to also look at O/R Broker, which is somewhat similar to iBatis, but does not impose any restriction on the domain model design, such as the very anti-OO JavaBeans component model.<br />
<br />
<a href="http://www.orbroker.org" rel="nofollow">http://www.orbroker.org</a></description>
			<pubDate>Fri, 02 Dec 2005 16:50:00 GMT</pubDate>
			<author>donotreply@osnews.com (trefork)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
