ContactUs

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

What are load and get methods ?

load() / get() : load uses lazy loading and get is initial loading.
No record then exception in load,no record then null in get.
load creates proxy student,get creates normal student object.
If we are passing "Student.class" to load then it creates proxy student and if we want we can pass "Student" to load,then it
works as initial loading.
we can pass Student class obj or Student obj to the load.
we can pass Student class obj and we cannot pass Student obj to the get because already get is initial loading.
Load works as both lazy and initial loading.
we can pass Student class obj to get.even though  we pass Student class obj it performs only initial loading.
Related Posts Plugin for WordPress, Blogger...
Flag Counter