Using org.hibernate.type.YesNoType

Hi,
In a Boolean atribute I need use YesNoType or the equivalent.
Instead of saving a boolean value to the database, it saves a character value (Y N)

//"org.hibernate.type.YesNoType"
  @Column(name = "ISACTIVE")
   private Boolean isActive;

thank in advance

Perhaps you can use a JPA converter. See for example https://www.baeldung.com/jpa-attribute-converters