month « Oracle « JPA Q&A





1. ORA-01847: day of month must be between 1 and last day of mo    forum.hibernate.org

Hi, --I am trying to update the date in oracle9i through hibernate. --The date string that i am using to update the DB through Hibernate is 01-AUG-2005. --This works fine with sql DB.But with oracle9i it throws the exception ORA-01847: day of month must be between 1 and last day of month Please help me out asap.

2. ORA-01843: not a valid month    forum.hibernate.org

Hi, I am using hibernate with Oracle while inserting a record in one of my tables i am getting ORA-01843: not a valid month error.I have debugged thru hibernate code and have checked that in the prepared statement for inserting record the hibernate is correctly setting date as new Date( ( (java.util.Date) value ).getTime() ); and timesstamp as new Timestamp( ( ...