kishore mang

Greenhorn
+ Follow
since Nov 27, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 kishore mang

based on my experience it may be problem with too many connections opened. can you post your calling code?
you are right!!!
after session closed in eclipse debug mode i can see message about all referenced objects
as "com.sun.jdi.InvocationException occurred invoking method", means referenced data not loaded.

i never expected that eclipse debug mode causing referenced data get loaded by parent.
Hi Kathleen,

appreciate for your quick response, even i removed toString() in all classes still able to see
in debug view the event object and its all child objects loaded with all values set.

So i am sure that returned session.get() which is event is loaded all its child objects.
This means eclipse debug view loading all referenced child objects?

Regards
Kishore
Hi all,









and my entity objects:





when i run following statement it fetching child/referenced objects too which i dont want







any suggestions where things going wrong? please suggest.

Regards
Kishore
Thanks Mike for your valuable explanation, now got your point.

RUNNABLE consists of everything Running plus everything that is Runnable.



In most of the books it was mentioned as Runnable and Running are two different states, so cant be one part of the other.

Since When Thread.start() called CPU will schedule that thread but may not be running state, but when schedules and run() method called means
that thread is in running(using CPU and active) in conceptual manner. After sleeping() CPU will put in Runnable not compulsorily in Running(active).

So can we say now that a thread which is in Runnable is Running?


Hi Mike,

I dont think Runnable and Running states are same as per your post.
Runnable = Thread.start() called
Running = run() method being executing


Regards
Kishore
thank you Jesper de Jong for providing solution!!!
11 years ago
Hi All,

For copying one bean properties to another bean apache provided BeanUtils can use, but the condition is
both beans properties signature should match.
But most of the time beans fields signatures(naming) can be different between layers(service, dao etc).

Is there any API which can copy one bean properties to another bean even though field names different?

Best example is castor mapping file where eventhough request xml fields names are different still we can process(map)
request data to xml.

Regards
Kishore
11 years ago