1问题描述
1.ADF创建Business Components from Tables 时Query-based View Objects时点不了下一步,界面如下:
到了这个界面就无法点下一步了,也没报错提示
2.报错消息
上一步点finish出现如新错误
Unable to initialize Unable to completet the wizard action.
Error occurred in pageQuerey-based View Objects
must call setDescriptor before get/setFilter
Exception:java.lang.IllegalStateException
3.直接创建EO提示如下:
2.解决方法
1.官方描述:说明了做ADF所需的条件,我们看到他说:需要数据库权限,包括SCHEME权限
What Do You Need
To complete this tutorial you must:
(1): Have access to or have installed Oracle JDeveloper 12.2.1. You can download it from Oracle Technology Network. Install it into a directory of your choice, which, in this tutorial is referred to as JDEVELOPER_HOME.
(2): Have access to, or have installed an Oracle database, including the HR schema. (Note that the schema may be locked for security purposes. If this is the case you will need to log in to SQLPlus using the system user, and unlock it). The image below shows you an example of the page you’ll create..
2.所以我们登陆管理员账户给当前用户授权SCHEME,如何授权就自行百度了,这种都有说,另外一种简便的方法就是,直接用管理员账户建立与数据库的连接,在创建EO时选择对应的SCHEME
在如图位置选择SHEME就OK了
3.再点下一步就不会有问题啦

本文解决了ADF创建BusinessComponents过程中遇到的问题,包括无法点击下一步、创建EO时的权限不足等问题。通过授予用户SCHEME权限或者使用管理员账户创建数据库连接来解决。

被折叠的 条评论
为什么被折叠?



