public CampoTablaVO createCampoTabla(CampoTablaVO campoTablaVO){
  DbConnection conn=getConnection();
  try {
    campoTablaVO.setId(getGuid(campoTablaVO.getId()));
    DbInsertFns.insert(conn,TABLE_NAME,DbUtil.getColumnNames(COL_DEFS),new SigiaDbInputRecord(COL_DEFS,campoTablaVO));
    return campoTablaVO;
  }
 catch (  Exception e) {
    logger.error(e.getMessage());
    throw new DBException(e.getMessage());
  }
}

public CampoTablaVO createCampoTabla ( CampoTablaVO campoTablaVO ) { DbConnection conn = getConnection ( ) ; try { campoTablaVO . setId ( getGuid ( campoTablaVO . getId ( ) ) ) ; DbInsertFns . insert ( conn , TABLE_NAME , DbUtil . getColumnNames ( COL_DEFS ) , new SigiaDbInputRecord ( COL_DEFS , campoTablaVO ) ) ; return campoTablaVO ; } catch ( Exception e ) { logger . error ( e . getMessage ( ) ) ; throw new DBException ( e . getMessage ( ) ) ; } }
inserta un nuevo campotablavo .
