Re: Lazy loader throwing NPE

2005-10-19 Thread Geoff Chiang
Sorry Reuben, but I'm not quite clear on how you're loading your SqlMaps classes within Spring. The reason that I'm wondering about your Spring configuration is because I came across the same issue a while back and fixed it by explicitly setting the dataSource property of Spring's SqlMapClientFact

Re: Lazy loader throwing NPE

2005-10-19 Thread reuben
Sure. I can't do this via the BeanFactory (this is a standalone jar) so I've been doing it in code as either one of the following to wrap the DAO in transactions: Configuration 1: Code:             Properties p = new Properties();             p.setProperty("cr

Re: Lazy loader throwing NPE

2005-10-19 Thread Geoff Chiang
Can you post your Spring configuration for the relevant beans? Geoff --- [EMAIL PROTECTED] wrote: > If I turn lazy loading on, it is throwing an NPE from one specific > sqlmaps > query. The other queries & inserts work correctly. > > When I posted this problem last week, I misdirected attention

Lazy loader throwing NPE

2005-10-18 Thread reubenf
If I turn lazy loading on, it is throwing an NPE from one specific sqlmaps query. The other queries & inserts work correctly. When I posted this problem last week, I misdirected attention by theorizing that this had something to do with the fact that I'm using spring transactions; I'm pretty sure