Search:

Type: Posts; User: cdebracy; Keyword(s):

Search: Search took 0.02 seconds.

  1. Has anyone used the...

    Has anyone used the PortletOpenSessionInViewInterceptor with WebLogic 8.1? Certainly I can reference my objects before rendering the view, but have used OSIVF in the past with great success.
  2. PortletOpenSessionInViewInterceptor and WebLogic 8.1

    Does anyone have an example of how to use PortletOpenSessionInViewInterceptor with WebLogic 8.1?

    I'm using Hibernate as the ORM and am used to OpenSessionInViewFilter, but now I'm trying to...
  3. Costin, I'll take a look, but Struts knows...

    Costin,

    I'll take a look, but Struts knows nothing about Spring and there are no Struts-specific configuration options in our Spring application context files.

    I will check for the possibility...
  4. fxjr, We're specifying the correct...

    fxjr,

    We're specifying the correct sessionFactory name in web.xml.

    Costin,

    The Set should be used in the .jsp, still under the auspices of OSIVF. However, we're doing some tests in the...
  5. Agreed. I just expected that we could return a...

    Agreed. I just expected that we could return a Set that was lazily loaded and get to it from the Struts action and .jsp without problems.

    However, unless I touch the set in the service layer,...
  6. Costin, Sorry, I put OpenSessionInViewFilter...

    Costin,

    Sorry, I put OpenSessionInViewFilter in the subject title, but forgot to specify we're using it via web.xml.

    All the objects are lazily loaded - just odd that we expected to be able to...
  7. Cristian, Would there be any advantage to...

    Cristian,

    Would there be any advantage to calling merge() instead of lock()?

    Chris
  8. OpenSessionInViewFilter PersistentSet question

    We have a Struts action that calls a service layer to return a lazily loaded Set. The service layer uses declarative transaction management and all our services look the same, aside from the class...
  9. Costin, That's what I'd hoped and what I've...

    Costin,

    That's what I'd hoped and what I've been seeing in my own tests.

    Having it confirmed means I don't have to look at that should some nasty hard-to-track bug should surface at some point...
  10. Propagation and Declarative Transaction Management

    My business service is using declarative transaction management for all its public methods.

    My business layer accesses my DAO's that extend HibernateDaoSupport. Within this business layer I...
  11. Is in your hbm.xml...

    Is <generator class="native"> in your hbm.xml files?

    I used MS SQL Server 2000 on my last project and I had to select "native".
  12. Replies
    7
    Views
    2,217

    My long session is the length of the request....

    My long session is the length of the request. Very similar to OSIVF, except I re-use the same session.




    package com.filters;

    import java.io.IOException;
    import java.sql.Connection;
  13. Replies
    7
    Views
    2,217

    Costin, I thought the HB guys were proponents...

    Costin,

    I thought the HB guys were proponents of long sessions? For me, the problem has been finding sufficient documentation so I can truly understand what's going on.

    Right now I'm...
  14. Replies
    7
    Views
    2,217

    Ok, I thought OSIV would keep the session around...

    Ok, I thought OSIV would keep the session around between business layer calls.

    It looks like I am looking at the long session paradigm then. Does Spring have a built-in mechanism for managing...
  15. Replies
    7
    Views
    2,217

    OpenSessionInViewFilter problem

    I am using Struts + Ajax + Hibernate + Spring in an application and getting the infamous "could not initialize proxy - the owning Session was closed" message.

    I've read a number of posts...
Results 1 to 15 of 15