Search:

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

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Problems calling an oracle function that returns a tabtype

    Hi guys, I'm having problems calling my oracle function that returns a table of records/objects



    FUNCTION get_cash_txns(p_client_id IN VARCHAR2)
    RETURN pf_sett_led_records_tabtype
    ...
  2. Replies
    1
    Views
    1,193

    Spring batch - how are skips handled?

    <step id="stepTest" parent="faultTolerantStep">
    <tasklet>

    <chunk reader="testReader" writer="testWriter" skip-limit="1" commit-interval="1" retry-limit="0">
    ...
  3. How can i check if i ran the job using the functional test?

    In our spring batch project, we have our functional tests in the src/main/test package

    My problem is, there is a bit of code in one of our classes that is only needed for the functional tests
    ...
  4. How can I get the job execution id from within an 'sql property

    <bean id="customReader" class="org.springframework.batch.item.database.JdbcCursorItemReader">
    <property name="dataSource" ref="dataSource" />
    <property name="rowMapper">
    ...
  5. Replies
    12
    Views
    1,832

    Thanks for the continued support litius. ...

    Thanks for the continued support litius.



    By this, do you mean that the job should contain 1 step only as we previously discussed?
  6. Replies
    12
    Views
    1,832

    Hi litius, For the nature of our development,...

    Hi litius,

    For the nature of our development, we must be able to rollback to the beginning of step1 if anything goes wrong during step2/step3. I do not want to skip or restart from step2, I need...
  7. Replies
    12
    Views
    1,832

    Hi litlius, it's because I'm not sure if this can...

    Hi litlius, it's because I'm not sure if this can be done within 1 step:



    <step id="step1" parent="simpleStep">
    <tasklet><chunk reader="itemReader" writer="itemWriter"/></tasklet>
    <next...
  8. Replies
    12
    Views
    1,832

    What I stated above is incorrect. It seems a...

    What I stated above is incorrect. It seems a commit is actually being made.

    Is there a way to configure it so the steps all run within 1 transaction?
  9. Replies
    12
    Views
    1,832

    Yep I guess I need to re-think the design then. ...

    Yep I guess I need to re-think the design then.

    Just out of interest:

    I have a step here, and within the tasklet I had a commit interval of 1.

    I removed this commit interval, so it now looks...
  10. Trying to wire a Class parameter argument form spring beans

    The method takes 4 arguments, the last argument is causing me problems



    public PortfolioDaoJdbcStoredProcWrapper(String schemaName, String pkg, String function, Class functionReturnClass)


    ...
  11. Replies
    12
    Views
    1,832

    Many thanks for the reply. What if I was to...

    Many thanks for the reply.

    What if I was to set autoCommit to false on my datasource:



    <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
    <property...
  12. Replies
    12
    Views
    1,832

    Step commit and rollback problems..

    Hi guys, I have an issue. My job looks like this:



    <job>

    <step id="step1">
    <tasklet ref="step1Tasklet"/>
    </step>
  13. How can I do this to save myself writing duplicate code

    Hi guys. I have a job and one of the steps is:



    <step id="processBatchTxnsAndValuations">
    <tasklet ref="txnsAndValuationsProcessor"/>
    </step>


    The tasklet ref bean is this:
  14. Replies
    5
    Views
    1,238

    I just realised that 'testBean' was another bean...

    I just realised that 'testBean' was another bean I had been messing around with. The code was infact working, I just had forgotten to remove the testBean!! Many thanks anish - implement Tasklet in...
  15. Replies
    5
    Views
    1,238

    Thanks for the reply Anish, I have made my class...

    Thanks for the reply Anish, I have made my class implement Tasklet and now get the following error:
  16. Replies
    5
    Views
    1,238

    Trying to invoke a java class within my step

    <step id="testStep">
    <tasklet ref="testBean2"/>
    </step>




    <bean id="testBean2" class="com.investmaster.util.batch.reader.BatchReaderServersideExecution">
    </bean>
  17. How to get a return value back from a steps routine..

    Hi guys, I have a job, and within the job is one of my steps:



    <step id="stepTransferData">
    <tasklet ref="processBatchTxnsTasklet"/>
    <next on="COMPLETED"...
  18. Replies
    1
    Views
    565

    Where are the samples gone?

    http://static.springsource.org/spring-batch/1.0.x/spring-batch-samples/index.html

    I can't click on any of the examples, have they been moved?
  19. Replies
    1
    Views
    1,060

    Calling a custom item writer

    Hi guys,

    I have a job with 2 steps.

    Step 1 has its own item reader, and many custom item writers.

    In my step 2, within the item writer, I need to somehow call one of these custom item...
  20. Replies
    1
    Views
    393

    job steps question

    Hi guys. Hope someone can help me with the configuration of my steps.

    In step3, after it has finished with the processRecon tasklet, i want to make it do step1/step2 again (once) - how can i do...
  21. why cant use jobExecutionListeners within a element

    I've got a top level job that runs a number of steps like this:



    <job id="feedEventJob" xmlns="http://www.springframework.org/schema/batch" parent="simpleJob">

    <step...
  22. Replies
    1
    Views
    705

    Spring beans documentation

    I can't seem to find any sort of chunk documentation on xml spring beans for spring batch. For e.g, how do I know what elemennts we can define within a 'job' element, what about attributes within a...
  23. Replies
    2
    Views
    810

    Thanks for the reply bud. Is there an example in...

    Thanks for the reply bud. Is there an example in the spring docs that demonstrates this?
  24. Replies
    2
    Views
    810

    StepExecution keys - need some help

    ---------------------
  25. Replies
    1
    Views
    654

    example of running 2 jobs??

    -------------------------
Results 1 to 25 of 33
Page 1 of 2 1 2