Why is it not allowed to insert explicit values ​​in HQL?

As mentioned in the Hibernate ORM 5.2.13. Final User Guide :

Only form is supported INSERT INTO …​ SELECT …. You cannot specify explicit values ​​to insert.

Are the arguments behind its developed official sources? Is there any specific limitation that prevents form support INSERT INTO ... VALUES ...in HQL?

+4
source share
1 answer

, DML, - ( , ) SQL. , CRUD ().

UPDATE DELETE SQL , , HQL/JPQL.

insert ... select , insert ... values .

+2

Source: https://habr.com/ru/post/1693289/


All Articles