1 16 17 package org.springframework.jdbc.core; 18 19 33 public class SqlOutParameter extends ResultSetSupportingSqlParameter { 34 35 private SqlReturnType sqlReturnType; 36 37 38 43 public SqlOutParameter(String name, int sqlType) { 44 super(name, sqlType); 45 } 46 47 53 public SqlOutParameter(String name, int sqlType, String typeName) { 54 super(name, sqlType, typeName); 55 } 56 57 64 public SqlOutParameter(String name, int sqlType, String typeName, SqlReturnType sqlReturnType) { 65 super(name, sqlType, typeName); 66 this.sqlReturnType = sqlReturnType; 67 } 68 69 75 public SqlOutParameter(String name, int sqlType, ResultSetExtractor rse) { 76 super(name, sqlType, rse); 77 } 78 79 85 public SqlOutParameter(String name, int sqlType, RowCallbackHandler rch) { 86 super(name, sqlType, rch); 87 } 88 89 95 public SqlOutParameter(String name, int sqlType, RowMapper rm) { 96 super(name, sqlType, rm); 97 } 98 99 100 103 public SqlReturnType getSqlReturnType() { 104 return this.sqlReturnType; 105 } 106 107 110 public boolean isReturnTypeSupported() { 111 return (this.sqlReturnType != null); 112 } 113 114 119 public boolean isInputValueProvided() { 120 return false; 121 } 122 123 } 124 | Popular Tags |