IT WORKS!

Changed URL formatting
resultSet and PactRecord use different column indices
Tests were changed to work with my specific own database