MCPcopy Create free account
hub / github.com/apache/groovy / in

Method in

subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:1069–1081  ·  view source on GitHub ↗

Create a new InParameter @param type the JDBC data type @param value the object value @return an InParameter

(final int type, final Object value)

Source from the content-addressed store, hash-verified

1067 * @return an InParameter
1068 */
1069 public static InParameter in(final int type, final Object value) {
1070 return new InParameter() {
1071 @Override
1072 public int getType() {
1073 return type;
1074 }
1075
1076 @Override
1077 public Object getValue() {
1078 return value;
1079 }
1080 };
1081 }
1082
1083 /**
1084 * Create a new OutParameter

Callers 15

ARRAYMethod · 0.95
BIGINTMethod · 0.95
BINARYMethod · 0.95
BITMethod · 0.95
BLOBMethod · 0.95
BOOLEANMethod · 0.95
CHARMethod · 0.95
CLOBMethod · 0.95
DATALINKMethod · 0.95
DATEMethod · 0.95
DECIMALMethod · 0.95
DISTINCTMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected