Hi,
My question is "is there simpler things to do ?"
Please, review that idea and don't hesitate to comment ...
Step 1 : I want partial object, not hashtables. It could be a Person
with only some attributes having values.
this concern not only @Basic attribute but also any relational
attributes like @ManyToOne, ...
=> I used fetch plan and it works fine.
Step 2 : I'm using an Apache lib via a third party framework that
explore all accessors (beanutils).
Unfortunatly, unretreived attributes came with a proxy.
As a consequence, all unreitreived attributes are now retreived
wasting all the benefit of having used fetch plan ...
Step 3 : I first try to get rid of that proxies but without success,
so I though I could just have my own proxy that could subclass the
OpenJPA default proxy
and just ensure in my subclass that when I need no proxy, the default
behavior is bypassed.
What do you think about that idea ?