-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: performance hibernate
PostPosted: Tue Nov 16, 2004 9:59 am 
Newbie

Joined: Tue Nov 16, 2004 9:43 am
Posts: 11
Hi;

I would like to use Hibernate for my web application, with the following contraints :

1- I have already 50% of the SQL requestes (complex select) which are implemented
2- My application is used for only consulting of the data (nothing update in to database, but only of the select).
3- My application will be used a significant number users and a big database.


So its useful to use Hibernate for that ?

Regards;


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 16, 2004 10:34 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
if you have real domain model yes,
if you only "try" to map a legacy db to some kind of class diagram, i don't think so

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 16, 2004 10:36 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Use Hibernate, you can put your SQL queries in your Hibernate metadata (as named queries) and you can use read-only queries (projection, dynamic instantiation). It also sounds like you can make good use of caching.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 16, 2004 10:45 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
if the legacy db has been designed with "anti" patterns, associations will be limited and even with SQLQueries, it will be hard to maintain, no?

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject: Hibernate
PostPosted: Tue Nov 16, 2004 11:16 am 
Newbie

Joined: Tue Nov 16, 2004 9:43 am
Posts: 11
christian wrote:
Use Hibernate, you can put your SQL queries in your Hibernate metadata (as named queries) and you can use read-only queries (projection, dynamic instantiation). It also sounds like you can make good use of caching.


OK.

For the moment, I have a correct MCD avec of the SQL vues and functions for the select (for my requestes, I not use directlty the database but of the vues). This model has been realized in delphi environnement.
Today I must realized a j2ee web application which access to this database and display some informations (read only : consult).
I use struts (for GUI) and spring component (services) and I would like to use Hibernate and if possible all my SQL vues and functions already implemeted.

My question : its a good thing or not ? Which are the performance of the Hibernate in these cases (JDBC traditional solution) ?

regards;


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 16, 2004 12:10 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
It's impossible to summarize this in two sentences. Please consult the "Performance FAQ" in the documentation area of the Hibernate website. If you need more basics, consider buying Hibernate in Action.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject: Hibernate
PostPosted: Wed Nov 17, 2004 5:13 am 
Newbie

Joined: Tue Nov 16, 2004 9:43 am
Posts: 11
christian wrote:
It's impossible to summarize this in two sentences. Please consult the "Performance FAQ" in the documentation area of the Hibernate website. If you need more basics, consider buying Hibernate in Action.


Hi Christian;

My question do not relate to the hibernate performance.
I would like to know the opinions of people who used Hibernate in their project.
I have explained my problem with these constraints and I try to find a good solution with a help of the Hibernate experts.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 17, 2004 5:17 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
You ask about "performance" and then you say your question is not related to performance?

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.