
# 常见问题
1. 现象：绑定自定义类型入参和注册出参后，调用相应的存储过程出现如下异常：
   ```
   ERROR: Function public.test_proc(compfoo, public.compfoo_table, compfoo, public.compfoo_table) does not exist.
     ???No function matches the given name and argument types. You might need to add explicit type casts.
   ```
   原因：出参和入参绑定的自定义类型和存储过程中设定的自定义类型不一致。
   处理方法：出参入参绑定的自定义类型要和存储过程设定的一致。
   
2. 现象：绑定自定义类型入参和注册出参后，调用相应的存储过程出现如下异常：
   ```
   java.lang.RuntimeException: org.postgresql.util.PSQLException: ?? CallableStatement ????????????? java.sql.Types=1111 ?? 1?????????? java.sql.Types=2002?
   ```
   原因：使用pgArray兼容的场景下，设置了参数enableGaussArrayAndStruct=true，无法同时兼容pgArray和GaussArray。
   处理方法：如果使用pgArray兼容场景，检查删除参数enableGaussArrayAndStruct=true。
   
 
