GithubHelp home page GithubHelp logo

All domain entities and scoping abstractions (RepeatContext in particular) need to be Serializable [BATCH-29] about spring-batch HOT 7 CLOSED

spring-projects avatar spring-projects commented on May 6, 2024
All domain entities and scoping abstractions (RepeatContext in particular) need to be Serializable [BATCH-29]

from spring-batch.

Comments (7)

spring-projects-issues avatar spring-projects-issues commented on May 6, 2024

Robert Kasanicky commented

The stepExecution's reference to Step and JobInstance's reference to Job should be removed first.

from spring-batch.

spring-projects-issues avatar spring-projects-issues commented on May 6, 2024

Robert Kasanicky commented

RepeatContext and ExecutionContext can be made serializable simply by adding the declaration. However RetryContext is problematic - e.g. ExceptionClassifierRetryContext has reference to RetryPolicy and ExceptionClassifier.

from spring-batch.

spring-projects-issues avatar spring-projects-issues commented on May 6, 2024

Dave Syer commented

I think only the domain entities are important (despite the original, very old issue summary). We can close this off if the JobInstance, *Execution, ExecutionContext are serializable (and tested to make sure they de-serialize cleanly).

from spring-batch.

spring-projects-issues avatar spring-projects-issues commented on May 6, 2024

Robert Kasanicky commented

made ExecutionContext and JobParameters serializable and added serialization tests for domain entities

from spring-batch.

spring-projects-issues avatar spring-projects-issues commented on May 6, 2024

Lucas Ward commented

It seems like this fix could just as easily have been made in 1.0.1. Perhaps we could apply it to the branch as well?

from spring-batch.

spring-projects-issues avatar spring-projects-issues commented on May 6, 2024

Dave Syer commented

-1 for that. There's no need to add this to 1.0.1 (it's not a critical bug in 1.0.1, more of an enabling feature for stuff that is happening in 1.1 and 2.0).

from spring-batch.

spring-projects-issues avatar spring-projects-issues commented on May 6, 2024

Dave Syer commented

Assume closed as resolved and released

from spring-batch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.