Re: [Wicket-user] Persistence Question in Wicket

2006-12-20 Thread Nathan Hamblen
Paolo Di Tommaso wrote:
> It should work.

It does:
http://databinder.net/wsvn/Databinder/databinder/r1.0/src/main/java/net/databinder/DataRequestCycle.java?op=file

Or, using ManagedSessionContext:
http://databinder.net/wsvn/Databinder/databinder/trunk/src/main/java/net/databinder/DataRequestCycle.java?op=file


Nathan


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Persistence Question in Wicket

2006-12-20 Thread Igor Vaynberg

most of persistence frameworks provide an "open session in view" filter that
you can use

-igor


On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:




I am working on a wicket app where i have entities that will require lots
of lazy loading.

i actually plan to keep my persistence context open for the duration of my
page rendering process so that lazy-loading relationships can be easily
resolved,

now what i do is to override onEndRequest() in RequestCycle. is that all
to this?

anybody has a specific pattern that makes this perfect. thanks



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Persistence Question in Wicket

2006-12-20 Thread Paolo Di Tommaso

It should work.

Another approach is to use a open-view-in-session filter, described here
-->  http://www.hibernate.org/43.html


Paolo

On 12/20/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:




I am working on a wicket app where i have entities that will require lots
of lazy loading.

i actually plan to keep my persistence context open for the duration of my
page rendering process so that lazy-loading relationships can be easily
resolved,

now what i do is to override onEndRequest() in RequestCycle. is that all
to this?

anybody has a specific pattern that makes this perfect. thanks



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Persistence Question in Wicket

2006-12-20 Thread Ayodeji Aladejebi

I am working on a wicket app where i have entities that will require lots of
lazy loading.

i actually plan to keep my persistence context open for the duration of my
page rendering process so that lazy-loading relationships can be easily
resolved,

now what i do is to override onEndRequest() in RequestCycle. is that all to
this?

anybody has a specific pattern that makes this perfect. thanks
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user