Java - creating an oracle date field

Posted by llm on Stack Overflow See other posts from Stack Overflow or by llm
Published on 2010-04-22T12:31:31Z Indexed on 2010/04/22 12:33 UTC
Read the original article Hit count: 216

Filed under:
|
|

I have an Oracle Date type to which I need to insert the current date.

I am using Java to generate this date but everything I've tried so far yeilds the following error:

java.sql.SQLException: ORA-01843: not a valid month

Can anyone suggest java code to generate a proper date?

© Stack Overflow or respective owner

Related posts about java

Related posts about Oracle