Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement/tibco driver handling #44

Merged
merged 3 commits into from
Aug 12, 2019

Conversation

svettwer
Copy link
Contributor

This PR is concerning #29 and softens the JDBC driver contract so that TIBCO Systems are able to work with the driver without limitations.

The issue is caused by the fact that whenever the next() method is called on a ResultSet the pointer to the data moves one step forward. If the last row of the ResultSet has been reached and next() is called, the pointer to the data moves further and leaves the valid data section. From my knowledge, this is absolutely fine concerning the JDBC contract. Nevertheless, the TIBCO JDBC integration expects that Data is returned whenever the ResultSet is accessed. This PR changes the ResultSet and DataSet management, so that the pointer cannot leave the valid data section anymore. So no matter how often you call the next() method when the last row is reached, the data accessed through the ResultSet will stay at the last row.

BR,
Sven

@svettwer svettwer added Prio: Medium TO REVIEW commissioned An issue whose solution was commissioned by a customer. labels Aug 12, 2019
@svettwer svettwer added this to the v0.2.0 milestone Aug 12, 2019
@svettwer svettwer requested review from s1hofmann and cliffle August 12, 2019 07:42
@svettwer svettwer merged commit 7e845fe into master Aug 12, 2019
@svettwer svettwer deleted the enhancement/tibco-driver-handling branch August 12, 2019 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commissioned An issue whose solution was commissioned by a customer. Prio: Medium TO REVIEW
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants