【YashanDB知识库】jdbc查询st_geometry类型的数据时抛出YAS-00101 cannot allocate 0 bytes for anlH

69 阅读1分钟

本文内容来自YashanDB官网,原文内容请见 www.yashandb.com/newsinfo/78…

问题现象

某客户的业务在通过YashanDB jdbc驱动查询含有st_geometry列的数据时,报如下异常:YAS-00101 cannot allocate 0 bytes for anlHeapMalloc

问题的风险及影响

影响客户的正常业务运行

问题影响的版本

所有的YashanDB版本

问题发生原因

数据库用户没有对st_geometry类型的execute权限。

解决方法及规避方式

为数据库用户赋权:

grant execute any type to ;