简体   繁体   中英

jHipster import database schema

I am new to JHipster . I am creating new JHipster project, but I was wondering if I can generate all entities from my current Oracle tables/schema.

Is it possible? I tried db-helper plugin but it does not seem to have this feature.

Looks like it only needs to create JDL file from existing database.

As specified in the motivation of the db-helper plugin JHipster is using some convention and depending on how consistent you designed your database, ie name of tables, name of PK etc; it can be more or less difficult to start JHipster on an already existing database. As specified here you could try to create a UML from your schema and use JHipster UML to generate a JHipster project based on your schema. The problem is that there are no tools, at least no free tools from what you can see here .

Depending on how many tables you have, you could try to read the metadata from your DB and generate the jdl file at least for the entities and their properties. For the relation it can be a little complicated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM