Hello, I created a Jmix project and connected it to a custom Db2 database. When I try to right-click on the main data store, the “Generate Entity Model” option doesn’t appear. This option is also missing from the menus. How can I solve this?
Hi,
I have the same problem.
If I create data store Sql Server with right botton, in menu, I have “Generate Model From Database”.
With a Generic Db data store when I push right button I don’t have this option.
How can I enable this option?
Thank’s for help
Reverse engineering from an unsupported database is not implemented in Studio.
So you need to create your entities manually.
Regards,
Konstantin
Hi Konstantin
Thank you for response.
In Cuba this function is enabled also for unsopported database.
Do you think Jmix will implement this feature in the future?
Thank you for support
Giuseppe
Hello,
if there are a lot of entities to reverse engineer from an unsupported database so that defining the entities manually would be a lengthy task, you can use a trick.
Use your SQL server enterprise manager to import that database structure (or some tables only), convert it to SQL server tables, and then reverse engineer from there.
Kind regards,
Mladen