Search:

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

Search: Search took 0.04 seconds.

  1. Replies
    9
    Views
    2,530

    The Spring Framework 3.2 M1...

    The Spring Framework 3.2 M1 milestone was released today. Regrettably, spring-test-mvc does not seem to be included in that release. I tried to add the following lines to my pom:


    <repositories>...
  2. Replies
    0
    Views
    437

    Spring Security ACL reference project?

    In chapter Domain Object Security (ACLs) Spring Security 3.1 documentation, ACL is described. In the second paragraph, there is a pet clinic example: and in the following paragraphs different...
  3. Does Spring embedded database support different SQL dialects?

    H2 has a range of compatibility modes for various other databases such as MS SQL Server, MySQL, Oracle, etc that support different SQL dialects. However, when setting up an embedded database in...
  4. Thanks! I failed to see the flush() method of...

    Thanks!

    I failed to see the flush() method of the entity manager. That's why things became complex, and that's why I wrote the question.
  5. Getting a session when using JPA and Hibernate when testing

    What is the preferred way to get the hibernate session so it can be flushed when testing?

    According to the reference manual (scroll down), one should always flush() the hibernate session when...
  6. Replies
    10
    Views
    2,155

    Someone suggested that you can use the...

    Someone suggested that you can use the EntityManager and then get a session from there:


    @PersistenceContext
    EntityManager entityManager;

    void someMethod() {
    Session session =...
  7. Order of defintions in XML matters

    Apparently, the order of the definitions in the XML config matters. By first creating the mock instance and then scan for components, the tests pass.

    Alternatively, wrapping EasyMock in a...
  8. Autowiring of beans generated by EasyMock factory-method?

    I have a problem that seems really strange to me.

    I have the following setup

    An interface:

    package com.example;
    public interface SomeDependency {
    }
Results 1 to 8 of 8