Re: Reload SqlMap xml file

2005-11-09 Thread Geoff Chiang
I have an administration page in my site that allows me to reload the whole Spring application context at runtime. I keep it open in another tab in my browser if I need it. The relevant code looks like this: AbstractApplicationContext applicationContext = (AbstractApplicationContext) WebApplicat

RE: SAXParseException... Error parsing XPath '/sqlMapConfig/sqlMap' -- any ideas?

2005-10-20 Thread Geoff Chiang
select * from users where screenname = #value# > > > > select * from users where emailaddress = #value# > > >parameterClass="java.util.HashMap"> > select * from users where emailaddress = #em

RE: SAXParseException... Error parsing XPath '/sqlMapConfig/sqlMap' -- any ideas?

2005-10-20 Thread Geoff Chiang
The stack trace suggests that the problem is in your com/tabarca/dao/ibatis/maps/User.xml file, not the sql-map-config.xml file. Can you post that one instead? Geoff --- Zack Chandler <[EMAIL PROTECTED]> wrote: > Daniel, > Thanks for the idea on the DOCTYPE change. Unfortunately it didn

Re: Lazy loader throwing NPE

2005-10-19 Thread Geoff Chiang
ctionAttributeSourceAdvisor(ti)); > return (DeploymentDao) pf.getProxy(); > > > > However, why do you think this has anything to do with the Spring > transactions? From the Ibatis source code, it seems that calling: > > SqlMapClient smc = Sq

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