Re: Using Wicket and Hibernate

2013-11-21 Thread Dan Alvizu
er wicket, spring and > hibernate.Since i am new to concepts like wicket, spring and hibernate i > want to learn about them.But also learning three new tools together is a > bit much. > Is it therefore a good idea to forget about Spring and make the mvc > working with only Wicket and

Using Wicket and Hibernate

2013-11-21 Thread Gerrit Wassink
ke the mvc working with only Wicket and Hibernate? Maybe you can give me a startup voor working together wicket and hibernate? Thanks a lot! Greetings Gerrit

Re: Using Wicket and Hibernate

2013-11-21 Thread Gerrit Wassink
pring and make the mvc > working with only Wicket and Hibernate? > Maybe you can give me a startup voor working together wicket and hibernate? > Thanks a lot! > Greetings Gerrit

Re: looking for example wicket and hibernate

2009-12-25 Thread Janning Vygen
g "wicket in action", which is am excellent book. our software will be open source soon, so i can send you the complete source code if you like. kind regards Janning On Thursday 24 December 2009 06:42:57 Johan den Boer wrote: > Hi > > I am looking for a real working exampl

Re: looking for example wicket and hibernate

2009-12-24 Thread nino martinez wael
ket-library.com/wicket-examples/spring/ > > ** > Martin > > 2009/12/24 Johan den Boer : >> Hi >> >> I am looking for a real working example on wicket and hibernate. I have read >> the books 'Wcket in Action', 'Pro Wicket' and other books but no

Re: looking for example wicket and hibernate

2009-12-23 Thread Martin Makundi
l working example on wicket and hibernate. I have read > the books 'Wcket in Action', 'Pro Wicket' and other books but none of them > give a real working example. Can somebody point me to a real working example > or can sent to me. > > The most problem i have wit

looking for example wicket and hibernate

2009-12-23 Thread Johan den Boer
Hi I am looking for a real working example on wicket and hibernate. I have read the books 'Wcket in Action', 'Pro Wicket' and other books but none of them give a real working example. Can somebody point me to a real working example or can sent to me. The most pro

Re: wicket and hibernate

2008-10-02 Thread Flavius
thread. So throughout the lifecycle you can make references to related objects and hibernate will go fetch them for you. I don't like that technique, personally. HTH -- View this message in context: http://www.nabble.com/wicket-and-hibernate-tp19767474p19791416.html Sent from the Wicket

Re: wicket and hibernate

2008-10-01 Thread overseastars
gt; > The only thing I did which I regret was I defined my collections > in hibernate as Lists instead of sets. I did this because wicket > takes a list as a param in a lot of places and Lists are generally > easier to work with. > > But hibernate treats Lists as bags and when y

Re: wicket and hibernate

2008-10-01 Thread Flavius
will complain. It won't let you fetch multiple bags simultaneously. It used to though. They keep threatening to fix it. http://opensource.atlassian.com/projects/hibernate/browse/HHH-1718 -- View this message in context: http://www.nabble.com/wicket-and-hibernate-tp19767474p19772328.html Sent f

Re: wicket and hibernate

2008-10-01 Thread Piller Sébastien
Hi, Have a look at http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Iolite overseastars a écrit : Hi I just wanna know how to integrate wicket and hibernate?? can someone give me a simple example even just one entity is ok. I have my entities(hibernate annotation) ready and

wicket and hibernate

2008-10-01 Thread overseastars
Hi I just wanna know how to integrate wicket and hibernate?? can someone give me a simple example even just one entity is ok. I have my entities(hibernate annotation) ready and I have no ideas of making them work together. If any buddy can send me an example project, I will really

Re: Lazy load exception wicket and hibernate

2008-03-30 Thread James Carman
On Sun, Mar 30, 2008 at 6:01 AM, lars vonk <[EMAIL PROTECTED]> wrote: > IIRC you should put the OpenEntityManagerInViewFilter definition in the > > filter-mapping after the WicketFilter otherwise the WicketFilter will come > > first. > > > I of course meant *before the WicketFilter*, because lik

Re: Lazy load exception wicket and hibernate

2008-03-30 Thread lars vonk
Sorry, my bad. I made a typo earlier what may have caused the confusion: > On Sat, Mar 29, 2008 at 7:15 AM, lars vonk <[EMAIL PROTECTED]> wrote: IIRC you should put the OpenEntityManagerInViewFilter definition in the > filter-mapping after the WicketFilter otherwise the WicketFilter will come >

Re: Lazy load exception wicket and hibernate

2008-03-29 Thread Igor Vaynberg
On Sat, Mar 29, 2008 at 8:04 PM, James Carman <[EMAIL PROTECTED]> wrote: > So, I think you just have it backwards. The > OpenEntityManagerInViewFilter should be mapped before the > WicketFilter. i dont know if my english is broken or what, but i believe that is exactly what ive been saying all

Re: Lazy load exception wicket and hibernate

2008-03-29 Thread James Carman
On Sat, Mar 29, 2008 at 10:14 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > it will execute _after_ the wicket filter. which is no good because > you need lazy loading to work inside wicket filter, so you need oemiv > to execute before. and possibly, if wicket filter never calls > chain.dofilte

Re: Lazy load exception wicket and hibernate

2008-03-29 Thread Igor Vaynberg
it will execute _after_ the wicket filter. which is no good because you need lazy loading to work inside wicket filter, so you need oemiv to execute before. and possibly, if wicket filter never calls chain.dofilter it will never execute. -igor On Sat, Mar 29, 2008 at 7:02 PM, James Carman <[EMAI

Re: Lazy load exception wicket and hibernate

2008-03-29 Thread James Carman
On Sat, Mar 29, 2008 at 7:15 AM, lars vonk <[EMAIL PROTECTED]> wrote: > What is the order of the filters you defined in your filter-mapping element > in the web.xml. IIRC you should put the OpenEntityManagerInViewFilter > definition in the filter-mapping after the WicketFilter otherwise the > Wi

Re: Lazy load exception wicket and hibernate

2008-03-29 Thread Igor Vaynberg
t; > > > > > > >return new CompoundPropertyModel(new > > > > ListOwnerModel((ListOwner)object)); > > > > } > > > > > > > >@Override > > > >

Re: Lazy load exception wicket and hibernate

2008-03-29 Thread lars vonk
public int size() { > > >return testService.getListOwners().size(); > > >} > > >} > > > > > > class ListOwnerModel extends LoadableDetachableModel { > > >priv

Re: Lazy load exception wicket and hibernate

2008-03-29 Thread Igor Vaynberg
LoadableDetachableModel { > >private static final long serialVersionUID = 1L; > >private Integer id; > > > >public ListOwnerModel(ListOwner listOwner) { > > this.id = listOwner.getId(); > >

Re: Lazy load exception wicket and hibernate

2008-03-29 Thread lars vonk
s.id = listOwner.getId(); >} > >@Override >protected Object load() { >return testService.getListOwner(id); > } >} > } > > > > Mathias P.W Nilsson wrote: > > > > I'm

Re: Lazy load exception wicket and hibernate

2008-03-28 Thread cjlyth
when trying to add a dataview to my > wicket page I get the org.hibernate.LazyInitializationException > -- View this message in context: http://www.nabble.com/Lazy-load-exception-wicket-and-hibernate-tp15976668p16361116.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread James Carman
Show us some code, please. How are you setting things up? On 3/11/08, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Not exactly sure what you mean here since this is my first time trying wicket > and hibernate, spring. > > I have spring annoted daos that I use myDao

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread Mathias P.W Nilsson
Not exactly sure what you mean here since this is my first time trying wicket and hibernate, spring. I have spring annoted daos that I use ex. myDao().getList(); returns a list that has lazy object references. When I try to evoke a method on the lazy object I get the exception. I have solved i

Re: Lazy load exception wicket and hibernate

2008-03-11 Thread James Carman
On 3/11/08, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Hi! > > I'm using wicket with hibernate and spring. In my web.xml I have > OpenEntityManagerInViewFilter. But when trying to add a dataview to my > wicket page I get the org.hibernate.LazyInitializationException: could not > initia

Lazy load exception wicket and hibernate

2008-03-11 Thread Mathias P.W Nilsson
ssage in context: http://www.nabble.com/Lazy-load-exception-wicket-and-hibernate-tp15976668p15976668.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit