Die meistgefragten Interviewfragen und Antworten sowie Online-Tests
Lernplattform fur Interviewvorbereitung, Online-Tests, Tutorials und Live-Ubungen

Baue deine Fahigkeiten mit fokussierten Lernpfaden, Probetests und interviewreifem Inhalt aus.

WithoutBook vereint themenbezogene Interviewfragen, Online-Ubungstests, Tutorials und Vergleichsleitfaden in einem responsiven Lernbereich.

Interview vorbereiten

Without Book Frage stellen

Review the question and existing answers carefully before replying. The best answers explain the reasoning, steps, and tradeoffs so other learners can benefit too.

Frage. Difference between jdbc and hibernate

- Difference between jdbc and hibernate

Veroffentlicht am Jan 10, 2011 Veroffentlicht von Ari
Antwort. Hey, youÂ’re the goto epxret. Thanks for hanging out here.
Veroffentlicht am Jun 14, 2011 Veroffentlicht von Tish

Antwort. 1) Hibernate is data base independent, your code will work for all ORACLE,MySQL ,SQLServer etc.

In case of JDBC query must be data base specific.

2) As Hibernate is set of Objects , you don?t need to learn SQL language.

You can treat TABLE as a Object . Only Java knowledge is need.

In case of JDBC you need to learn SQL.

3) Don?t need Query tuning in case of Hibernate. If you use Criteria Quires in Hibernate then hibernate automatically tuned your query and return best result with performance.

In case of JDBC you need to tune your queries.

4) You will get benefit of Cache. Hibernate support two level of cache. First level and 2nd level. So you can store your data into Cache for better performance.

In case of JDBC you need to implement your java cache .



5) Hibernate supports Query cache and It will provide the statistics about you
Veroffentlicht am Nov 19, 2011 Veroffentlicht von Raju

Antwort. 1) Hibernate is data base independent, your code will work for all ORACLE,MySQL ,SQLServer etc.

In case of JDBC query must be data base specific.

2) As Hibernate is set of Objects , you don?t need to learn SQL language.

You can treat TABLE as a Object . Only Java knowledge is need.

In case of JDBC you need to learn SQL.

3) Don?t need Query tuning in case of Hibernate. If you use Criteria Quires in Hibernate then hibernate automatically tuned your query and return best result with performance.

In case of JDBC you need to tune your queries.

4) You will get benefit of Cache. Hibernate support two level of cache. First level and 2nd level. So you can store your data into Cache for better performance.

In case of JDBC you need to implement your java cache .



5) Hibernate supports Query cache and It will provide the statistics about you
Veroffentlicht am Nov 19, 2011 Veroffentlicht von Raju

Geben Sie Ihre Antwort ein

Vollstandiger Name
E-Mail-Adresse
Antwort
Sicherheitsprufung
Lose dies, um fortzufahren: 2 + 4 = ?
Copyright © 2026, WithoutBook.