Hi,
we have three little questions about fetchplans(we love it)
How can we configure our fetching to get element of a Map ?
addField(CustomerImpl.class, <???>);
Map belong to Customer with this mapping
@OneToMany(targetEntity = CustomerProfileValueImpl.class,
cascade = { CascadeType.ALL }, fetch =
FetchType.EAGER)
@MapKey(name = "localizedAttributeKey")
@ElementDependent
@ElementJoinColumn(name = CUSTOMER_UID)
@ElementForeignKey(name = "tcustomerprofilevalue_ibfk_2")
public Map<String, AttributeValue> getProfileValueMap() {
return profileValueMap;
}
2)Is it possible that fetchplan leave field in lazy mode and not return null
value to the fields unselected ?
3)
In the api there is OPenJPAQuery.getFetchplan there is a getFetplan method
does this fetplan is scoped to the request only ? and more is it possible to
scope fetcplan to only one query
Regards
Marc
--
View this message in context:
http://openjpa.208410.n2.nabble.com/Fetch-Plan-ands-collections-mapped-tp5321552p5321552.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.