ADF BC: Inspecting View Row Data in JDeveloper 10.1.3 Debugger

When you use the JDeveloper 10.1.3 Debugger you get a Data tab where
you can see the values of local variables at the breakpoint. If one of
the local variables is a View Row (a ViewRowImpl class), this blog
describes how to inspect the underlying data of the row without having
to code getters for each attribute. Assuming that the attributes are
mapped to Entity attributes, you can open the ViewRowImpl instance, and
drill down using the following steps:


  • mInner

  • mRows

  • [0] (assuming you want to see the data of the first mapped Entity, otherwise you can choose [1], [2], etc)

  • mData

  • mStorage

Inspect a ViewRowImpl in JDeveloper debug mode: Inspect a ViewRowImpl in JDeveloper debug mode



Now you see the values of all underlying entity attributes in the [0], [1], [2], etc under mStorage.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Java EE Consultants - JHeadstart, ADF, JSF

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today