Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ints, bigints, longs and strings

 
Stuart Rogers
Ranch Hand
Posts: 141
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ack, never mind, I found it myself



Thanks,

Still-learning Stuart
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for posting the solution for others who encounter the problem.
 
Lei Guoguo
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can try String.valueOf();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic