public class JpaItemReader extends EntityManagerLocator implements javax.batch.api.chunk.ItemReader
entityManagerProvider, locator
Constructor and Description |
---|
JpaItemReader() |
Modifier and Type | Method and Description |
---|---|
Serializable |
checkpointInfo() |
void |
close() |
void |
open(Serializable checkpoint) |
Object |
readItem() |
findEntityManager
public void open(Serializable checkpoint) throws Exception
open
in interface javax.batch.api.chunk.ItemReader
Exception
public void close() throws Exception
close
in interface javax.batch.api.chunk.ItemReader
Exception
public Object readItem() throws Exception
readItem
in interface javax.batch.api.chunk.ItemReader
Exception
public Serializable checkpointInfo() throws Exception
checkpointInfo
in interface javax.batch.api.chunk.ItemReader
Exception
Copyright © 2017 The Apache Software Foundation. All rights reserved.