Mybatis how to cross the library query

Home / Uncategorized / Mybatis how to cross the library query

I encountered a mybatis cross-library problem, I would like to know how mybatis cross-library query? Such as the demand is wxt_demo library user table and wxt_xot the result table to uid as a condition to do a joint query, sql as follows:

But found that the sql mysql client can run normally, but in mybatis will wxt_demo.user as a table as a whole, resulting in:

MySQLSyntaxErrorException: Table ‘com_wxt_demo.user’ does not exist abnormal information, hope that the great god given pointing.


Read more

Leave a Reply

Your email address will not be published. Required fields are marked *