1 21 22 package org.continuent.sequoia.driver; 23 24 import java.sql.SQLWarning ; 25 26 33 public class DriverGeneratedKeysResult 34 { 35 private int updateCount = 0; 36 private DriverResultSet drs; 37 private SQLWarning statementWarnings; 38 39 46 public DriverGeneratedKeysResult(DriverResultSet drs, int updateCount, 47 SQLWarning sqlw) 48 { 49 this.drs = drs; 50 this.updateCount = updateCount; 51 this.statementWarnings = sqlw; 52 } 53 54 59 public final DriverResultSet getDriverResultSet() 60 { 61 return drs; 62 } 63 64 69 public final int getUpdateCount() 70 { 71 return updateCount; 72 } 73 74 79 public SQLWarning getWarnings() 80 { 81 return statementWarnings; 82 } 83 84 } 85 | Popular Tags |