Skip to content

Commit

Permalink
chore!: Change Oracle and H2 Oracle ushortType from NUMBER(6) to NUMB…
Browse files Browse the repository at this point in the history
…ER(5) to not take up more space than needed as UShort has a maximum of five digits
  • Loading branch information
joc-a committed Oct 8, 2024
1 parent c239753 commit 769e240
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* If the `distinct` parameter of `groupConcat()` is set to `true`, when using Oracle or SQL Server, this will now fail early with an
`UnsupportedByDialectException`. Previously, the setting would be ignored and SQL function generation would not include a `DISTINCT` clause.
* In Oracle and H2 Oracle, the `ubyte()` column now maps to data type `NUMBER(3)` instead of `NUMBER(4)`.
* In Oracle and H2 Oracle, the `ushort()` column now maps to data type `NUMBER(5)` instead of `NUMBER(6)`.

## 0.55.0
* The `DeleteStatement` property `table` is now deprecated in favor of `targetsSet`, which holds a `ColumnSet` that may be a `Table` or `Join`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ internal object OracleDataTypeProvider : DataTypeProvider() {
} else {
"NUMBER(5)"
}
override fun ushortType(): String = "NUMBER(6)"
override fun ushortType(): String = "NUMBER(5)"
override fun integerType(): String = "NUMBER(12)"
override fun integerAutoincType(): String = "NUMBER(12)"
override fun uintegerType(): String = "NUMBER(13)"
Expand Down

0 comments on commit 769e240

Please sign in to comment.