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.再點下一步就不會有問題啦