Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Incorrect implementation of equals()/hashCode() in ExitStatus?

    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...
  2. Replies
    1
    Views
    1,005

    @Transactional in Spring Batch

    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...
  3. Hello, Regarding the above issue, I spent some...

    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...
  4. Custom WebSecurityExpressionRoot not getting picked up by tag

    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...
  5. Hi Peter, The pseudo-property syntax did the...

    Hi Peter,

    The pseudo-property syntax did the trick..should have read that part of your book more carefully.. :)

    Thanks very much,
    Savvas
  6. Problem building a custom implementation of an SpEL expression handler

    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...
  7. ..never mind..our bad..the lock was being...

    ..never mind..our bad..the lock was being acquired (and never released..) elsewhere.. :)
  8. Unable to delete file created in one Tasklet

    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...
  9. Replies
    4
    Views
    577

    thanks very much for all the input. The Tasklet...

    thanks very much for all the input. The Tasklet approach seems more appropriate for our use case.

    Regards,
    Savvas
  10. Replies
    4
    Views
    577

    Hi Arno, Isn't that a big limitation though?...

    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...
  11. Replies
    4
    Views
    577

    How can I rollback a step?

    Hello,

    We currently have the following step defined:

    <step id="readWriteWorks">
    <tasklet>
    <chunk reader="reader" processor="processor" writer="writer" commit-interval="500"> ...
  12. Replies
    4
    Views
    938

    Hi Marten, In general we apply the Service...

    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...
  13. Replies
    4
    Views
    938

    yep, that sounds like it *should* work..will give...

    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
  14. Replies
    4
    Views
    938

    JdbcDaoSupport & defaultAutoCommit

    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"...
  15. Thread: JDK 7 on STS

    by savvas
    Replies
    2
    Views
    2,021

    Hi Martin, Sounds good, thanks very much for...

    Hi Martin,

    Sounds good, thanks very much for the pointers.

    Regards,
    - Savvas
  16. Thread: JDK 7 on STS

    by savvas
    Replies
    2
    Views
    2,021

    JDK 7 on STS

    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...
  17. Replies
    2
    Views
    726

    Hi Arnaud, It all makes sense now..I changed:...

    Hi Arnaud,

    It all makes sense now..I changed:

    <next on="FAILED" to="batchFailedStep" />

    to:

    <end on="FAILED" />
  18. Replies
    2
    Views
    726

    Question on restartability

    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...
  19. The only way I could make this work in an MVC...

    The only way I could make this work in an MVC environment was by declaring:



    <mvc:annotation-driven conversion-service="conversionService" />

    <bean id="conversionService"...
  20. yep, using spring-orm 3.0.4 worked.. :) not...

    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....
  21. Hi Marty, Thank you very much for you reply. ...

    Hi Marty,

    Thank you very much for you reply.

    Did try that but apparently there's no such property in...
  22. annotatedClasses/annotatedPackages in AnnotationSessionFactoryBean

    Hello,

    I am using a AnnotationSessionFactoryBean set up as per the below configuration:

    <bean...
  23. Replies
    2
    Views
    1,254

    good observation..but then again why couldn’t the...

    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);...
  24. Replies
    2
    Views
    1,254

    Formatter-Converter question

    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...
  25. Replies
    5
    Views
    785

    ok, got that! :) thanks very much, Savvas.

    ok, got that! :)

    thanks very much,
    Savvas.
Results 1 to 25 of 47
Page 1 of 2 1 2