first: sorry for my english! I have a persistent class "Person" with this field (and others) ========== @ManyToOne(cascade=CascadeType.REFRESH, fetch=FetchType.EAGER) Address address; ==========
In another class I retrieve a list of Person using createNativeQuery and then i close the EntityManager, surplisingly (for me!) the "address" field is not retrieved.
After some documentation reading I can't figure the reason (but maybe i miss this informations). I did a try using "createQuery" instead of "createNativeQuery" and all works fine.
Is this the desidered behaviour? thank you Edoardo
