Fórum

Define Transient (non-persisted) Property of an Entity

thumbnail
Johann Sonnenberg, modificado 6 Anos atrás.

Define Transient (non-persisted) Property of an Entity

New Member Postagens: 20 Data de Entrada: 28/06/17 Postagens Recentes
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, modificado 6 Anos atrás.

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

Liferay Legend Postagens: 14915 Data de Entrada: 02/09/06 Postagens Recentes