Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: None  |  size: 0.52 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ibatis access oracle long type data
  2. X_long b = (X_long) getSqlMapClientTemplate().queryForObject("select_long", id);
  3.        
  4. <select id="select_long"
  5.        resultClass="spring_ibatis.domain.X_long">
  6.   select id, txt from x_long
  7.     where ID=#ID#
  8. </select>
  9.        
  10. public class X_long implements Serializable
  11. {
  12.    // ////////////////////////////////////////////////
  13.    // Data access methods
  14.    // ////////////////////////////////////////////////
  15.    private String ID;
  16.    private String TXT;
  17. ...
  18. }
  19.        
  20. Stream has already been closed