File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

assigning a java variable to a table value

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
How do I take a value from a database table and make it into a java string or int?
For example I want to look at the amount column in the BILL table WHERE payid = xxx and make it into a string or int so that I can then use it in my Java program ?
Any help or example of code would be helpful
Thanks
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic