In the last Blog we saw how to add support for proprietary DB function in Hibernate. We took an example of charset function in MySQL DB. Now we will target user defined function. So first we will create a function called say_hello in
MySQL (ensure function is created in appropriate schema) as follows