AnsweredAssumed Answered

jcr-context.xml screwes up iBATIS somehow...

Question asked by alexeyg on Feb 14, 2006
Latest reply on Feb 15, 2006 by alexeyg
I am trying to use iBATIS while also using JCR.  I also use Spring.  Spring is configured with iBATIS. 

For some reason if I include jcr-context.xml in contextConfigLocation all my iBATIS queries get messed up.  It adds "alfresco." to the Table and I get SQL exception.

so a simple query like:

<statement id="getProjectsAsMap" resultClass="java.util.HashMap">
select ID from Projects;

throws "cannot find table alfresco.projects" SQL Exception.

If I remove jcr-context.xml from web.xml everything works (it looks for table Projects).  I'll post here if I find more info.  thanks!