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...
Type: Posts; User: ChristianMuc; Keyword(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...
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...
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
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?
I have the same problem. Any help on this?
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...
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...
Created the Jira issue
click
I have a dozen of context files, but this is the transaction stuff:
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean">
<property...
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) ...
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...
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...
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....
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...