You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the annotation @id to define a custom column id as UUID in Oracle Database, the generator create liquibase changelogs with column type ${uuidType}.
With this, liquibase generate table column with type RAW(16), instead of VARCHAR2(100) as occurs with jHipster built in entities.
Motivation for or Use Case
Turn UUID a pattern for column id of all entities like is in jHipster built in entities.
Reproduce the error
@dto(mapstruct)
entity Area {
// Need update changelog type from uuid to varchar(100)
// Liquibase change uuid to raw at oracle database
@Id id UUID
nome String required
ordem Integer required
slug String required
}
Related issues
Suggest a Fix
By now, I have no code to fix it, but the expected behavior would be as occurs with jHipster built in entities, the use custom id columns
<details>
<summary>JDL definitions</summary>
<pre>
@dto(mapstruct)
entity Area {
// Need update changelog type from uuid to varchar(100)
// Liquibase change uuid to raw at oracle database
@Id id UUID
nome String required
ordem Integer required
slug String required
}
</pre>
</details>
Entity configuration(s) entityName.json files generated in the .jhipster directory
Overview of the issue
When using the annotation
@id
to define a custom column id asUUID
in Oracle Database, the generator create liquibase changelogs with column type${uuidType}
.With this, liquibase generate table column with type
RAW(16)
, instead ofVARCHAR2(100)
as occurs with jHipster built in entities.Motivation for or Use Case
Turn
UUID
a pattern for column id of all entities like is in jHipster built in entities.Reproduce the error
Related issues
Suggest a Fix
By now, I have no code to fix it, but the expected behavior would be as occurs with jHipster built in entities, the use custom id columns
JHipster Version(s)
8.3.0
JHipster configuration
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System
Ubuntu 22.04
Google Chrome 124.0.6367.60
The text was updated successfully, but these errors were encountered: