Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iBATIS appends String to table name

 
Alexey Gor
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

I am having a peculiar problem with iBATIS. It appends a string (I assume schema name) to my table.

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

Gives error: table not found "alfresco.projects"

Why would it append "alfresco." to my table name? I configure iBATIS using Spring and import alfresco's context.xml. Somewhere in there it says something that makes iBATIS add "alfresco." to my table name.

Any ideas what it could be? Thanks!
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what does your ibatis config look like?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic