Commit feae3048cff1bbb4a2137b31b89d4ed43dd73c9c
1 parent
70fa9b9b
Exists in
master
and in
1 other branch
DocumentoSipar não estava implementando Serializable.
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/main/java/br/gov/ans/integracao/sipar/dao/DocumentoSipar.java
| 1 | 1 | package br.gov.ans.integracao.sipar.dao; |
| 2 | 2 | |
| 3 | +import java.io.Serializable; | |
| 3 | 4 | import java.util.Date; |
| 4 | 5 | |
| 5 | 6 | import javax.persistence.Entity; |
| ... | ... | @@ -34,7 +35,7 @@ query = "SELECT TB.NU_DIGITO_DOCUMENTO, TB.CO_OPERADORA, TB.DT_EMISSAO_DOCUMENTO |
| 34 | 35 | + "WHERE TB.CO_SEQ_DOCUMENTO = :numeroDocumento " |
| 35 | 36 | + "AND TB.NU_ANO_DOCUMENTO = :anoDocumento " |
| 36 | 37 | + "AND TB.NU_DIGITO_DOCUMENTO = :digitoDocumento") |
| 37 | -public class DocumentoSipar { | |
| 38 | +public class DocumentoSipar implements Serializable{ | |
| 38 | 39 | @Id |
| 39 | 40 | private String digito; |
| 40 | 41 | private String operadora; | ... | ... |