Disable HQL validation query

It's there any solution to disable the HQL validation of select queries on spring boot?

I have already tried the following options

spring.jpa.properties.javax.persistence.validation.mode:none

hibernate.hbm2ddl.auto:none

I'm getting error because i want to use a different select on postgre select like these, without be native query

select '{"key":"value"}'::json->>'key'

Thanks



Read more here: https://stackoverflow.com/questions/67376878/disable-hql-validation-query

Content Attribution

This content was originally published by Arthur Fuzaro at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: