[APIS-1098] Implement the JDBC Wrapper interface across driver classes - #84
Merged
Conversation
Srltas
commented
Aug 5, 2026
Comment on lines
+85
to
+88
| col_schema[i] = | ||
| dotIndex != -1 | ||
| ? tableName.substring(0, dotIndex).toUpperCase(Locale.ENGLISH) | ||
| : ""; |
Member
Author
There was a problem hiding this comment.
포맷터를 돌리면 자동 수정되는 부분으로, 이번 PR과 무관한 변경입니다.
|
Reviews (1): Last reviewed commit: "fix: reject a null type in isWrapperFor ..." | Re-trigger Greptile |
hwany7seo
approved these changes
Aug 6, 2026
Srltas
pushed a commit
to CUBRID/cubrid
that referenced
this pull request
Aug 18, 2026
2a9ca81 -> 51152ed (1 commit(s)) CUBRID/cubrid-jdbc@2a9ca81...51152ed - [APIS-1098] Implement the JDBC Wrapper interface across driver classes (CUBRID/cubrid-jdbc#84) http://jira.cubrid.org/browse/APIS-1098 Co-authored-by: cubrid-submodule-bot[bot] <304658916+cubrid-submodule-bot[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
http://jira.cubrid.org/browse/APIS-1098
Purpose
CUBRID JDBC의 고유 API(
getQueryplan,setLockTimeout등)는CUBRIDConnection등으로 캐스팅해야 사용할 수 있습니다. HikariCP 같은 풀은 커넥션을 프록시로 감싸서 돌려주므로 직접 캐시팅하면 ClassCastException이 발생합니다. JDBC 4.0의java.sql.Wrapper가 이 문제를 해결해주는 API로, 두 메서드를 구현해 CUBRID 고유 API에 접근할 수 있도록 합니다.Implementation
Wrapper직접 구현 7개 클래스.unwrap자신 반환,isWrapperFortrueunwrapSQLException(-21120),isWrapperForfalseRemarks