• Post Reply Bookmark Topic Watch Topic
  • New Topic

iBatis and java.sql  RSS feed

 
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" ?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!