9/66
\begin{frame}
  \frametitle{Type (mis)Match}
  
  \begin{block}{Mapping SQL types to Java Types}
    \begin{tcenter}
    \begin{tabular}{ll}
      \emph{SQL type} & \emph{Java Type} \\
      \hline
      CHAR, VARCHAR & String \\
      NUMERICAL, DECIMAL\hspace{.5cm} & java.math.BigDecimal \\
      BIT & boolean \\
      TINYINT & byte \\
      SMALLINT & short \\
      INTEGER & int \\
      BIGINT & long \\
      REAL & float \\
      FLOAT, DOUBLE & double \\
      BINARY, VARBINARY & byte[] \\
      DATE & java.sql.Date \\
      TIME & java.sql.Time \\
      TIMESTAMP & java.sql.Timestamp
    \end{tabular}
    \end{tcenter}
  \end{block}
  
  The match is not precise! E.g. \sql{VARCHAR(20)} versus String. 
\end{frame}