问题描述
案例-I
-------
1)我使用emp数据集来解释问题。我创建另一个测试表emp_test作为emp的选择* ,其中1=2 ;
2)使用emp_Test创建交互式网格。
3)我的第一个专栏是emmpno ,这是我的主要关键
4)我创造了动态的变化的变化。
动作类型: set value
集合类型: sql查询;
SQL语句:从emp中选择enname、job、mgr、Sal、com、部门编号,其中empno = : empno
要提交的项目: EMPNO
受影响的元素: ENAME、作业、MGR、SAL、COM、DEPTNO (选择类型列)
当运行并导航到第一列empno时,会出现以下错误: Ajax调用返回服务器错误ORA-01722 :设置值的数字无效。
从调试页获取:错误: Ajax调用返回服务器错误ORA-01722 :设置值的数字无效。
- ora_sqlerrm : ORA-01722 :无效号码
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第1454行
ORA-06512 :在“APEX_200200.WWV_Flow_DYNAMIC_EXEC”,行1181
ORA-06512 : "SYS.DBMS_SYS_SQL" ,第2120行
ORA-06512 :“SYS.WWV_DBMS_SQL_APEX_200200”,行679
ORA-06512 :在“APEX_200200.WWV_Flow_DYNAMIC_EXEC”,行1176
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第2400行
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第1442行
- error_backtrace: ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第1454行
ORA-06512 :在“APEX_200200.WWV_Flow_DYNAMIC_EXEC”,行1181
ORA-06512 : "SYS.DBMS_SYS_SQL" ,第2120行
ORA-06512 :“SYS.WWV_DBMS_SQL_APEX_200200”,行679
ORA-06512 :在“APEX_200200.WWV_Flow_DYNAMIC_EXEC”,行1176
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第2400行
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第1442行
ORA-06512 :第157行,“APEX_200200.WWV_Flow_DYNAMIC_Action_Native”
如果我更改EMPNO属性并取消设置主键,则它工作正常。但是在主键的情况下,只导航到第一列它给我错误。
案例-2
---------
如果我设置了主键的两列(复合主键) ,那么设置值操作给我错误和值,我只在一个文件中得到。
IT给出错误:错误: Ajax调用返回服务器错误ORA-01722 :设置值的数字无效。
更多: -交互式网格中的用户要求使用制表符导航到下一列,但希望使用Enter键导航。如何更改密钥映射
我生产样品应用程序
工作区名称:dax_apex
userid:dax.apex@gmail.com
密码: ************
应用程序87222
测试-IG
案例-第1页上的1
案例2第2页
-------
1)我使用emp数据集来解释问题。我创建另一个测试表emp_test作为emp的选择* ,其中1=2 ;
2)使用emp_Test创建交互式网格。
3)我的第一个专栏是emmpno ,这是我的主要关键
4)我创造了动态的变化的变化。
动作类型: set value
集合类型: sql查询;
SQL语句:从emp中选择enname、job、mgr、Sal、com、部门编号,其中empno = : empno
要提交的项目: EMPNO
受影响的元素: ENAME、作业、MGR、SAL、COM、DEPTNO (选择类型列)
当运行并导航到第一列empno时,会出现以下错误: Ajax调用返回服务器错误ORA-01722 :设置值的数字无效。
从调试页获取:错误: Ajax调用返回服务器错误ORA-01722 :设置值的数字无效。
- ora_sqlerrm : ORA-01722 :无效号码
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第1454行
ORA-06512 :在“APEX_200200.WWV_Flow_DYNAMIC_EXEC”,行1181
ORA-06512 : "SYS.DBMS_SYS_SQL" ,第2120行
ORA-06512 :“SYS.WWV_DBMS_SQL_APEX_200200”,行679
ORA-06512 :在“APEX_200200.WWV_Flow_DYNAMIC_EXEC”,行1176
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第2400行
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第1442行
- error_backtrace: ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第1454行
ORA-06512 :在“APEX_200200.WWV_Flow_DYNAMIC_EXEC”,行1181
ORA-06512 : "SYS.DBMS_SYS_SQL" ,第2120行
ORA-06512 :“SYS.WWV_DBMS_SQL_APEX_200200”,行679
ORA-06512 :在“APEX_200200.WWV_Flow_DYNAMIC_EXEC”,行1176
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第2400行
ORA-06512 :在“APEX_200200.WWV_Flow_PLUIN_UTIL”,第1442行
ORA-06512 :第157行,“APEX_200200.WWV_Flow_DYNAMIC_Action_Native”
如果我更改EMPNO属性并取消设置主键,则它工作正常。但是在主键的情况下,只导航到第一列它给我错误。
案例-2
---------
如果我设置了主键的两列(复合主键) ,那么设置值操作给我错误和值,我只在一个文件中得到。
IT给出错误:错误: Ajax调用返回服务器错误ORA-01722 :设置值的数字无效。
更多: -交互式网格中的用户要求使用制表符导航到下一列,但希望使用Enter键导航。如何更改密钥映射
我生产样品应用程序
工作区名称:dax_apex
userid:dax.apex@gmail.com
密码: ************
应用程序87222
测试-IG
案例-第1页上的1
案例2第2页
专家解答
我们最好的帮助方法是在acl.oracle.com上创建这个应用程序,然后给我们发送一些工作区凭据,以便我们可以在那里测试它。
请回电回答我们的问题,告诉我们这些细节。
=================
我从APEX开发公司约翰·斯奈德斯那里得到了这个信息,他是IG的老板。希望这个能帮上忙
Interactive grid does not support editing primary key columns. The desire to do so is captured in this bug 25593757 - INTERACTIVE GRID CAN'T CHANGE VALUE OF AN EDITABLE PRIMARY KEY COLUMN
I believe the best recommendation is to use ROWID for the primary key column. I believe this is the same for their case 2 composite key.
Another thing may be happening here is that the client side model uses temporary key values for primary key columns on inserted records and these keys are strings that start with the letter “t” by default. This could be the cause of the “invalid number” error. Again using ROWID should solve the issue.
In general using a dynamic action to set values of other columns when a column value changes is fine even using ajax to get values from the server. I try to design an app to avoid extra ajax requests on per cell edits when possible.
It is not possible to change the behavior of enter key so that it moves to the next column in the same row. We feel that the behavior of tab and enter in the grid while editing is customary and expected behavior and it is consistent with the way spread sheets work as well. I have seen one other request to have enter move to the next column. If there is evidence or motivation for this navigation pattern I would like to know what it is to determine if the grid widget should have a mode setting to control tab/enter key navigation.
请回电回答我们的问题,告诉我们这些细节。
=================
我从APEX开发公司约翰·斯奈德斯那里得到了这个信息,他是IG的老板。希望这个能帮上忙
Interactive grid does not support editing primary key columns. The desire to do so is captured in this bug 25593757 - INTERACTIVE GRID CAN'T CHANGE VALUE OF AN EDITABLE PRIMARY KEY COLUMN
I believe the best recommendation is to use ROWID for the primary key column. I believe this is the same for their case 2 composite key.
Another thing may be happening here is that the client side model uses temporary key values for primary key columns on inserted records and these keys are strings that start with the letter “t” by default. This could be the cause of the “invalid number” error. Again using ROWID should solve the issue.
In general using a dynamic action to set values of other columns when a column value changes is fine even using ajax to get values from the server. I try to design an app to avoid extra ajax requests on per cell edits when possible.
It is not possible to change the behavior of enter key so that it moves to the next column in the same row. We feel that the behavior of tab and enter in the grid while editing is customary and expected behavior and it is consistent with the way spread sheets work as well. I have seen one other request to have enter move to the next column. If there is evidence or motivation for this navigation pattern I would like to know what it is to determine if the grid widget should have a mode setting to control tab/enter key navigation.
文章转载自askTom,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




