Search code examples
javajpajhipsterjdl

How to create a read-only entity using Jhipster?


I have an existing view in a relational database and I'd like to add it as an existing entity in the model with jhipster using jdl-import. How can I mark the entity as readOnly using jdl-import generator?


Solution

  • You can't do it in JDL nor in entity sub generator, you must do it manually in code after generation.