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

[APIS-989] Datatype information needs to be added. #45

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

hwany7seo
Copy link
Contributor

http://jira.cubrid.org/browse/APIS-989

Purpose
add datatype For DBeaver.

Implementation

  • Added datatype in getTypeInfo method

Remarks
N/A

@hwany7seo hwany7seo self-assigned this Mar 6, 2024
new Integer(10),
new Integer(11),
new Integer(22),
new Integer(26)
new Integer(29),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you look at dbtype_def.h, the precision of the data type is defined.
The precision value seems to be different.

The information below is the precision of the data type.
#define DB_TIMESTAMP_PRECISION 19
#define DB_TIMESTAMPTZ_PRECISION DB_TIMESTAMP_PRECISION
#define DB_DATETIME_PRECISION 23
#define DB_DATETIMETZ_PRECISION DB_DATETIME_PRECISION

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right. I set the precision for output, but the timezone is stored separately, so the input standard seems to be correct.
It's changed.
Thanks for review.

@hwany7seo hwany7seo merged commit a397bf7 into CUBRID:develop Mar 12, 2024
3 checks passed
hwany7seo pushed a commit to hwany7seo/cubrid-jdbc that referenced this pull request Mar 15, 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

Successfully merging this pull request may close these issues.

4 participants