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

Fixed single quote escape and bigint issues #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yxia2ufl
Copy link

This fix addresses two issues we have in our system when using the latest code.

  1. For label that contains single quote, its generated SQL doesn't escape well. As current escape only replace ' into \', while in sql, we need to replace ' into ''. The change in SqlClauseUtil.java is trying to avoid regression issue that might caused by changing directly on JDBCUtil.escapeSingleQuote(), as escapeSingleQuote are used by many other logics.

  2. For ENCOUNTER_NUM int, we have an update to use bigint, we've discussion on https://groups.google.com/g/i2b2-install-help/c/ilylQPEseR4, and our in-house build, deploy, running works well, but not see the corresponding updates in the latest i2b2-core-server code. Therefore, this PR add the update.

Signed-off-by: yxia2 <yxia2@ufl.edu>
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

Successfully merging this pull request may close these issues.

1 participant