Solved

Hibernate

Posted on 2006-06-15
3
1,265 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 250 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
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:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

726 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