osuser hibernate configuration errors

"J. Matthew Pryor" <[email protected]> Fri, 12 Dec 2003 13:44:48 +1100
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
I am having trouble getting osuser to work in hibernate mode.

I have get the example app deployed & it basically runs, but when anything
tried to get proeprtysets, it get strange exceptions

I ofund I had to modify the code for
OSUserHibernateConfigurationProviderImpl to set the session factory of its
supe class

That got me a bit further, but now I get an exception like this:

12:41:21,907 ERROR [Engine] ----- Root Cause -----
javax.servlet.ServletException:
net.sf.hibernate.Query.setString(Ljava/lang/String;Ljava/lang/String;)Lnet/s
f/hibernate/Query;
	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:536)
	at org.apache.jsp.viewuser_jsp._jspService(viewuser_jsp.java:321)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

I guess I will crack out the debugger & see what is going on, but given all
this, I suspect I am doing something terribly wrong

Is anyone out there using OSUser in hibernate configuraiton?

What to I have to do to get proertyset to work properly?

BTW I am using JBoss/MySQL

Thanks,
Matthew



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/