We are using JPA to load some stuff from a database. Some entities may have optional relationships between them, e.g.
@Entity public class First { .... @
Try to add the parameter optional = true to your @OneToOne annotation.
optional = true
@OneToOne