I think you need to allow null on the columns as well, maybe try allowsNull = "true" on the @Column annotations.
On Wed, Mar 17, 2021 at 7:01 PM Sofía Canio <canioso...@gmail.com> wrote: > Hi team, > I am currently working with Isis version 1.17 > > I am trying to make the blob type property optional, however it doesn't > seem to work as it is still seen as mandatory > > This is my code > > @javax.jdo.annotations.Persistent(defaultFetchGroup="false", columns = { > @javax.jdo.annotations.Column(name = "fotos_name"), > @javax.jdo.annotations.Column(name = "fotos_mimetype"), > @javax.jdo.annotations.Column(name = "fotos_bytes", jdbcType = > "BLOB", sqlType = "VARBINARY") > }) > @Property(optionality = Optionality.OPTIONAL) > @lombok.NonNull > @Getter @Setter > private Blob fotos; > > > https://cdn.discordapp.com/attachments/714621577383116810/821602020943331368/unknown.png > > What should I do? > > Thanks >