• 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" ?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!