Dec 7, 2012

Adding support for user defined function in Hibernate with Custom Dialect


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