HyperJAXB generates @ManyToOne Annotations for XSD 1:1-relationships like:
<xs:element name="typeName" type="otherType" />
or
<xs:element name="typeName" type="otherType" minOccurs="0" maxOccurs="1" />
This is not the expected behaviour since it should generate @OneToOne Annotations. Well, the customization guide describes that you can customize this behaviour by adding instructions to every single element definition (see http://confluence.highsource.org/display/HJ3/Making+schema-derived+classes+ready+for+JPA, paragraph "Mapping as one-to-one").
This is fine, but I need a global configuration for this. Can anybody please tell me, what to put in bindings.xjb to achieve this goal?