Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Results Help

 
Josh Batchelor
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to set strings and value based on what comes out of the database?
Example:
PHN_NMBR_TYP_NM = Home
PHN_NMBR = 5555555555
String phone_name = rs_pt.getString("PHN_NMBR_TYP_NM");
String phone_number = rs_pt.getString("PHN_NMBR");
So what I want to do is make String Home = 5555555555
Hope that made sense.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic