I am trying out Batoo for JPA, and in creating a map with the code below:
@ElementCollection(fetch = FetchType.EAGER)
@CollectionTable(name = "BOOLEAN_CONDITION_MAP")
@MapKeyColumn(name = "CONDITION_KEY")
@Column(name = "CONDITION_VALUE")
private Map<String, Boolean> booleanConditionMap = new HashMap<>();
However, once a persisted entity is fetched it will only return one entity per unique Value. if i change the Provider to Hibernate it works.
has anyone encountered this before?
Thank you