How to create the non persistent entity using script?
Hi, I am creating the domain model entities using the script. I want to create my entiteies as non-persistable. I am not able to get any property on entity while writing the script to make it non-persistable. How can I do it? Below is the snippt of the script code which I am using to generate the entity.
You should use the “persistable” property of your entity in the domain model to define if it should be persisted or not.
I don’t think that you can create NP entities out of thin air without telling the modeler something about it beforehand as some kind of registration.
However you could create an NP dummy entity in your database. Add this entity as a parameter to your java action and work with that as a template?