I know that Hibernate uses JDBC behind the scenes, but how does it do this/ where does it do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
Hibernate uses JDBC to connect to the database and execute the dynamic SQL that it generates.
Hibernate is nothing more than a SQL generation engine – it uses your objects and mappings to generate SQL for you instead of making you write it by hand.
Once it does that, everything is the same as if you had written the SQL yourself.