Skip to content

Conversation

@zaleslaw
Copy link
Collaborator

No description provided.

Extended the handling of SQL Types TINYINT and SMALLINT in PostgreSql.kt to address issues reported against these data types.
…Name` as a new property. Also made changes to handle TINYINT and SMALLINT types more effectively in MySql and MariaDb classes.
@zaleslaw zaleslaw merged commit b8813f5 into Kotlin:0.12.1 Dec 27, 2023
get() = "org.mariadb.jdbc.Driver"

override fun convertSqlTypeToColumnSchemaValue(tableColumnMetadata: TableColumnMetadata): ColumnSchema? {
if(tableColumnMetadata.sqlTypeName == "SMALLINT") {
Copy link
Collaborator

Choose a reason for hiding this comment

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

don't forget to lint

@Jolanrensen
Copy link
Collaborator

@zaleslaw don't forget to merge it in the master too

zaleslaw added a commit that referenced this pull request Jan 3, 2024
* Update handling of SQL Types in PostgreSQL and add test cases Extended the handling of SQL Types TINYINT and SMALLINT in PostgreSql.kt to address issues reported against these data types. * Continued the enhancement of TableColumnMetadata by adding `javaClassName` as a new property. Also made changes to handle TINYINT and SMALLINT types more effectively in MySql and MariaDb classes. * Refactor type handling of TINYINT and SMALLINT in SQL classes * In this commit, TINYINT and SMALLINT types are refactored across several SQL related classes. * Remove unnecessary imports and add ignore annotations to tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants