Note: iBATIS Types and TypeHandlers

Just a note to myself to keep some often used technical details where I can find them. Please ignore.

Predefined type aliases (i.e. used in parameterClass):

  • string
  • byte
  • long
  • int
  • integer
  • double
  • float
  • boolean
  • date – java.util.Date
  • decimal – java.math.BigDecimal
  • object – java.lang.Object
  • map – java.util.Map
  • hashmap – java.util.HashMap
  • list – java.util.List
  • arraylist – java.util.ArrayList
  • collection – java.util.Collection
  • iterator – java.util.Iterator
  • cursor – java.sql.ResultSet

Predefined Type Handler Names:

  • CLOB, LONGVARCHAR
  • BLOB, LONGVARBINARY
  • OBJECT
  • DATE, TIME

iBATIS really needs more documentation and in easier to access format. It sucks to have to fire up Acrobat just to find some bits of details.

Advertisements