invalid name pattern when trying to pass custom oracle type object mapping

后端 未结 3 1156
误落风尘
误落风尘 2020-12-17 04:22

Java spring custom Oracle type as a param and getting following error.

I don\'t understand what does that mean by invalid name pattern ?

Any help app

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 04:48

    The oracle user id, you use for your app, doesn't have access to the type MY_SCHEMA.mkt_list_tab.

    Also make sure the below points.

    1) It has to be ALL caps like MY_SCHEMA.MKT_LIST_TAB in your descriptor call.
    2) If you don't use the schema name in code, and your app id is associated with a different schema, better to create a PUBLIC SYNONYM to the type(both the parent and child), and grant EXECUTE privilege to your app id, else, use the schema name in the code.(privileges still needed to be given)

提交回复
热议问题