Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error while inserting timestamp into database  RSS feed

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While inserting timestamp into the oracle database i am getting the following error



java code for above error


 
Greenhorn
Posts: 5
IntelliJ IDE Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How looks table ceatlog?
 
ashok movva
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Denis Gr wrote:How looks table ceatlog?




create table ceatlog (checkin timestamp(9),checkout timestamp(9));
 
Denis Gurus
Greenhorn
Posts: 5
IntelliJ IDE Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try this query:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!