Hello,
I was wondering whether there is a reason for the equals()/hashCode() methods in the ExitStatus class to be implemented the way they are now (release 2.1.6):
public boolean...
Type: Posts; User: savvas; Keyword(s):
Hello,
I was wondering whether there is a reason for the equals()/hashCode() methods in the ExitStatus class to be implemented the way they are now (release 2.1.6):
public boolean...
Hello,
Are there any thoughts/guidelines on the use of @Transactional within a Spring Batch managed context?
What I'm trying to implement is a @OnWriteError logger as follows:
public...
Hello,
Regarding the above issue, I spent some time investigating the source code and have come up with a solution.
My requirements were to be able to specify at configuration level a...
Hello,
I've extended WebSecurityExpressionRoot in order to add additional methods against which my security rules are evaluated.
Everything works perfectly fine when I specify the new method in...
Hi Peter,
The pseudo-property syntax did the trick..should have read that part of your book more carefully.. :)
Thanks very much,
Savvas
Hello,
I've been battling with this one for a few weeks now and don't seem to be able to resolve it.
Following an example of a Spring Security book, I'm trying to implement a custom SpEL...
..never mind..our bad..the lock was being acquired (and never released..) elsewhere.. :)
Hello,
we are facing a what seems to be file lock issue:
We have defined a Tasklet where we create a new file by copying another one from a remote location(apologies for the hypothetical tags but...
thanks very much for all the input. The Tasklet approach seems more appropriate for our use case.
Regards,
Savvas
Hi Arno,
Isn't that a big limitation though? Having to "manually" rollback?
I'm pretty sure there are many use cases where the requirement is "all or nothing"..
I am wondering what happens if...
Hello,
We currently have the following step defined:
<step id="readWriteWorks">
<tasklet>
<chunk reader="reader" processor="processor" writer="writer" commit-interval="500"> ...
Hi Marten,
In general we apply the Service Owner Transaction pattern by which a service method demarcates and generally manages the transaction without any of the other layers being aware that one...
yep, that sounds like it *should* work..will give it a try..
I was hoping I could rely on the template's transaction management. :)
Thanks very much
Hello,
I've searched the forum on this but there doesn't seem to be a clear answer.
I've defined a DataSource as:
<bean id="localMysql5DataSource"...
Hi Martin,
Sounds good, thanks very much for the pointers.
Regards,
- Savvas
Hello,
I'm trying to use JDK 7 on STS and have come across one problem:
I'm able to specify the JDK 7 jre and this is fine as I can see it listed in the Installed JREs window and I can select...
Hi Arnaud,
It all makes sense now..I changed:
<next on="FAILED" to="batchFailedStep" />
to:
<end on="FAILED" />
Hello,
Does anyone know what the behaviour should be when a restartable job fails and the Job Launcher attempts to launch the job again?
In my case, my Job fails and I can verify this since...
The only way I could make this work in an MVC environment was by declaring:
<mvc:annotation-driven conversion-service="conversionService" />
<bean id="conversionService"...
yep, using spring-orm 3.0.4 worked.. :)
not sure why maven decided to "pull" both spring-hibernate3:2.0.8 and spring-orm:3.0.4..
I just removed the former from the classpath and it worked fine....
Hi Marty,
Thank you very much for you reply.
Did try that but apparently there's no such property in...
Hello,
I am using a AnnotationSessionFactoryBean set up as per the below configuration:
<bean...
good observation..but then again why couldn’t the same Converter mechanism be used?
An implementation of the Converter interface
public interface Converter<S, T> {
T convert(S source);...
Hello,
I have a question regarding Converters and Formatters in Spring 3.0.x .
According to the documenation:
So, my understanding from the above is that a Formatter is a more approrpiate...
ok, got that! :)
thanks very much,
Savvas.