I have a basic question in Hibernate.
If we use HQL in Hibernate, how is the data fetched from the database?
Is it like Hibernate converts the HQL to SQL and executes in database and returns the results? If that is the case won’t the conversion of HQL to SQL be an additional overhead?
Yes, HQL is translated to SQL. There is of course an additional overhead, but which is worth because