Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Batch step failing with: java.sql.SQLException: ORA-01460: unimplemented or unreasona

    We have experience a couple of times the batch failing with the error below.
    I can't see that we have done any modifications to the code causing this.

    Any tip????

    We are running on...
  2. Replies
    1
    Views
    1,125

    Cyclic dependencies/references and autowiring

    We have som managers autowired referencing each other.

    Manager1 uses Manager2
    Manager2 uses Manager1

    The managers gets autowired without any problem, and the applications runs without any...
  3. Replies
    5
    Views
    1,485

    Thanks for the solution. Geir

    Thanks for the solution.
    Geir
  4. Replies
    5
    Views
    1,485

    How to disable a step in a batch-job

    We have a batch job consisting of 24 steps, - skipLimitSteps, simpleSteps and tasklets. Sometimes we would like to disable 1 or 2 steps in the job.

    What would be the best practice in how to...
  5. What I expect to see is the DataSet - annotated...

    What I expect to see is the DataSet - annotated and loaded into the database being visible to the HibernateCursorItemReader. By this I am able to perform an Assert test before and after the batchJob...
  6. Problems unit testing batch jobs with Unitils and Dbunit

    We are running batch 1.1.4-RELEASE.
    We are unit testing our batch ItemWriter/tasklets classes quiet extensively using Unitils (2.2) with the testng implementation and DbUnit.

    I am not able to...
  7. Problem restarting batch job after an Exception

    I am experiencing problems after upgrading to 1.1.4.

    I have an application using Quartz to lauch batch-jobs/task. After an exception has occurred (ConstraintViolationException).

    Upon restart,...
  8. Replies
    9
    Views
    1,330

    Hi Dave, you got me onto the right track. My...

    Hi Dave, you got me onto the right track.

    My problem was appearently cause by the SessionFactory. My dao-classes was using a different SessionFactory than the one provided to the...
  9. Replies
    9
    Views
    1,330

    We are autowiring in the sessionFactory in to the...

    We are autowiring in the sessionFactory in to the constructor of the Dao class extending from: HibernateDaoSupport



    @Repository
    @SuppressWarnings("unchecked")
    public class...
  10. Replies
    9
    Views
    1,330

    My question was perhaps a little bit confusing......

    My question was perhaps a little bit confusing...

    Do I need to put the flushMode into manual, as shown in the code, and leaving it up to the AbstractTransactionalResourceItemWriter to flush the...
  11. Replies
    9
    Views
    1,330

    Are you meaning the dao operations called via the...

    Are you meaning the dao operations called via the "subscriptionRequestItemWriter"?

    In this case, - we are using the getHibernateTemplate(), - which get their sessionFactory via autowiring in the...
  12. Replies
    9
    Views
    1,330

    The session seems to be flushed as you say. ...

    The session seems to be flushed as you say.

    When I do a query with DbVisualizer vs. the database (Oracle 10g 8740264), nothing is visible in the database prior to the call with...
  13. Replies
    9
    Views
    1,330

    Problems with data being committed

    Problems with data being committed after on the 2nd item in the writer.

    My writer is an implementation extending from the AbstractTransactionalResourceItemWriter.

    My problem is that the data...
  14. About flushing in the writer, - how will that...

    About flushing in the writer, - how will that work/interfere with the commit count declared on the step? Doesn't a flush, - provoke a commit?

    However, upgrading to 1.1.4 solved the problems.
    ...
  15. For what regards the transactionAttribute...

    For what regards the transactionAttribute declaration, - I thought this was needed to get a rollback to work.

    About flushing. I don't do any flushing in my business code. We just do a...
  16. Thread: scheduler issue

    by geira
    Replies
    4
    Views
    1,408

    Try to add startup with command line parameter:...

    Try to add startup with command line parameter: -Djava.version=1.5.. or whatever version you are running on.

    Geir
  17. ConstraintViolationException doesn't rollback the transaction

    I have a problem with the transaction handling when an exceptions thrown, when a chunk is commited. The ConstraintViolationException doesn't roll back the saved operations. Any exceptions thrown in...
  18. Replies
    1
    Views
    1,120

    TaskletStep and transactionhandling

    I have problems with transactions not rolled back when exceptions occurs in the Tasklet with a TaskletStep. I can't find the settings ala: transactionAttribute which exist in steps created from a...
  19. Best practice/approach for transaction handling

    I need to process daily items provided by an HibernateItemReader.

    In the writer I call a business method. I need to force a rollback, so that all modifications are rolled back.

    When a given...
  20. It worked by transactionAttribute property. The...

    It worked by transactionAttribute property. The changes was rolled back for the current step, was rolled back as expected.



    <bean id="subscriptionRequestHandlerStep"...
  21. I can't see that it is a matter of how many...

    I can't see that it is a matter of how many records I am processing.
    I have isoloated the case to just process 1 record. I perform some changes resulting in a db-save in the writer, and thereafter...
  22. According to the javadoc for the...

    According to the javadoc for the skippableExceptionClasses I thought that the exception should result in a rollback and not in a commit, or am I wrong?


    * Public setter for exception classes that...
  23. Problem with a skipLimitStep not rolling back business operations.

    We have skipLimitStep



    <bean id="simpleJob" class="org.springframework.batch.core.job.SimpleJob" abstract="true">
    <property name="jobRepository" ref="simpleJobRepository"/>
    ...
  24. How to change commitInterval programatically

    How may I programatically change the commitInterval when upon an exception?
    I want the step to be started again with commitInterval=1 when an exception has occurred.

    Geir
  25. How to write an errorstatus to the db upon an error

    How do I manage to write an error status to our business db when an error occurs and the transaction is rolled back when the exception is thrown in the item writer?

    Geir
Results 1 to 25 of 65
Page 1 of 3 1 2 3