public static void novo(TipoImpl tipo) throws Exception { CachedRowSetImpl rowSet = DbConnect.postgresqlConnect(); String tabela = tipo.getNome(); String campos[] = {"descricao"}; String valores[] = new String[1]; valores[0] = tipo.getDescricao(); DbCrud.insert(rowSet, tabela, campos, valores); } // fim do método novo