• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Mapping datatypes

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my SQL-Server I store dates, does anyone know the best type if I want this look: DD-MM-YY ?
If that isn't possible, I take it that you solve this through parsing in the java-code?
For instance, let's say that I'm using the type "datetime" type in SQL-Server, how do I map it into java? I would like to get it in a string so that I can parse it(if necessary) in the java-code.
Does anyone have the "best" answer???
reply
    Bookmark Topic Watch Topic
  • New Topic