Sanju

Greenhorn
+ Follow
since Apr 10, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sanju

Hi All,

I think there is little bit confusion going on for lazy initialization. Though few explanations a good but missing some points.
Basically lazy initialization works like that.
1. If lazy = "true"
Any associated collection will not be loaded first time, for an example if Department is associated with Employee then on first loading of the Department entity, associated Employee entities will not be loaded.
Note: it will not be loaded even if you say
List list = department.getEmployees();
So in that case list will be always empty. Now once you do any operation on the list then only Employee entities will be loaded from DB, like list.size() etc.

How hibernate intercept the method calls on collection - They have their own implementation of List, Set etc.
2. Also note that you can not call department.getEmployees() and do operation on returned collection once session is closed and transaction is committed. So the Rule is if lazy="true" you can load associated collections lazily if and only if session is open.

Hope fully that will give you enough information.

Thanks
Sanjeev T
Hey,
This company is in total chaos. I also have got selected for Technical Specialist, they had promised me to release the offer letter in 10 Days, but I am still waiting and it is almost 13 Days. This is not a dream company now.
15 years ago
Hey,
I would like to know how is Technical Specialist post in Infy, as I got offer for this designation.
15 years ago
Yes, if person is getting lets say Rs 140 then Rs 100 will be fixed and Rs 40 will be variable. Or you can say if fixed sal is 100 then 40% of this means 40 will be variable and total CTC will be Rs 140.

I know it is bad, but can any one tell does Infy pay this variable amount or not?
15 years ago
Hi,
Infy salary structure is to give around 30% of total salary in variable amount, which included company performance, business unit performance and individual performance. Can any one tell how much of variable amount I will certainly get.

Also will I get home loan benefit?
15 years ago
Hi Rahul,
Have your friends ever went onsite from Lehman?
15 years ago
Hey can any one tell how much yearly Bonus Lehman pays?
15 years ago
Hey any one can give reply to my answer?
15 years ago
Hi,
I am lokking for change. I want to know which company is better, Lehman Brothers or CTS based on these criteria - workculture/onsite opprtunity/increments/longterm career.

Thanks in Advance.
15 years ago