When using JSF scaffold we get the following generated code for @ManyToOne relation:
<h:selectOneMenu converter="#
" id="clubFacilityBeanClubFacilityClub" value="#
{clubFacilityBean.clubFacility.club}">
<f:selectItem/>
<f:selectItems value="#
"/>
</h:selectOneMenu>
When we annotate the property LAZY @ManyToOne(fetch=FetchType.LAZY) the selectOneMenu is not selected with the current value in the create.xhtml file.
Is there any way to solve this situation?
Thanks in advance.
Regards