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.再点下一步就不会有问题啦