Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit4.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Lew" Subject: Re: Any discuss group abo Message-ID: X-Comment-To: comp.lang.java.programmer Newsgroups: comp.lang.java.help In-Reply-To: References: Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 35 Date: Fri, 06 May 2011 19:52:06 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1304711526 96.60.20.240 (Fri, 06 May 2011 14:52:06 CDT) NNTP-Posting-Date: Fri, 06 May 2011 14:52:06 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:674 To: comp.lang.java.programmer RC wrote: > Our office soon is going to replace > JDBC with Hibernate. I am new to Hibernate. > I try to follow the tutorial from Hibernate 3.2 doc/reference/ > I am stop in chapter 1, wouldn't get the same results as the tutorial! > BTW, what is the relationship between Spring and Hibernate? > Do we need both of them to replace JDBC? You don't need Spring to run Hibernate, but it helps, and it has other strengths besides. But Hibernate does not replace JDBC - it uses JDBC. > Hibernate doesn't require > a programmer know about SQL. Is this a great advantage? No, it's a huge disadvantage. Anyone who thinks they can use a SQL-based RDBMS without knowing SQL is hurting themselves. Hibernate, and JPA generally, have strengths in managing that SQL, but by no means should anyone think that they obviate the need for knowing how to use a DBMS. BTW, since mostly the same people read the three groups to which you cross-posted, you should set followup to just one. Cross-posting gives you no advantage in this instance, and might irritate some folks. -- Lew --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24