留言板

How to map result set to bean object

Santanu Kumar Giri,修改在12 年前。

How to map result set to bean object

Junior Member 帖子: 34 加入日期: 11-6-6 最近的帖子
Hi
I am using hsqldb and fetching the data using dynamic query .now i want to map the resultset to bean object.
Can anybody help me on this regads.

Thanks in advance!!

Regards,
Santanu.
thumbnail
Jay Patel,修改在12 年前。

RE: How to map result set to bean object

Regular Member 帖子: 118 加入日期: 10-2-24 最近的帖子
Santanu Kumar Giri:
Hi
I am using hsqldb and fetching the data using dynamic query .now i want to map the resultset to bean object.
Can anybody help me on this regads.

Thanks in advance!!

Regards,
Santanu.



Hi Santanu,

I could not get your question exactly, do you want to cast Result to Liferay specific model?

This you can always do where you are getting your dynamic query result by simply type-casting.

Regards,
Jay.
thumbnail
Mani kandan,修改在12 年前。

RE: How to map result set to bean object

Expert 帖子: 492 加入日期: 10-9-15 最近的帖子
Hi Santanu,

Don't use hsqldb in Liferay. Use mysql,db2 or some other db.