Search:

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

Search: Search took 0.02 seconds.

  1. Now come on, guys. We're not in kindergarten. I...

    Now come on, guys. We're not in kindergarten. I am not posting my entire application. You can assume that inServiceLayer() is defined inside the SystemArchitecture class (which I did not provide...
  2. That's a pretty bold statement... For the sake...

    That's a pretty bold statement...

    For the sake of argument and for my own learning, what kind of test would be acceptable as a proof that it does work?
  3. Thank you, TerpInMD. Your comment strengthens my...

    Thank you, TerpInMD. Your comment strengthens my intuition. However it raises a more specific question...

    Notice that, in my method fullyLoadB(), no exception is thrown by the line...
  4. It yielded exactly the same exception as before...

    It yielded exactly the same exception as before (and that was to be expected since it is functionally equivalent to my version of fullyLoadB()):

    org.hibernate.LazyInitializationException: could...
  5. Well, let me put my question in perspective. I...

    Well, let me put my question in perspective.

    I do have a solution that works (fullyLoadA()).
    What I want is to get an understanding of why the alternative does not. (And it's not down to Java...
  6. Thank you for taking the time to reply. ...

    Thank you for taking the time to reply. Unfortunately, IMHO, I don't think your suggestions address the issue...



    Indeed. Exactly as Hibernate.initialize(object.getCollection()) is also void....
  7. "failed to lazily initialize a collection" behaviour

    I am trying to understand the difference in behaviour between two setups, one that works and the other that doesn't.

    Using: Spring 2.5, Hibernate 3.2, Hibernate-annotations 3.3.1.

    I have a...
  8. Replies
    3
    Views
    1,907

    The problem has now gone away. I have no clear...

    The problem has now gone away. I have no clear idea why that is...

    I undeployed from Tomcat 6.0.16 and then deployed on 6.0.13. After a little bit of fiddling, that worked fine, apart from...
  9. Replies
    3
    Views
    1,907

    That was indeed my first thought too. I am...

    That was indeed my first thought too.

    I am using MyEclipse to test the deployment in Tomcat. Therefore I let MyEclipse provide the full classpath to the JVM on Tomcat startup. My first...
  10. Replies
    3
    Views
    1,907

    ContextLoaderListener failed: AliasRegistry

    I just started getting an error on startup, at the point when the ContextLoaderListener is being loaded. I cannot for the life of me figure what change I would have done in the previous minutes that...
  11. Replies
    2
    Views
    660

    I was somewhat dreading that would be the...

    I was somewhat dreading that would be the answer... ;)
    It's quite possible that, in the long run, it would be worth creating such an "application" scope that would tie would JEE's application scope...
  12. Replies
    2
    Views
    660

    "application" scope in web tier?

    The "request" and "session" scopes under which it is possible to create Spring beans correspond to the similarly-named scopes in JSP: if a bean exists in the (Spring) request scope, then it is by...
  13. Replies
    5
    Views
    4,235

    Oops, you're right! I shouldn't try to post...

    Oops, you're right! I shouldn't try to post answers when I'm half asleep!
  14. Replies
    5
    Views
    4,235

    I am very much of a novice with respect to AOP...

    I am very much of a novice with respect to AOP and using Spring to handle Struts, so my comment may be completely irrelevant... The only thing I notice is the

    scope="request"
    for your action. ...
  15. Replies
    0
    Views
    930

    AspectJWeaver's own logger?

    What I hope is a trivial query:

    I use the @Configurable annotation with certain domain objects and, therefore, start the JVM with the AspectJ Weaver:


    java...
  16. Replies
    2
    Views
    927

    Thank you! I hadn't delved yet into AOP stuff. ...

    Thank you! I hadn't delved yet into AOP stuff. I'll look into it today!
  17. Replies
    2
    Views
    927

    DI behind-the-scenes with Hibernate?

    (Despite this topic's title, this isn't an ORM question, but entirely a Dependency Injection question. Hibernate is used as a case in point.)

    I am fairly new to Spring, therefore please forgive...
  18. Replies
    2
    Views
    2,125

    Thank you, Christian! Exactly the info I was...

    Thank you, Christian! Exactly the info I was looking for! Brilliant!

    Pierre
  19. Replies
    2
    Views
    2,125

    keybinding conflict after installation

    I installed the most recent version: Spring IDE (required) 2.0.0.v200706271108

    Although this (mostly) seems to work, I now get the following exception on startup and recurringly throughout use of...
Results 1 to 19 of 19