• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i map the data type from my java prg to a field in my database  RSS feed

 
varsha rao
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello every one,
i have a field in my database which has to store a date value. But im getting errors if i pass a variable of type Date (of Java) to the database. Can anyone tell me how to do this.
regards
varsha
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try a java.sql.Date.
[ April 19, 2006: Message edited by: Paul Sturrock ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!