Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The SQL statements are automatically generated, and Hibernate sends them at runtime to match the currently connected database. The database applications that are implemented with Hibernate are, therefore, database independent. Due to compatibility reasons, certain database functions cannot be used with JPA. However, even native SQL statements can be used in the form of SQL strings and as such, the user can access all the strengths and capabilities of a database. As such, the database independence gets lost, and the use of SQL strings has considerable disadvantages.