Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iBatis and java.sql

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iBatis Data Mapper 2.0's documentation says :
The use of java.sql. date types is discouraged. It is a best practice to use java.util.Date instead.

However, iBatis's DateTypeHandler uses java.sql.Timestamp to set PreparedStatement parameters !
Does anybody know what they mean by "use java.util.Date instead" ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic