-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Custom column id as UUID for oracle database #25973
Comments
@romarioliveira25 can you provide a PR? |
I can try, but probably need some help about wich template files define it. |
generator-jhipster/generators/liquibase/templates/src/main/resources/config/liquibase/master.xml.ejs Line 59 in 4a42644
|
thx @mshima, i'm looking for Line 47 in d173518
Line 50 in d173518
generator-jhipster/generators/liquibase/templates/src/main/resources/config/liquibase/master.xml.ejs Line 27 in d173518
Can you provide some help about that also? |
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: