If this instance was created with a single Connection then the connection is returned. Otherwise if this instance was created with a DataSource then this method returns null @return the connection wired into this object, or null if this object uses a DataSource
()
| 3985 | * uses a DataSource |
| 3986 | */ |
| 3987 | public Connection getConnection() { |
| 3988 | return useConnection; |
| 3989 | } |
| 3990 | |
| 3991 | private void setConnection(Connection connection) { |
| 3992 | useConnection = connection; |
no outgoing calls
no test coverage detected