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 REST with Spring (video course) this week in the Spring 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

I agree. Here's the link:
subject: HibernateDaoSupport not compatible with JSON
It's not a secret anymore!