What is the replacement for this in hibernate 6.5 with java 21 version?

@Column(name = "CONTENT_TYPE")
	@Type(type = "com.sp.ia.util.SPEnumType", parameters =  @Parameter(name = "enum", value = "com.sp.ia.modal.ContentType"))
	private ContentType contentType;

Im getting error The annotation @Type must define the attribute value and The attribute type is undefined for the annotation type Type

Read the migration guides: