• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

callableStatement.registerOutParameter in batch

 
mohan govind
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I believe callableStatement.registerOutParameter is not supported in batch (callableStatement.addBatch()). Is this information mentioned in any spec/article and is there any other alternative for this?

Thanks in advance!
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See chapter 6.1.3 in this specification I managed to google up.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49849
70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anything more recent? That is Java1.3, which was superseded nearly ten years ago.
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've found the same description in the JDBC 4.0 specification. It's a PDF document, so I cannot provide direct link. You can download the document here (I've downloaded the first version, intended for JDBC users, not implementors of JDBC standard). See section 14.1.5 thereof.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49849
70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JDBC 4.0 would appear to be the most up to date version. Try here to download it.
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:JDBC 4.0 would appear to be the most up to date version. Try here to download it.

Yes, that specification contains practically identical information, as I've reposted here a few hours ago.

Anyway, thanks for pointing out that my first link was outdated. I actually didn't realize it, I need to get used to pay closer attentions to version differences
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic