论坛

主页 » Liferay Portal » English » 3. Development

组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
Gunjan Sherathia
JSP portlet database communication
2009年2月20日 下午11:06
答复

Gunjan Sherathia

等级: Junior Member

帖子: 48

加入日期: 2009年2月20日

最近的帖子

i have created one JSP portlet. now i want that porlet to communicate with my mysql database.

anyone know how i can do that?
Shivansh Sharma
RE: JSP portlet database communication
2009年2月22日 下午11:34
答复

Shivansh Sharma

等级: New Member

帖子: 16

加入日期: 2009年2月8日

最近的帖子

Hello Gunjan,
I am assuming that your portal is already configured with one of the my-sql schema.
After that for all CRUD operation you need to use liferay services & its implementation.

Regards,
Shivansh Sharma
Gunjan Sherathia
RE: JSP portlet database communication
2009年2月23日 上午1:10
答复

Gunjan Sherathia

等级: Junior Member

帖子: 48

加入日期: 2009年2月20日

最近的帖子

hello shivansh

thnks for reply...

my portal is not configure with but its configure with hypersonic....i want my portal to conneect with mysql but when i try to change my root.xml file i lost my whole application..

please suggest me what do i do now?
Srikanth Reddy Sanivarapu
RE: JSP portlet database communication
2009年2月23日 上午2:02
答复

Srikanth Reddy Sanivarapu

等级: Regular Member

帖子: 193

加入日期: 2008年11月14日

最近的帖子

Hi Connect back to ur hypersonic and export ur things as LAR and stop server and connect to MySQL and import the same LAR.

I think it will help you.

Thanks & Regards,
Srikanth Reddy.S
Gunjan Sherathia
RE: JSP portlet database communication
2009年2月23日 上午4:23
答复

Gunjan Sherathia

等级: Junior Member

帖子: 48

加入日期: 2009年2月20日

最近的帖子

hi

thnks shrikanth

can u please tell me what is this LAR?
whenever i click on export/import of any portlet i got message like this

"The library portlet does not have any data that can be exported or does not include support for it. "

hope listen from u...
Shivansh Sharma
RE: JSP portlet database communication
2009年2月23日 下午9:30
答复

Shivansh Sharma

等级: New Member

帖子: 16

加入日期: 2009年2月8日

最近的帖子

Hello Gunjan,
Go through this URL
1http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Database+Configuration


Regards,

Shivansh Sharma