Fórum

Store procedure

thumbnail
dev ch, modificado 12 Anos atrás.

Store procedure

Regular Member Postagens: 161 Data de Entrada: 07/02/12 Postagens Recentes
Hi all,

Can any body have any idea about what is store procedure in portlet? Please help me out with details?
thumbnail
jelmer kuperus, modificado 12 Anos atrás.

RE: Store procedure

Liferay Legend Postagens: 1191 Data de Entrada: 10/03/10 Postagens Recentes
You mean a stored procedure ? that has nothing to do with portlets. If not what do you mean ?
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Store procedure

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
I've answered in the following thread.

http://www.liferay.com/community/forums/-/message_boards/message/13237534

or do you want to use stored procedure with service builder?
thumbnail
dev ch, modificado 12 Anos atrás.

RE: Store procedure

Regular Member Postagens: 161 Data de Entrada: 07/02/12 Postagens Recentes
Thank you.
ashish pradhan, modificado 12 Anos atrás.

RE: Store procedure

Junior Member Postagens: 54 Data de Entrada: 18/03/12 Postagens Recentes
Actually what is the Storde procedure portlet? i dont have any idea

yes, i want stored proceudure in service builder
thumbnail
David H Nebinger, modificado 12 Anos atrás.

RE: Store procedure

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
This is doable, but can take a lot of work on your end depending upon what the stored proc is doing.

If you're retrieving data to be returned as an entity, you would create an entity in service.xml and build the services. You'd then go to the ***LocalServiceImpl class and either add methods to invoke the SP separately or override the generated methods if you have to invoke the SP to do those operations.

Oh, and there is no "stored procedure portlet", it doesn't exist.
thumbnail
Hitoshi Ozawa, modificado 12 Anos atrás.

RE: Store procedure

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
I haven't tried this myself yet, but it may be doable by writing up procedure in default.xml in custom-sql folder.

http://www.liferay.com/ja/documentation/liferay-portal/6.1/user-guide/-/ai/custom-sql