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 relation****p 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


|