0

I created on function in mysql

SELECT mpm_autogenerate_code(param1,param2)

and i want to call this function using Hibernate Query Language

2 Answers 2

1

You can use native SQL Queries.

Another possibility is to extend a Dialect as described in this answer, but it is more complex.

Sign up to request clarification or add additional context in comments.

Comments

0

You migth find this tutorial useful, but it's not HQL

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.