Home » Developer & Programmer » JDeveloper, Java & XML » How to write a Date field with Java and iBatis?
How to write a Date field with Java and iBatis? [message #145697] Fri, 04 November 2005 21:02
adamjsawyer
Messages: 79
Registered: April 2005
Location: Perth, Western Australia ...
Member
I am writing a java application that writes to to an oracle database using Java SDK 1.4.1 and the iBatis framework. What I would like to know is how can I write a date field to the database? I had so much trouble last time with Access that I removed the date fields from the database.

Can I just use a Date variable, pull out the dd + '/' + mm + '/' + yy into a String variable, and write it to the database using iBatis? In an oracle form, I would just enter this as a String anyway, and let Oracle sort out the formatting.

Any help appreciated
Adam
Previous Topic: Java Stored procedure http url get
Next Topic: How to reinstall JVM in 10.1.0.4
Goto Forum:
  


Current Time: Mon Nov 25 19:02:29 CST 2024