• Post Reply Bookmark Topic Watch Topic
  • New Topic

ints, bigints, longs and strings  RSS feed

 
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm rewriting some code that worked great when the database tables' columns were defined as INTs



How should I rewrite the above snippet now that the database tables' columns are defined as BIGINTs? This does not work




TIA,

Still-learning Stuart
 
Stuart Rogers
Ranch Hand
Posts: 141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ack, never mind, I found it myself



Thanks,

Still-learning Stuart
 
author & internet detective
Marshal
Posts: 37698
575
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for posting the solution for others who encounter the problem.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can try String.valueOf();
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!