Class JpaItemReader

  • All Implemented Interfaces:
    javax.batch.api.chunk.ItemReader

    public class JpaItemReader
    extends EntityManagerLocator
    implements javax.batch.api.chunk.ItemReader
    • Constructor Detail

      • JpaItemReader

        public JpaItemReader()
    • Method Detail

      • open

        public void open​(Serializable checkpoint)
                  throws Exception
        Specified by:
        open in interface javax.batch.api.chunk.ItemReader
        Throws:
        Exception
      • close

        public void close()
                   throws Exception
        Specified by:
        close in interface javax.batch.api.chunk.ItemReader
        Throws:
        Exception
      • readItem

        public Object readItem()
                        throws Exception
        Specified by:
        readItem in interface javax.batch.api.chunk.ItemReader
        Throws:
        Exception
      • checkpointInfo

        public Serializable checkpointInfo()
                                    throws Exception
        Specified by:
        checkpointInfo in interface javax.batch.api.chunk.ItemReader
        Throws:
        Exception