Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MySQL prepareCall hangs

 
steve claflin
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to prepare a CallableStatement for MySQL, and the prepareCall method hangs (using MySQL 5.0.21 and the 5.1.7 connector). If the call syntax isn't valid, it throws an exception to that effect. Also, I happened to find out that if I misspell the procedure name, it also throws an exception. But, if the call syntax is valid, as in {CALL MyProc(?, ?)} it just hangs. A web search turns up stuff that appears to have been resolved long ago, so presumably there is something else going on here. ( Other JDBC to the same database works, so I know I have a valid connection. )

Any ideas?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic