Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

342
Vistas
Is it possible to set literal handling mode for specific clause in Hibernate?

Since Hibernate 5.2.12 it's possible via spring.jpa.properties.hibernate.criteria.literal_handling_mode to set INLINE handling mode for all expressions. It occurs, that it's problematic, because of NPE if there's enum as literal expression.

My motivation here is to get rid of problem with many bind parameters to in clause (the postgres limit is reached very easily). Unfortunately the project is generically based on criteria API predicates - so there's no way to rewrite programatically the collection to where clause as sql string.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda