This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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

wood burning stoves
subject: HibernateDaoSupport not compatible with JSON
Similar Threads
Struts2 JSON problem
LazyInitializationException [spring + struts2]
Struts2 Null Pointer Exception at Session Scope Level
Problem with Jquery Struts 2 and spring integrated application