Re: struts, hibernate, datasources .... so lost

2003-12-19 Thread David Erickson
set it to lazy loading, meaning when > you > > load team 1, the players arent loaded until you call, getPlayers(), > then > > at > > that point hibernate is still bound to your variable and will load > that > > from > > the db assuming the session you initial

RE: struts, hibernate, datasources .... so lost

2003-12-19 Thread Rich Garabedian
rectory, copy new war file to webapp directory, and restart. Does the same thing happen to anyone else? > -Original Message- > From: David Erickson [mailto:[EMAIL PROTECTED] > Sent: Friday, December 19, 2003 1:31 PM > To: [EMAIL PROTECTED] > Subject: Re: struts, hibernate

Re: struts, hibernate, datasources .... so lost

2003-12-19 Thread David Erickson
ickson'" <[EMAIL PROTECTED]> Sent: Friday, December 19, 2003 11:12 AM Subject: RE: struts, hibernate, datasources so lost > David, > > David, thanks so much for your note. > > I guess I'll try having Hibernate setup the datasource if I can't get it &

Re: struts, hibernate, datasources .... so lost

2003-12-19 Thread David Erickson
Rich I know how you feel. I just dealt with nearly the same problems the other day. I for the life of me could not get Hibernate to bind to my JNDI datasource.. so I bailed on that and in my hibernate.cfg.xml I just had it setup the datasource and manage it from there: net.sf.hibernate.diale