1 21 22 package org.continuent.sequoia.driver; 23 24 import java.sql.SQLWarning ; 25 import java.util.List ; 26 27 39 public class ResultAndWarnings 40 { 41 42 private SQLWarning statementWarnings = null; 43 44 private int updateCount = -1; 45 private List resultList = null; 46 47 58 ResultAndWarnings(int uc, SQLWarning warns) 59 { 60 statementWarnings = warns; 61 updateCount = uc; 62 } 63 64 74 ResultAndWarnings(List reslist, SQLWarning warns) 75 { 76 statementWarnings = warns; 77 resultList = reslist; 78 } 79 80 86 SQLWarning getStatementWarnings() 87 { 88 return statementWarnings; 89 } 90 91 97 int getUpdateCount() 98 { 99 return updateCount; 100 } 101 102 108 List getResultList() 109 { 110 return resultList; 111 } 112 } 113 | Popular Tags |