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!

Trying to use a JDeveloper Tutorial in OEPE

988080Jan 30 2013 — edited Jan 31 2013
Hey guys,

I'm trying to develop this example: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/59-table-filter-by-data-range-176653.pdf in OEPE with a few variations. Since I don't want to use databases I dynamically create a table via a managed bean. That table has 4 columns but only the first one named "Id" is relevant to my problem. The java classes I've created so far are:
"TableRow": Represents a single row containing 4 columns
"TableController": This class is my managed bean for the table itself. It dynamically creates the table content und has 1 getter and 1 setter method for the list of TableRow's created to access them later in the .jspx page.
"QueryEventListener": This class is also a managed bean and should use the filter described in the tutorial above in its "onQuery(QueryEvent event)" method.

I've even created 3 classes that extend "ViewObject", "ViewObjectImpl" and "ViewUsageImpl" as in the JDeveloper example but I think I must have missed a few lines in a .xml file since my onQuery-Method is called but the "MethodExpression.invoke"-method throws a NullPointerEception. (All parameters of the invoke method are != null).

Did anyone of you try to use this tutorial in OEPE and how did you make it work?

Any help is appreciated
This post has been answered by Raghusrinivasan-Oracle on Jan 30 2013
Jump to Answer

Comments

Solomon Yakobson
Answer

Merge updates/deletes matching rows and/or inserts non-matching rows. When matched means we took source row (source is defined by USING clause) and found a matching row in target (defined by INTO clause). In such case we can update/delete target row but not insert like in your example. When not matched means we took source row (source is defined by USING clause) but didn't find a matching row in target (defined by INTO clause). So what's here to delete from target?
SY.

Marked as Answer by User_8GUKB · May 28 2022
User_8GUKB

thank you for your clarity

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 28 2013
Added on Jan 30 2013
3 comments
458 views