永发信息网

Ibatis 调用 db2 function 可以不指定schema吗?

答案:2  悬赏:20  手机版
解决时间 2021-03-18 07:26
  • 提问者网友:临风不自傲
  • 2021-03-18 02:20
数据库连接db2配置中已经指定了schema,
在ibatis 调用 db2 function可以不指定schema吗?
现在不"schema名"."function名"这样写,就报错。
求大神指导
最佳答案
  • 五星知识达人网友:十年萤火照君眠
  • 2021-03-18 03:52
帮一下包试试?db2terminatedb2CONNECTTOdbnameuserUSERIDusingPASSWORDdb2BINDpath\db2schema.bndBLOCKINGALLGRANTPUBLICSQLERRORCONTINUEdb2BINDpath\@db2ubind.lstBLOCKINGALLGRANTPUBLICACTIONADDdb2BINDpath\@db2cli.lstBLOCKINGALLGRANTPUBLICACTIONADDdb2terminatewheredbnamerepresentsthenameofadatabasetowhichthefilesshouldbebound,andwherepathisthefullpathnameofthedirectorywherethebindfilesarelocated,suchasINSTHOME\sqllib\bndwhereINSTHOMErepresentsthehomedirectoryoftheDB2instance.db2ubind.lstanddb2cli.lstcontainlistsofrequiredbindfilesusedbyDB2databaseproducts.PackagesthatarealreadyboundwillreturnanSQL0719Nerror.Thisisexpected.
全部回答
  • 1楼网友:空山清雨
  • 2021-03-18 04:04
或许可以。
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯