phdmohans / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

Feature request: Cache JPAMember instances #135

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sorry for adding this as an issue, but somhow I couldn't find the option to 
create a feature request/enhancement

Currently JPAMember creates a new instance for every entity, which might lead 
to a lot of created and disposed objects.

My suggestion would be to cache an instance once it has been created and reuse 
it.

I'm attaching my adoption of JpaMember which contains some other modifications 
a well since I had a view problems with lazy-loaded collections

Original issue reported on code.google.com by tsuki.fa...@gmail.com on 31 Jan 2012 at 9:49

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by philipp.sebastian.thun on 27 Mar 2012 at 2:44