urgent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mallar
    New Member
    • Mar 2008
    • 2

    urgent

    hi all,
    pls help me out i want to send a string to oracle date feild,
    ie i have taken a string in java in date format dd-mm-yyyy and now i want to pass it oracle table whose feild is a date field
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by mallar
    hi all,
    pls help me out i want to send a string to oracle date feild,
    ie i have taken a string in java in date format dd-mm-yyyy and now i want to pass it oracle table whose feild is a date field
    Convert it to a Date and use PreparedStateme nt's setDate method to send it to the database.

    Comment

    • mallar
      New Member
      • Mar 2008
      • 2

      #3
      Originally posted by r035198x
      Convert it to a Date and use PreparedStateme nt's setDate method to send it to the database.
      thank you,
      i need some more clarification i have some validation methods for the string i have considered if i go for date will that be automatically updated

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by mallar
        thank you,
        i need some more clarification i have some validation methods for the string i have considered if i go for date will that be automatically updated
        Will what be automatically updated? Do you know how to create a Date or preferably a Timestamp from a String?

        Comment

        Working...