• Post Reply Bookmark Topic Watch Topic
  • New Topic

Save data in database  RSS feed

 
kittu shusma
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
how to save calendar data in oracle database..
can you help....please
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kittu shusma wrote:how to save calendar data in oracle database..

Well, you probably want to convert it to a java.sql.Date first (although it's possible that newer drivers can handle Calendar values directly).

Winston
 
kittu shusma
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i didn't understand can please explain detail....
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kittu shusma wrote:i didn't understand can please explain detail....

I suspect you need to read the JDBC tutorials.

Winston
 
Rob Spoor
Sheriff
Posts: 21131
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Winston Gutkowski wrote:
kittu shusma wrote:how to save calendar data in oracle database..

Well, you probably want to convert it to a java.sql.Date first

Or java.sql.Time, or java.sql.Timestamp. It depends on which parts of the Calendar should be stored - the date, the time, or both.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!