IntelliJ Java IDE
The moose likes Object Relational Mapping and the fly likes HibernateDaoSupport not compatible with JSON Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "HibernateDaoSupport not compatible with JSON" Watch "HibernateDaoSupport not compatible with JSON" New topic
Author

HibernateDaoSupport not compatible with JSON

Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 269

I'm developing an application using SPRING + STRUTS2 + HIBERNATE

with that i want to use the struts2-jquery plugin.
I am getting an error when i try to populate the plugin <sj:select> element directly from my BO class.
BO class contains my hibernate connectivity login.
BO class extends the HibernateDAOSupport.
The return type in the struts.xml file for the particular action that <sj:select> element of the plugin uses returns result type "json"

this is the error that i'm getting ...



this is the jsp page that contains the tags




this is the action mapping



the BO and BO Impl class



this is the session factory bean in the aplicationContext.xml



regards,
lalit


ARK -->> One Act of Random Kindness at a Time ... Let's change the world ...
One More Thing: if you wish to stop piracy develop open source apps
 
 
subject: HibernateDaoSupport not compatible with JSON
 
Threads others viewed
Struts2 JSON problem
org.apache.struts2.json.JSONWriter
LazyInitializationException [spring + struts2]
Struts2 Null Pointer Exception at Session Scope Level
Problem with Jquery Struts 2 and spring integrated application
MyEclipse, The Clear Choice