if its injected through @springbean its ok
-igor
On 3/6/07, Al Maw <[EMAIL PROTECTED]> wrote:
Michel Wichers wrote:
> we received the following exception within a WebPage using an injected
> SpringBean - HibernateSessionFactory via sublassed
LocalSessionFactoryBean :
...
> de.ponton.box.core.ui.detail.Detail->sessionFactory
It looks to me like that class has a reference to sessionFactory.
Needless to say, you shouldn't do that! You can't serialise your session
factory - it has connections to the database, etc.
So I don't think this is a bug in our serialization, but instead someone
having a SessionFactory reference where they shouldn't.
Al
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user