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

JdbcInsert neglects chain.nextXYZ() #83

Open
wjcarpenter opened this issue Mar 17, 2020 · 2 comments
Open

JdbcInsert neglects chain.nextXYZ() #83

wjcarpenter opened this issue Mar 17, 2020 · 2 comments

Comments

@wjcarpenter
Copy link

MyVD 1.0.6.

Several of the stub methods in JdbcInsert don't call the next interceptor in the chain, effectively making JdbcInsert a dead end for those methods. For example, postSearchEntry and postSearchComplete. Is that a bug, or is it intentional for some reason that I don't grok?

FWIW, I'm trying to work around issue #82, and I finally discovered why my insert isn't getting invoked after JdbcInsert.

@mlbiam
Copy link
Contributor

mlbiam commented Mar 18, 2020

JDBCInsert is meant to be the last in the chain. What do you want to run after the jdbc insert?

@wjcarpenter
Copy link
Author

wjcarpenter commented Mar 18, 2020

I wanted to have an insert modify binary attributes, and I had wrongly assumed they were not available until after the JdbcInsert had done its thing. But I see now that all of the accumulated LDAPattributes are present in postSearchEntry() when I put my insert before JdbcInsert. Other than that, it was mostly curiosity that made me ask after I noticed it.

Feel free to close the issue if it's ... not an issue. :-)

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

2 participants