Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7867985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:51:23+00:00 2026-06-03T00:51:23+00:00

I went to an interview into a IT consultancy company last friday. The Interviewer

  • 0

I went to an interview into a IT consultancy company last friday.

The Interviewer asked me about my project and what was my participation in it.

Suddenly he threw one question on hibernate. His question was as follows

“If i have an project which has been developed in an MVC architecture using Java EE environment, but using JDBC for Database interaction, how will i integrate Hibernate into it. I don’t want to disturb the existing code, all the previous JDBC code should be intact. “

I told him that we an add all the features of hibernate in the existing code, as it only requires Config files, Entities thats it. The old code of JDBC may itself be using Datasourse for getting connection, the same datasourse can be looked up using JNDI to build a session factory in Hibernate, not a big deal.

But the interviewer was not happy with my answer, he needed some more explanation.
I was not able to impress him.

So can you please suggest what should be the probable answer for the above question.
Or at least give me one hint so that i can come to an answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:51:25+00:00Added an answer on June 3, 2026 at 12:51 am

    I think he wanted answer like the following.

    Typical application design requires layers separation. There are the following classic layers: web tier, business logic and DB. There is a thin layer named DAO (Data Access Objects) that is written in java and plays a role of “middleman” between business logic and DB. It sounds that this tier is implemented using plain JDBC.

    So, there is not a problem to replace this and only this layer with Hibernate based one.

    Now you can add more details about how you are configuring Hibernate and integrate it with the rest of your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Today, I went for an interview and the interviewer asked me how I would
I recently went for a Java Interview where the interviewer asked me a question
I went to a PHP job interview, I was asked to implement a piece
Everyone knows that Java supports data hiding. I went for an interview. Then interviewer
This question was recently asked to me in an interview for which i went
I went to an interview today and was asked this question: Suppose you have
So today I went to an interview and one of the questions was the
I went to Twitter's resource page here (https://twitter.com/about/resources/tweetbutton) and got the following code: <a
Today I faced one question in interview. Is it possible to apply inheritance concept
I have used Java, C++, .Net. (in that order). When asked about by-value vs.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.