Re: osuser hibernate configuration errors

Hani Suleiman <[email protected]> Thu, 11 Dec 2003 21:56:23 -0500
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
Sounds like a version mismatch between the hibernate in osuser and the  
version in propertyset, if you compile both from cvs with the same  
version then it should be alright

On Dec 11, 2003, at 9:44 PM, J. Matthew Pryor wrote:

> 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(PageConte 
> xtImp
> 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/
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>



-------------------------------------------------------
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/