Error trying to validate @CPF and @CNPJ with Hibernate jSf2

Asked

Viewed 537 times

0

Good evening I have a system project in Javaee with JSF2 Primefaces. I’m using the @CPF and @CNPJ mappings from Hibernate, in the same attribute. But this giving error "WARN: HV000129: EL Expression '${value}' References an Unknown Property" This is part of the model code@CNPJ(groups =JuridicaGroup.class) @CPF(groups = FisicaGroup.class) @Size(max = 20) @Column(name = "doc_receita_federal", nullable = false, length = 20) public String getDocumentoReceitaFederal() { return documentoReceitaFederal; } I would like to please receive help, I searched on the internet but nothing, only vague answers.

1 answer

0


Good people as the above error is solved, I updated for Hibernate 5.2.4 and changed the code Beans.xml<interceptors> <class>com.soulsoftware.sisgep.util.jpa.TransactionInterceptor</class> </interceptors>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.