Search Results
OK to copy?
Examples 11 through 20 of
77 (0.079 seconds)
Class:
org.springframework.jdbc.object.SqlFunctionTests
©,
Rating:
0% of 0,
C1
Class: org.springframework.jdbc.object.SqlFunctionTests ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.core.PreparedStatementCreatorFactory ©, Rating: 0% of 0, C2
Class: org.springframework.jdbc.core.PreparedStatementCreatorFactory ©, Rating: 0% of 0, C2
Class: org.springframework.jdbc.core.PreparedStatementCreatorFactory ©, Rating: 0% of 0, C2
Class: org.springframework.jdbc.core.PreparedStatementCreatorFactory ©, Rating: 0% of 0, C2
Class: org.springframework.jdbc.core.RowMapperTests ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.core.RowMapperTests ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.core.RowMapperTests ©, Rating: 0% of 0, C1
Class: org.apache.catalina.realm.DataSourceRealm ©, Rating: 0% of 0, C1
121 ctrlPreparedStatement.setVoidCallable();
122
123 mockConnection.prepareStatement(FUNCTION);
124 ctrlConnection.setReturnValue(mockPreparedStatement);
125
Class: org.springframework.jdbc.object.SqlFunctionTests ©, Rating: 0% of 0, C1
092 ctrlPreparedStatement.setVoidCallable();
093
094 mockConnection.prepareStatement(FUNCTION);
095 ctrlConnection.setReturnValue(mockPreparedStatement);
096
Class: org.springframework.jdbc.core.PreparedStatementCreatorFactory ©, Rating: 0% of 0, C2
213 }
214 else {
215 ps = con.prepareStatement(sql, resultSetType,
216 updatableResults ? ResultSet.CONCUR_UPDATABLE : ResultSet.CONCUR_READ_ONLY);
217 }
Class: org.springframework.jdbc.core.PreparedStatementCreatorFactory ©, Rating: 0% of 0, C2
210 }
211 else if (resultSetType == ResultSet.TYPE_FORWARD_ONLY && !updatableResults) {
212 ps = con.prepareStatement(sql);
213 }
214 else {
Class: org.springframework.jdbc.core.PreparedStatementCreatorFactory ©, Rating: 0% of 0, C2
Class: org.springframework.jdbc.core.PreparedStatementCreatorFactory ©, Rating: 0% of 0, C2
197 try {
198 if (generatedKeysColumnNames == null) {
199 ps = con.prepareStatement(sql, PreparedStatement.RETURN_GENERATED_KEYS);
200 }
201 else {
Class: org.springframework.jdbc.core.RowMapperTests ©, Rating: 0% of 0, C1
191 final PreparedStatement ps = (PreparedStatement) psControl.getMock();
192
193 con.prepareStatement("some SQL");
194 conControl.setReturnValue(ps, 1);
195 ps.setString(1, "test1");
Class: org.springframework.jdbc.core.RowMapperTests ©, Rating: 0% of 0, C1
163 final PreparedStatement ps = (PreparedStatement) psControl.getMock();
164
165 con.prepareStatement("some SQL");
166 conControl.setReturnValue(ps, 1);
167 ps.setObject(1, "test1");
Class: org.springframework.jdbc.core.RowMapperTests ©, Rating: 0% of 0, C1
133 final PreparedStatement ps = (PreparedStatement) psControl.getMock();
134
135 con.prepareStatement("some SQL");
136 conControl.setReturnValue(ps, 1);
137 ps.setString(1, "test");
Class: org.apache.catalina.realm.DataSourceRealm ©, Rating: 0% of 0, C1
510 throws SQLException {
511
512 PreparedStatement roles =
513 dbConnection.prepareStatement(preparedRoles.toString());
514