jdbc查询st_geometry类型的数据时抛出YAS-00101 cannot allocate 0 bytes for anlHeapMalloc异常

首页    知识库    常见问题    jdbc查询st_geometry类型的数据时抛出YAS-00101 cannot allocate 0 bytes for anlHeapMalloc异常

问题现象

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

IMG_256

 

问题的风险及影响

影响客户的正常业务运行

 

问题影响的版本

所有的YashanDB版本

 

问题发生原因

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

解决方法及规避方式

为数据库用户赋权:

grant execute any type to <username>;

浏览量:0