"YOU AND THE ART OF ONLINE DATING" is the only product on the market that will take you step-by-step through the process of online dating, provide you with the resources to help ensure success. Get it now!
By default, the optional region is set to the class or collection role name. So for the set the default region name would be org.demo.Paren" rel="nofollow">org.demo.Parent. Children (i.e.
Different from the default region name for the Child which would be org.demo. Child ). This makes sense IMO since you want to be able to invalidate a particular collection or all the collections in a region without invalidating all the entities from the type of a collection.
So for the set children, should we specify the region org.demo" rel="nofollow">org.demo.paren" rel="nofollow">org.demo" rel="nofollow">org.demo.parent. Children where it should cache the association or should we use the cache region of org.demo" rel="nofollow">org.demo. Children where the children would be getting cached.By default, the optional region is set to the class or collection role name.
So for the set, the default region name would be "org.demo" rel="nofollow">org.demo.Parent. Children" (i.e. Different from the default region name for the Child which would be "org.demo" rel="nofollow">org.demo.
Child"). This makes sense IMO since you want to be able to invalidate a particular collection or all the collections in a region without invalidating all the entities from the type of a collection. But actually, the big question here is: why the hell don't you use the defaults?
You are introducing extra work, maintenance and potential sources of problem and I fail at understanding the benefits. As a fan of conventions over configuration, I use the default (i.e. I don't set region).
Thanks for the reply. "This makes sense IMO since you want to be able to invalidate a particular collection or all the collections in a region without invalidating all the entities from the type of a collection. " Do you mean to say in the above cache configuration hving two different cache regions for children is advantageous.
I did not understand how? Kindly elaborate. What about the consistency.
If one the regions (org.demo.paren" rel="nofollow">org.demo.parent. Children) got updated, the other cache region for children (org.demo. Children) wouldn't reflect tht change.
Doesn't this cause inconsistency Kindly clarify. – user293297 Mar 14 '10 at 16:59 @lifeisnotfair I'm not sure to get you. First, do you agree that you can modify a collection by adding/removing elements without modifying the elements themselves?
I don't see any source of inconsistency here. Second, bernate handles cache/regions for you so you don't have to worry about it. And this is one more reason to use the defaults (especially if you're new to bernate) instead of trying to optimize prematurely (and maybe wrongly) something that isn't a problem.
If you want to fine tune, do it later. – Pascal Thivent Mar 15 '10 at 0:23.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.