Amit, can you send me that zip file again, off-list? I missed this post,
just found it in the mail-archives. Would like to play with a Hibernate
portlet sample, and would be willing to contribute back if i came up
with anything. Thanks. ... .joe
Attached is the sample Hibernate application that I have written.
Like I said, it is very simple portlet with a submit button. When
you click submit button, it selects all the records from "CLUBS"
table on HSQL (it comes with jetspeed 2) and system.out's the
records on console or catalina.out.
I have not attached any of the hibernate libraries for size purpose.
But you would need those jar files. Go to
http://caveatemptor.hibernate.org/ and download the sample
application and copy all the jar files from their lib to WEB-INF/lib
of this tar file. Make a war file out of it, and just deploy it in
the deploy directory of your jetspeed.
Include this in your default.psml so that you can view this portlet.
<fragment id="dp-25" type="portlet" name="testPortal::FirstPortlet">
<property name="row" value="3" layout="TwoColumns"/>
<property name="column" value="0" layout="TwoColumns"/>
</fragment>
Let me know if any questions !!!
Cheers,
Amit
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]