I\'m using JPA query in my current spring-boot project. How can I add non-standardized SQL functions like GROUP_CONCAT?
Prior, to my previo
You can find a fully functional example in my High-Performance Java Persistence GitHub repository.
In your case, you don't need to customize the JpaPlatform. That should be set to the HibernateJpaPlatform.
You can register the MetadataBuilderContributer either programaticallly via the application.properties configuration file:
hibernate.metadata_builder_contributor=com.vladmihalcea.book.hpjp.SqlFunctionsMetadataBuilderContributor