• 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?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!