|
由于业务关系,把mysql的表proj 从 库x5sys 迁移到 库business中
但是代码还是出错:
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执
行sql: SELECT Einvoice.fID AS Einvoice, Einvoice.FBXR AS fBXR, Einvoice.FFPH AS
fFPH, Einvoice.FGLXM AS fGLXM, Einvoice.VERSION AS version FROM EINVOICE Einvoi
ce, binds: []出错
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.ksql.KSQLUtils.execSqlSelect(Unknown Source)
... 32 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'x5s
ys.einvoice' doesn't exist
1. 在context已经添加了business数据源,
2. db.config 也做了修改
<?xml version="1.0" encoding="utf-8" standalone="no"?><model xmlns="http://www.justep.com/model">
<config name="dataSource" value="java:comp/env/business"/>
</model>
为啥还是会报错,是还有什么地方要修改么?
|
|