It is possible to work around the issue using a custom dialect as detailed on a thread on StackOverflow