Hi ,
I always face problem when inserting Date into a Date Type column Type .
Assume ,that i have a table like this as shown below :
Name Type
TXN_ID VARCHAR2(10)
IN_TIME DATE
when i tried to work with the below code , it gave a sqlexception saying that , Invalid month .
I also tried with using SimpleDateFormat , in which it also gave a error .
Exception in thread "main" java.text.ParseException: Unparseable date: "11-11-2005"
at java.text.DateFormat.parse(Unknown Source)
So please tell me , how can i insert a date in SQL Oracle Database having a Date Column .
Thanks .