Hi,
I have an application that has lots of tests. Basically I have service, repository tests. All of my test cases inherits one of these abstract classes:
...
Type: Posts; User: fvitorc; Keyword(s):
Hi,
I have an application that has lots of tests. Basically I have service, repository tests. All of my test cases inherits one of these abstract classes:
...
Well, I don't think Gilead has any adapter for web services.
What web services framework are you using? The one provided by Spring?
If your framework allows you to intercept the...
Well, the basic concept about lazy loading is that, if you are still inside a transaction and you call the getter method of a lazy property, that property will be loaded when the getter method is...
I am developing a web app that uses velocity in my service tier to render my emails. I've tried some of the configurations described here but I cannot make it work.
I always get this same error no...
If that is not possible, does anyone knows how to use message bundles with Velocity for sending emails?? I am not using Velocity in the view part of my application, just for sending emails.
I've seen in the Spring documentation that is possible to use templating libraries to render the content that will be sent in the email. Here is the link:...
Is there a static way to get the HttpServletRequest of the current request??
I am using Spring MVC with annotations, and I am writing some static helper methods that need the HttpServletRequest...
Any ideas??
It shouldn't be that hard.
But I just can't find anything about it!
Hi,
I would like my web app to have urls like this:
www.example.com/home
www.example.com/contacts
www.example.com/register
But if I put this in web.xml to be able to do that:
...
Actually, it is possible to wrap self-invocations with transactions. But I think it is only possible when using annotations. As the documentation states:
Note: In proxy mode (which is the...
I believe that Spring will try to match the most specific one. In this case, 'methodName'.
You can turn logging in debug level for package 'org.springframework.orm.jpa' and see it for yourself what...
If the name of the method you want to change the propagation mode is unique, you can do the following:
<tx:advice id="txAdvice" transaction-manager="txManager">
<tx:attributes>
<tx:method...
Miluch,
I've done what you suggested by setting propagation to SUPPORTS.
It looks like by the log messages that it is now working:
06/12/2008 15:55:10 JpaTransactionManager getTransaction...
Hi Alarmnummer,
I am using PostgreSQL 8.3.
I know I should be doing some kind of second level cache, but that is something I am going to do in the future, not now.
My concern in this post is...
Hi,
I am building a web application that uses spring + jpa + hibernate.
I am using declarative transaction management of spring and I have some questions about read only transactions.
Some...