Solving Null Entity Problems with JPA Data Controls in PS1

Turns out there is a slight bug that seems to prevent you from doing interactions (update, scroll) with the results of a JPA named query that you dropped on a page using ADF Binding.

People are running into this when they are doing the EJB tutorial on OTN for example.
The problem is that the way the binding is set up for you automatically doesn't allow you to actually access the iterator set of records to do follow up operations.

When I last checked this was solved in the next release of JDeveloper, but in the meantime there is a quick simple way to resolve the issue by changing the refresh condition of the oiterator in your page binding.

Here is a little demo that shows the problem and the solution:

Comments:

Great video, that was exactly what I was looking for

Posted by Fabio on March 15, 2010 at 07:57 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

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