AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

plsql vs hibernate

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
yasaswi
Guest





PostPosted: Thu Jan 13, 2005 1:18 pm    Post subject: plsql vs hibernate Reply with quote



I have Oracle 10g database. Please comment on performance issues
related to PL/SQL vs Hibernate. I have a complex data schema that would
need lot of complex joins. I am leaning towards PL/SQL procedures and
JDBC combination, because speed is more important than scalability
across multiple database platforms. Is my thinking right given the
complexity in database schema?
Thanks,
Yasaswi

Back to top
GreyBeard
Guest





PostPosted: Thu Jan 13, 2005 3:30 pm    Post subject: Re: plsql vs hibernate Reply with quote



On Thu, 13 Jan 2005 05:18:36 -0800, yasaswi wrote:

Quote:
I have Oracle 10g database. Please comment on performance issues
related to PL/SQL vs Hibernate. I have a complex data schema that would
need lot of complex joins. I am leaning towards PL/SQL procedures and
JDBC combination, because speed is more important than scalability
across multiple database platforms. Is my thinking right given the
complexity in database schema?
Thanks,
Yasaswi

What do you mean by 'complex joins'? Are you implying that the
application will join the data, rather than using the SQL language? If
so, you really need to rethink your logic.

To answer your question, the general rule is

1) Do it in SQL
2) Try again - do it in SQL
3) No, I mean really - do it in SQL
4) Do it in PL/SQL
5) Do it in the application


You might find books like 'Mastering Oracle SQL'
http://www.oreilly.com/catalog/0596006322/ helpful to accompplish 1, 2 or
3.

Look at Thomas Kyte's "Effective Oracle By Design" for tricks, methods,
reasons and proof for PL/SQL before Hibernate.

lol/FGB

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.