Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jdeveloper 12.2.1.4 Don't returned bind variable value in Applcation Module

Perevertkin M AFeb 13 2020 — edited Feb 14 2020

From Jdeveloper 12.2.1.4 Don't returned bind variable value in Applcation Module.

Descriprion:

1. Create View Object based on query: select * from dual where dummy = :dummVar

2. Create bind variable dummvar in query tab

pastedImage_1.png

3. Add ViewObject to Application Module

4. Open view object instance and set value for bind variable

pastedImage_2.png

Generated bcs file with next code:

@AccessorParameterExpression(accessorName="DualVO1", name="dummVar")

def dummVar_DualVO1_BindVariable_BoundParameter()

{

"test"

}

5. Run instance in Application module.

pastedImage_3.png

Result: value is empty.

PS: In jdev 12.2.1.3 it was worked properly.

In features wrote only:https://docs.oracle.com/en/middleware/developer-tools/adf/12.2.1.4/develop/whats-new-this-guide-release-12c-12.2.1.4.0.h…

Removed sections that described obsolete use cases for bind variables. The generation of bind variables on custom view object classes is no longer an option in the Select Java Options dialog that you open from the Java page of the view object overview editor in JDeveloper. The recommended way to allow UI fields to update bind parameter values is through view criteria

Comments
Post Details
Added on Feb 13 2020
2 comments
547 views