Hi , I wanted to know the best setting for performance. I have a Table A and a table B (1:n) with the n side relationship having potentially large data.
So if i use ObjectCacheTwoLevel and forceProxies=true will the n side be a collection proxy? The problem i have is if i make this property forceProxies=true every relationship of the main object looked up is a proxy(and i don't want this behaviour for 1:1). Does this setting improve performance? or if i defined proxy classes or collection proxy in my repository_user will be behaviour be same?That is if in Class A - Class B(1:n) ,A is looked up from cache, I want to know ifl the objects in relationship "rel" be materialized,? if I use forceProxies=false and the definition in repository_user.xml is something like below <class-descriptor class="ClassA"> <field-descriptor...../> ..... <collection-descriptor name="rel" collection-class="ManageableArrayList" element-class-ref="ClassB" proxy="true"> <inverse-foreign field-ref="bpk"/> </collection-descriptor> </class-descriptor> -- View this message in context: http://www.nabble.com/advantage-of-forceProxies%3Dtrue--tf3428426.html#a9556307 Sent from the Apache DB - ObjectRelationalBridge Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]