| Subject: | Re: [cinjug-users] hibernate 3.0 usage |
|---|---|
| From: | Kedar Jog <kedar.jog@xxxxxxxxx> |
| Date: | Mon, 1 Aug 2005 20:49:13 -0400 |
| Cc: | users@xxxxxxxxxx |
| Delivered-to: | mailing list users@cinjug.org |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HlvcRG1cdoh7kplqx7xsnIrajiiWeDseFFwjHPXeC2kVvDilUMOUMVJOiADDa64bGsEp+M5FzbREmSqhuZHslt2Fr6nMql2Pslt9R/172J+vKW6M3SShqGdrLHjIcRosoyoPI5OT/a99H7BJX1o3zIyeoHwrEvmvpdJV21h/ojs= |
| In-reply-to: | <40BD3FF80943044FBAAB0EE2411DE14FB0591F@laexuser01.us.aegon.com> |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
| References: | <40BD3FF80943044FBAAB0EE2411DE14FB0591F@laexuser01.us.aegon.com> |
| Reply-to: | Kedar Jog <kedar.jog@xxxxxxxxx> |
If your are doing true CRUD (Create READ Update Delete) using hibernate you are doing fetch ops for the READ anyway..... Actually Hibernate does an extremely good job in fetch ops , using lazy collections ensures that only "light" objects are brought back... I would use JDBC only if your Object graph is very deep and only subsections of the data are needed i.e one attribute from one object and another attr from a child object etc .... For ex: displaying search results etc... On 8/1/05, Akalamkam, Pardha <Pardha.Akalamkam@xxxxxxxxxxxxxxxx> wrote: > Hi All, > > In our project we are using hibernate 3.0 (portal project). > It was informed to us all, that only to use Hibernate 3.0 , when it > requires all database operations(CRUD). > If it's only fetching, then to use regular JDBC. > > My question to you all is, if we use Hibernate for fetching also, does it > increases overhead or it's OK to use it for all database operations. > Please provide me your valuable suggestions. > > > Pardha -- Regards Kedar ----------------------------------- Kedar Jog 5908 Monassas Run Rd Milford OH 45150 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | hibernate 3.0 usage, Akalamkam, Pardha |
|---|---|
| Next by Date: | Hibernate error message, twcrone |
| Previous by Thread: | hibernate 3.0 usage, Akalamkam, Pardha |
| Next by Thread: | Hibernate error message, twcrone |
| Indexes: | [Date] [Thread] [Top] [All Lists] |