/**
  * This method was generated by Apache iBATIS ibator. This method corresponds to the database
  * table cementerio.documento_tipos
  *
  * @ibatorgenerated Tue Jun 07 11:18:50 CEST 2011
  */
 public int deleteByPrimaryKey(Short tipo) throws SQLException {
   DocumentoTipo key = new DocumentoTipo();
   key.setTipo(tipo);
   int rows =
       getSqlMapClientTemplate()
           .delete("cementerio_documento_tipos.ibatorgenerated_deleteByPrimaryKey", key);
   return rows;
 }
 /**
  * This method was generated by Apache iBATIS ibator. This method corresponds to the database
  * table cementerio.documento_tipos
  *
  * @ibatorgenerated Tue Jun 07 11:18:50 CEST 2011
  */
 public DocumentoTipo selectByPrimaryKey(Short tipo) throws SQLException {
   DocumentoTipo key = new DocumentoTipo();
   key.setTipo(tipo);
   DocumentoTipo record =
       (DocumentoTipo)
           getSqlMapClientTemplate()
               .queryForObject(
                   "cementerio_documento_tipos.ibatorgenerated_selectByPrimaryKey", key);
   return record;
 }