Search:

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

Search: Search took 0.03 seconds.

  1. I have to slightly disagree from a user's...

    I have to slightly disagree from a user's perspective: This makes it pretty pretty impossible to leverage the full power of Spring/DI when using session-scoped beans.

    I think that Spring should...
  2. Is there some better solution for this than...

    Is there some better solution for this than manually reclaiming the dependencies with some sort of service locator? This pretty much breaks the beauty of IoC.

    Isn't it a common case that...
  3. So how can I avoid this to happen if some user...

    So how can I avoid this to happen if some user out there just requests any random URL? IMO the server has to respond 404
  4. Hmm, then is the tiles integration ready for...

    Hmm, then is the tiles integration ready for production-use at all? I think it's a crucial requirement for a web app that it returns 404 on not-existing pages. Or am I missing something?
  5. I have the same problem. Any help on this?

    I have the same problem. Any help on this?
  6. I found out that the HibernateJPADialect switches...

    I found out that the HibernateJPADialect switches to Hibernate flush-mode "MANUAL" in case of read-only transactions. You have to set the jpaDialect property of the JpaTransactionManager.

    IMO this...
  7. Is @Transactional(readOnly=true) supported at all...

    Is @Transactional(readOnly=true) supported at all when using JPA? I don't think so since there is no javax.persistence.FlushModeType.NEVER (or anything similar).

    In case of Hibernate one could use...
  8. Created the Jira issue click...

    Created the Jira issue
    click
  9. I have a dozen of context files, but this is the...

    I have a dozen of context files, but this is the transaction stuff:

    <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean">
    <property...
  10. TransactionAttributeSource Cache Problem (infinite loop)

    Hi,
    I've run into a serious problem using Spring 2.0.2 and AnnotationTransactionAttributeSource.
    I have serveral threads with a stacktrace like this:

    Thread [http-8080-Processor25] (Suspended) ...
  11. PersistenceAnnotationBeanPostProcessor problems

    Hi,
    I encountered some severe problems while using Spring 2.0 together with JPA, and it turned out that the PersistenceAnnotationBeanPostProcessor is to blame:

    That class browses through all...
  12. Replies
    2
    Views
    1,146

    JSTL/SQL and Spring's datasource

    Hello,
    I want to use the sql-Tag (JSTL) and wonder how I could use the datasource, which is instantiated by Spring as usual (org.springframework.jdbc.datasource.DriverManagerDataSource bean).

    How...
  13. Replies
    2
    Views
    1,493

    I don't need to propagate the transactional...

    I don't need to propagate the transactional context. If the MessageBean fails to send the mail it simply indicates that it hasn't successfully consumed the message - the whole procedure will repeat....
  14. Replies
    2
    Views
    1,493

    transactions / sending mails

    Hi,
    in one of my applications I want to rollback a transaction if sending a mail fails.

    But I don't like the fact that the communication with the mail server happens during

    the transaction...
Results 1 to 14 of 14