Gentlemen, I receive an exception
ERROR SqlExceptionHelper:131 - ERRO: coluna "ds_inddir" é do tipo bytea mas expressão é do tipo bigint
the mapping of the table this way
@Lob @Basic(fetch= FetchType.EAGER)
@Column(name = "ds_poldir")
private byte[] dsPoldir;
@Lob @Basic(fetch= FetchType.EAGER)
@Column(name = "ds_inddir")
private byte[] dsInddir;
More at the time of persistence
tbAgendamentosRepository.save(tbAgendamento);
I get the error mentioned above
I'm using PGSql version 9.2, JPA 2.1 Hibernate 5.2.17 and I've done several tests, and I have not found a solution, if it's something in the database, it's in the persistence API I'm using. someone can help