Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > Re: Any discuss...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 3675 of 3876
Post > Topic >>

Re: Any discuss group about Hibernate, Spring?

by =?ISO-8859-1?Q?Arne_Vajh=F8j?= <arne@[EMAIL PROTECTED] > Mar 12, 2008 at 09:44 PM

RC wrote:
> Our office soon is going to replace
> JDBC with Hibernate.

No you will replace direct JDBC usage with Hibernate. Hibernate
uses JDBC.

> BTW, what is the relation****p between Spring and Hibernate?

None.

Spring is a IOC/DI framework.

Hibernate is an ORM.

> Do we need both of them to replace JDBC?

They don't.

It is one of:

your code----JDBC driver----database
your code----Hibernate----JDBC driver----database
your code----Spring----JDBC driver----database
your code----Spring----Hibernate----JDBC driver----database

> I program with JDBC for many years, feel comfortable with it.
> JDBC requires you well know about SQL. Hibernate doesn't require
> a programmer know about SQL. Is this a great advantage?

It is an advantage that Hibernate works at a higher abstraction
level and saves some trivial code.

I will assume that your Java programmers did not have any
problems with the simple SQL needed for CRUD.

Besides you get HQL with Hibernate.

:-)

Arne
 




 5 Posts in Topic:
Any discuss group about Hibernate, Spring?
RC <raymond.chui@[EMAI  2008-03-12 09:10:19 
Re: Any discuss group about Hibernate, Spring?
Lew <lew@[EMAIL PROTEC  2008-03-12 19:46:08 
Re: Any discuss group about Hibernate, Spring?
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-12 21:44:34 
Re: Any discuss group about Hibernate, Spring?
Markus Tazl <m_tazl@[E  2008-03-15 12:10:13 
Re: Any discuss group about Hibernate, Spring?
RC <raymond.chui@[EMAI  2008-03-17 09:19:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 23:26:39 CST 2008.