Please tell me the difference between hibernate and jdbc.
1) Jdbc contain the database dependent queries. But Hibernate contain the database independent object queries. It mean in hibernate we can interact any database without changing the query.
2) Defaultly the jdbcd does not take care about transactions. But defaultly hibernate take tare about transactions.
3) In jdbc it is not possible to transfer the ResultSet object from one place to another. Here we are writing the manual code like creating java bean object for every record and store the record information in corresponding java bean object and add all java bean objects to Collection object . But whenever we use hibernate no need to write this type of code. Internally it contain the above code.So Hibernate is called ORM tool.