This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes HibernateDaoSupport not compatible with JSON Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "HibernateDaoSupport not compatible with JSON" Watch "HibernateDaoSupport not compatible with JSON" New topic

HibernateDaoSupport not compatible with JSON

Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: HibernateDaoSupport not compatible with JSON
Similar Threads
Struts2 Null Pointer Exception at Session Scope Level
Struts2 JSON problem
Problem with Jquery Struts 2 and spring integrated application
LazyInitializationException [spring + struts2]