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

Stubbing SQLException #371

Open
stefanofornari opened this issue Oct 27, 2024 · 0 comments
Open

Stubbing SQLException #371

stefanofornari opened this issue Oct 27, 2024 · 0 comments

Comments

@stefanofornari
Copy link

I have noticed that PreparedStatement does not provide the functionality to throw an SQLException, which would be pretty helpful to fully stub a db access layer. Is the project still maintained and open to integrate enhancements?

I would approach it similarly to SQLWarning with the difference than in execute if an SQLException is provided, it will be thrown.

@stefanofornari stefanofornari changed the title SQLException handling Stubbing SQLException Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant