Hi Kavita,
You should use the “persistable” property of your entity in the domain model to define if it should be persisted or not.
Grt. Arjan
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?