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

630
Vistas
What should I replace the hibernate deprecated @TypeDef and @Type annotations by?

I've just upgraded the version I use for Hibernate to 5.6.1 and it seems it's now deprecating some Type-related annotations:

@TypeDef(name = "json", typeClass = JsonBinaryType::class)


@Type(type = "json")

I found no documentation as to what to do except that

6.0 will introduce a new series of type-safe annotations to serve the same purpose

Our quality guidelines forces us to try and solve every warning and as such I would like to replace these annotations by a non deprecated use.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

It seems there is no replacement until Hibernate 6. Type and also TypeDef was marked as deprecated to mark it as removed in version 6, but so far not replacement exists. The ideology here is that deprecated does not indicate that already a new version exists, which might be not an intuitive meaning for most developers.

This was reverted now in the current 5.6.3-Final version series.

over 4 years ago · Santiago Trujillo Denunciar

0

This deprecation has been reverted in Hibernate 5.6.3-Final

over 4 years ago · Santiago Trujillo Denunciar
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