Search:

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

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    470

    [solved] Spring Test not rolled back

    Hi,

    I have annotated my test classes as follows:


    @RunWith(SpringJUnit4ClassRunner.class)
    @ContextConfiguration(locations={"file:WebContent/WEB-INF/applicationContext.xml",...
  2. Correct usage of AnnotationConfigUtils in subclassed ContextLoader

    For the integration tests for my spring application with junit I am subclassing org.springframework.test.context.ContextLoader, because I want to use a already present XmlWebApplicationContext for...
  3. So, using WebArgumentResolver with possible?

    Hello,

    recently I tried to plug a WebArgumentResolver int my AnnotationMethodHandlerAdapter. As nothing worked I seached a bit on google and found out that you cannot add a WebArgumentResolver to...
  4. I already solved the problem by autowiring the...

    I already solved the problem by autowiring the session factory, opening a session on my own and closing it on the end of the thread.

    Thanks for your help, anyway!
  5. Spring/Hibernate: Keep session open for thread, or open a new one?

    Hi,

    I am using Spring 3 together with Hibernate. I have a user request that starts a java thread in the spring controller and then a response is sent, so the thread might continue to work while...
  6. Default Controller for unmapped URLS with component-scan

    Hi there,

    is there a way to have a default controller that handles all unmapped URLs? I use the component-scan feature to tell spring what controller I have.

    Sincerely,
    Heinrich
Results 1 to 6 of 6