Results 1 to 2 of 2

Thread: httpInvoker and Hibernate

  1. #1
    Join Date
    Aug 2005
    Posts
    1

    Default httpInvoker and Hibernate

    Hello!

    I have small problem...
    I'm developing application in client-server model. Server is tomcat (spring + hibernate application). Client is normal Swing app. I'm trying to invoke bussiness methods of DAO object exposed via httpInvoker.
    Every time I get LazyInitializationException. Is there any way to keep hibernate session alive between client requests? (Maybe OpenSessionInView?)

    Sorry for my english!!

    Maciek.

  2. #2
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    Check the following thread and the Data Access forum in general for some ideas:

    http://forum.springframework.org/sho...?t=17273<br />

    Erwin
    Last edited by robyn; May 15th, 2006 at 05:48 PM.

Similar Threads

  1. HttpInvoker & Hibernate
    By leifabak in forum Remoting
    Replies: 5
    Last Post: May 5th, 2012, 09:31 AM
  2. HttpInvoker Security Issues
    By bthh78 in forum Remoting
    Replies: 17
    Last Post: Apr 28th, 2008, 07:21 AM
  3. Maintaing State while using HttpInvoker
    By shaby775 in forum Remoting
    Replies: 14
    Last Post: Oct 29th, 2004, 08:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •