GeekInterview.com
  I am new, Sign me up!
 

Hibernate Interview Questions


Hibernate Interview Questions

Questions: 33
Comments: 114
 Hibernate Tags
 Showing Questions 1-10 of 33 Questions
[1] 2 3 4 Next >>
 Sponsored Links

 
 Hibernate Interview Questions
Sorting Options :  

Can anybody tell me which persistent technology can be used instead of Hibernate which is as compatible as Hibernate (not JDBC nor EJB) any parallel technology? 
Latest Answer: There is a alternate option which I have used in past. It is little different though. This is not a ORM tool, but it greatly helps in Database persistence. This is code generation utility which generates all the data access layer code. This tool ...

How to call stored procedure in mysql through hibernate? 
Latest Answer: In order to call a stored procedure using the hibernate , define a named query for a persistent class mapping document. Then call the named query from your java application .Example is given in the Hibernate Reference documentation as follows:-First create ...
Read Answers (3) | Asked by : bhupeshb

Latest Answer: These are the few questions that continuously get asked in most of forums. What’s really difference between two and really more importantly when should I use one over the other. Its pretty interesting question because there are major differences ...

Anybody tell me please, where exactly Hibernate is used..tell me about the mapping and .xml file in Hibernate 
Latest Answer: I think the answers above are a sufficient reason to understand, why hibernate? But don't get confused, when we are drawing comparisions between EJBs and Hibernate. They are not actually parallel technologies or competitors. In fact, they work in ...

what is lazy initialisation in hibernate 
Latest Answer: Lazy loading means that any foreign key references that you have in your table will be loaded only when referred to by the application. Eager loading means everything will be loaded at once. ...
Read Answers (6) | Asked by : gdkundu

How to invoke a stored procedure in Hibernate and pass in a parameter?I have { ? = call myservice.TEST_PROC3( ? ) }While I can get stored proc output if there is no input to TEST_PROC3, e.g. call 
Latest Answer: You can declare it as Named queiries in one of your mapping files and give unique name.Call it in your code. Sample code is below.SQLQuery sq = (SQLQuery) session.getNamedQuery("findSearchResultsListSP");sq.addEntity("documentTypeCode", ...
Read Answers (4) | Asked by : newdeveloper

What J2EE design problems does Hibernate solves apart from Data Base in-dependency and being an ORM tool?
Read Answers (2) | Asked by : Rajeev Ranjan

Latest Answer: Hibernate does not require a Application Server to be deployed. Easy plugin into any available project or module when compared to EJBHibenate involves less coding and easy to manage code when compared to JDBC. ...
Read Answers (3) | Asked by : gopikrishna

Latest Answer: Use update() if you are sure that the session does not contain an already persistent instance with the same identifier, and merge() if you want to merge your modifications at any time without consideration of the state of the session. In other words, ...

Latest Answer: Proxies are created dynamically by subclassing your object at runtime. The subclass has all the methods of the parent, and when any of the methods are accessed, the proxy loads up the real object from the DB and calls the method for you. Very nice in ...
Read Answers (3) | Asked by : Saurabh Jain

View page [1] 2 3 4 Next >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape