?
Solved

Hibernate

Posted on 2006-06-15
3
Medium Priority
?
1,274 Views
Last Modified: 2013-11-24
Hi

Present we are using Oracle stored procedures and Callable statements to invoke those procedures to deal with data in our applicaiton JDBC part.  Now we are planning to re-develop that part using Hibernate.  I have some doubts

1. Can we write complex queries using HQL and how fast those are?

2. Can we avoid connection pooling provided by hibernate? Instead of that can we use weblogic container managed pooling mechanism?  Which one is faster.

3. If we call stored procedures how hibernate will handle? is it faster. Im asking about performance.

4. In JDBC we will get ResultSet. In which form we will get results if we use hibernate?

5. Is Hibernate is more reliable if we are having more secured and complicated transactions?

6. If i want to pass one hibernate session into other how i can do?

7. Is there any other technology which is simple and more reilable than hibernate in my senario?

we will deal with wast product data information in our applicaiton.

Good suggestions please. and please dont give references like hibernate.org etc.. i have gone through all those. I need answers form experts who worked extensively on hibernate.
0
Comment
Question by:anumalas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
orhanbaba earned 750 total points
ID: 16926632
you can use complex queries in hibernate it can be slow alittle bit  there is no bigger difference.
you can use hibernates pools it is easy to manage and has strong caching capabilities.
calling sp is faster not because of hibernate. stored procedures are compiled on dbserver. there is no difference between hibernate or others
you can use list array list or whatever you want. jdk 5 has serious advantegers about generics it is easy to code.
yes it is reliable .
hibernate session factory will be helpfull.

hibernate is  EJB3 (it is not but looklike that :) ) container. you can use oracle toplink or EJB3 supported app. servers.

The main goel is isolating your applications from database. It is very important because if you change sth from db you dont need to change full of your source.

sorry about bad english
0
 
LVL 3

Author Comment

by:anumalas
ID: 17041160
Suppose if i convert exisitng stored procedures into prepared statements and complex queries is there any performance leak using hibernate ??
0
 
LVL 4

Expert Comment

by:orhanbaba
ID: 17042578
you can use stor. proc. in hibernate. you dont need to convert them to hql.
if you want to convert them to sql queries yes you can have some performance issues. at this point hibernate uses some caching techniques.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question