Hi Ben, I am using PDQResponseController .Now i made whole controller with annotations . But then also i am getting same error
*failed to lazily initialize a collection of role: org.openmrs.Patient.identifiers, no session or session was closed* Here is the controller code : http://pastebin.com/SRcqarjy On Fri, Jul 29, 2011 at 4:23 PM, Ben Wolfe <[email protected]> wrote: > Which controller are you using? PDQResponseController? or > PDQFormController? I don't see how those are working...its a mix of > the annotations and SimpleFormControllers...you should do it either > one way or the other. :-) Perhaps this is why the session is getting > closed in the middle of your method calls? > > Unrequested tip: You should do your work in trunk, not in branches. > And under branches should be folders, not your code. So you should > have /branches/mavenized/___ > > Ben > > On Wed, Jul 27, 2011 at 10:58 AM, Rahul Akula <[email protected]> > wrote: > > Code presently commented > > > > On Wed, Jul 27, 2011 at 1:28 PM, Rahul Akula <[email protected]> > wrote: > >> > >> > >> > http://svn.openmrs.org/openmrs-modules/pixpdq/branches/api/src/main/java/org/openmrs/module/pixpdq/Segments.java > >> > >> getting error at Line 256 > >> > >> > >> On Sun, Jul 24, 2011 at 4:31 PM, Ben Wolfe <[email protected]> wrote: > >>> > >>> Ok, can you post more code or point us to where this is in svn > somewhere? > >>> > >>> Ben > >>> > >>> On Jul 24, 2011 2:00 PM, "Rahul Akula" <[email protected]> wrote: > >>> > No i am not doing in controller . I am not closing the session .Ya i > am > >>> > reusing the variable List. > >>> > > >>> > On Sun, Jul 24, 2011 at 3:23 PM, Ben Wolfe <[email protected]> wrote: > >>> > > >>> >> Are you doing this in a controller? Are you closing the season at > all? > >>> >> Are > >>> >> you reusing a variable with something from the previous list still > in > >>> >> it > >>> >> perchance? > >>> >> > >>> >> Ben > >>> >> On Jul 22, 2011 9:19 PM, "Rahul Akula" <[email protected]> > wrote: > >>> >> ------------------------------ > >>> >> Click here to > >>> >> unsubscribe< > [email protected]?body=SIGNOFF%20openmrs-devel-l>from > >>> >> OpenMRS Developers' mailing list > >>> >> > >>> > > >>> > _________________________________________ > >>> > > >>> > To unsubscribe from OpenMRS Developers' mailing list, send an e-mail > to > >>> > [email protected] with "SIGNOFF openmrs-devel-l" in the > body (not > >>> > the subject) of your e-mail. > >>> > > >>> > [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l] > >>> ________________________________ > >>> Click here to unsubscribe from OpenMRS Developers' mailing list > > > > ________________________________ > > Click here to unsubscribe from OpenMRS Developers' mailing list > > _________________________________________ > > To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to > [email protected] with "SIGNOFF openmrs-devel-l" in the body > (not the subject) of your e-mail. > > [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l] > _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

