Groups
Groups
Sign in
Groups
Groups
Korea Spring User Group Q&A
Conversations
About
Send feedback
Help
spring batch에서 cursor 방식의 itemReader에 read method를 호출할때 마다 1건 이상식 return
44 views
Skip to first unread message
sslee
unread,
Nov 19, 2009, 7:06:52 AM
11/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Korea Spring User Group
spring batch 로 개발중에 있습니다
version은 2.0이고요
다름이 아니라 cursor 방식의 itemReader에 read method를 호출할때 마다 1건 이상식 return 할 수는
없나요?
Sanghyuk Jung
unread,
Nov 19, 2009, 9:37:35 AM
11/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ks...@googlegroups.com
내부적으로 resultSet.next를 호출하는 것일테니 한 row씩 밖에 안 되겟죠. 별도의 item reader를 작성하셔서 return type을 여러객체를 담을 수 있는 타입으로 정의하셔야 할 것 같네요.
그런데 한꺼번에 여러개를 리턴해야 하는 목적이 무엇인가요? 그것을 안다면 다른 해결법을 찾는 것을 같이 고민해볼 수 있지 않을까합니다.
2009년 11월 19일 오후 9:06, sslee
<
ssl...@gmail.com
>
님의 말:
Reply all
Reply to author
Forward
0 new messages