Skip to content

Function createSQLQuery() of hibernate is deprecated and has been removed in newer versions #24

@Leander-Wendt

Description

@Leander-Wendt

The function CreateSQLQuery() is no longer supported in newer hibernate versions. It's deprecated since version 5.2.X.

You should use createQuery​(String queryString, Class resultClass) instead.

Reference Docs:
https://docs.jboss.org/hibernate/orm/6.0/javadocs/org/hibernate/Session.html

Metadata

Metadata

Assignees

Labels

wontfixThis will not be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions