Search Results
OK to copy?
Examples 1 through 7 of
7 (0.014 seconds)
Class:
org.springframework.jdbc.datasource.SingleConnectionDataSource
©,
Rating:
0% of 0,
C2
Class: org.springframework.jdbc.core.RowMapperTests ©, Rating: 0% of 0, C1
Class: org.apache.jmeter.protocol.jdbc.util.ConnectionObject ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.protocol.jdbc.util.ConnectionObject ©, Rating: 0% of 0, C2
Class: org.apache.catalina.session.JDBCStore ©, Rating: 0% of 0, C2
Class: org.apache.catalina.session.JDBCStore ©, Rating: 0% of 0, C2
Class: org.springframework.jdbc.core.JdbcTemplateTests ©, Rating: 0% of 0, C2
156 }
157 }
158 if (this.connection.isClosed()) {
159 throw new SQLException(
160 "Connection was closed in SingleConnectionDataSource. Check that user code checks " +
Class: org.springframework.jdbc.core.RowMapperTests ©, Rating: 0% of 0, C1
053 conControl = MockControl.createControl(Connection.class);
054 con = (Connection) conControl.getMock();
055 con.isClosed();
056 conControl.setDefaultReturnValue(false);
057
Class: org.apache.jmeter.protocol.jdbc.util.ConnectionObject ©, Rating: 0% of 0, C2
Class: org.apache.jmeter.protocol.jdbc.util.ConnectionObject ©, Rating: 0% of 0, C2
Class: org.apache.catalina.session.JDBCStore ©, Rating: 0% of 0, C2
821 manager.getContainer().getLogger().info(sm.getString(getStoreName() + ".checkConnectionDBClosed"));
822 open();
823 if (dbConnection == null || dbConnection.isClosed()) {
824 manager.getContainer().getLogger().info(sm.getString(getStoreName() + ".checkConnectionDBReOpenFail"));
825 }
Class: org.apache.catalina.session.JDBCStore ©, Rating: 0% of 0, C2
818 protected Connection getConnection() {
819 try {
820 if (dbConnection == null || dbConnection.isClosed()) {
821 manager.getContainer().getLogger().info(sm.getString(getStoreName() + ".checkConnectionDBClosed"));
822 open();
Class: org.springframework.jdbc.core.JdbcTemplateTests ©, Rating: 0% of 0, C2
0334 ctrlStatement.setVoidCallable();
0335
0336 mockConnection.isClosed();
0337 ctrlConnection.setReturnValue(false, 2);
0338 mockConnection.createStatement();
Result Page:
1