Foren

Define Transient (non-persisted) Property of an Entity

thumbnail
Johann Sonnenberg, geändert vor 6 Jahren.

Define Transient (non-persisted) Property of an Entity

New Member Beiträge: 20 Beitrittsdatum: 28.06.17 Neueste Beiträge
I'll start out by stating that I am new to Liferay so I might not be using the correct nomenclature, but here goes.

I have an entity of Signup. It has properties of firstName, lastName, emailAddress. These are all persisted in the Signup table in the database via the service module I have created and I guess technically generated with Service Builder. On the front-end, I am using the aui taglibs on my sign up form and have the inputs of course linked via model-context to this bean/entity.

I want to however, create a property on the Signup object that will NOT be persisted in the database, or in Hibernate terms "transient".

I have looked in the module-hbm.xml, service.xml, and other places but I still cannot find how to define a transient property.

Any help is much appreciated.

Thanks.
thumbnail
David H Nebinger, geändert vor 6 Jahren.

RE: Define Transient (non-persisted) Property of an Entity (Antwort)

Liferay Legend Beiträge: 14915 Beitrittsdatum: 02.09.06 Neueste Beiträge