Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

assigning a java variable to a table value  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • 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
Boost this thread!