Question d’entretien chez Entain India

why native sql if we have hql ?

Réponse à la question d'entretien

Utilisateur anonyme

1 juin 2018

You can use native SQl those in cases where HQL lacks or degrade the performance. stack says: Limitations of HQL HQL Queries can not perform DDL operations HQL Queries Can not be used in PL/SQL Programming HQL Queries can not be used to insert Single record into table HQL Queries gives negligible performance degradation because Conversion(HQL to SQL) when compare SQL.