Search:

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

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    423

    Ah. Just realised that I'm using the...

    Ah. Just realised that I'm using the JobRepositoryFactoryBean, which already handles the transactional stuff. Feel free to ignore me ;-)
  2. Replies
    2
    Views
    423

    PS. Despite the manual saying that it's essential...

    PS. Despite the manual saying that it's essential to configure the transactional behaviour if not using the Spring Batch namespace (which I'm not doubting), the Spring Batch examples don't appear to...
  3. Replies
    2
    Views
    423

    Transactional issues

    Hi,

    I am using Spring Batch with Hibernate/JPA and SQL Server 2005 and all is working happily. In the course of troubleshooting a deadlock issue in my code, I discovered that I wasn't using the...
  4. Replies
    11
    Views
    1,206

    Absolutely; I will do this in the morning. M

    Absolutely; I will do this in the morning.

    M
  5. Replies
    11
    Views
    1,206

    An an aside - the MinMaxPartitioner is found in...

    An an aside - the MinMaxPartitioner is found in the test code for Spring Batch. It is a naive implementation (it doesn't handle situations where grid size is larger than total records, for instance,...
  6. Replies
    11
    Views
    1,206

    Have worked it out; as suspected, my haziness...

    Have worked it out; as suspected, my haziness regarding partitioning and naive implementation of SimpleStepExecutionSplitter (only!) was to blame. For others who are confused, take a look at the...
  7. Replies
    11
    Views
    1,206

    Steps repeating with same data

    Hi,

    I have a single Job containing a single Step and multiple ItemProcessors. For performance reasons (the job is processing ~50Tb of data), I am using a partition handler. Processing is handled...
  8. Thanks Stéphane; much appreciated. I thought that...

    Thanks Stéphane; much appreciated. I thought that was the case but just wanted to clarify as both Spring Batch and the whole notion of middleware is new territory for me.

    M
  9. Middleware vs. multi-threaded approach

    Hi,

    I am writing a one-shot migration tool to transfer critical data from a legacy system. The tool will be processing around 2 million files of around 50Tb total.

    Because the anticipated...
  10. Replies
    1
    Views
    1,050

    This problem has now been resolved. For anyone...

    This problem has now been resolved. For anyone experiencing a similar issue, it appears that because the method was already in a transaction the timeout attribute was being disregarded.

    I changed...
  11. Replies
    1
    Views
    1,050

    Transaction timeout not being honoured

    Hi,

    I'm having an issue overriding the default transaction timeout specified in jboss-service.xml for the JBoss transaction manager.

    I have the following code:



    <bean...
  12. Replies
    0
    Views
    713

    Very intermittent redirect exception

    Hi,

    I am very occasionally getting the following exception thrown when redirecting to a tiles-based JSP page from my Spring form controller:



    09:41:39,806 ERROR [Engine]...
  13. Replies
    4
    Views
    1,559

    Do you have good reasons for wanting to avoid...

    Do you have good reasons for wanting to avoid interfaces and therefore cglib proxying? Using interfaces does tend to make things a lot more flexible in the long run if you're developing a...
  14. Replies
    4
    Views
    1,559

    You can't; the bean is no longer of type...

    You can't; the bean is no longer of type StudentDAO as it's been replaced by a proxy class (hence the ClassCastException).

    What I would suggest is that you provide an interface for each concrete...
  15. Hi, I've just experienced and resolved the...

    Hi,

    I've just experienced and resolved the exact same issue of the type converter unable to convert java.util.List to java.util.ArrayList. My code also worked in Spring 1.2.7 and broke in Spring...
  16. Replies
    2
    Views
    789

    Hi Steve O, I love your optimistic solution to...

    Hi Steve O,

    I love your optimistic solution to just 'use a good browser'; unfortunately some things are regrettably out of my control!

    My problem is different to yours; in mine, the data is...
  17. I've just had a similar issue in my application...

    I've just had a similar issue in my application where two views of the form controller are possible.

    The solution is similar to msqr's, but to avoid having to re-code my JSPs to account for the...
  18. Replies
    2
    Views
    789

    Request for file download library

    Hi,

    I'm currently struggling with working around the cursed Internet Explorer caching bugs with sending the browser file attachments from my Spring-based application.

    Searching forums result in...
  19. Thanks Andreas, that worked. Much appreciated. ...

    Thanks Andreas, that worked. Much appreciated.

    Regards,
    Matt
  20. Trouble retrieving ResourceBundleMessageSource messages from JUnit test

    Hi,

    How does one make messages.properties accesible from JUnit tests?

    I have a /WEB-INF/classes/messages.properties file which is loaded from ResourceBundleMessageSource.

    In addition to...
Results 1 to 20 of 21