Posts by Felipe Barros • 13 points
1 post
-
1
votes1
answer82
viewsQ: Save only if not null
How do I map with Hibernate @OneToOne and save only if the information has data in the related table? Example: public class ObservacaoPessoa { @Id @GeneratedValue(strategy = GenerationType.IDENTITY)…