Monthly Archives May 2008

Sorry …


Website and PC cleanup…

Website
Two colleagues mentioned my website was looking a bit messy on the same day. The main culprit being the left-hand toolbar, which had loads of links and search tools. When you live with something for so long it can be difficult to see the wood for the trees, but when I took an objective look [...]

Have fun with Euro 2008 and bet


Syncing iCal feeds with my iPhone: Not

Here’s something I need to do, but I don’t know how: sync an iCal feed with the calendar application on my iPhone, without a Mac, and without upgrading Outlook 2003 to Outlook 2007. Here’s the whole story.First, I travel. Sometimes, a lot. And I have …

Friending in Real Life is Easier

I wanted to share funny story from Friday. After WebVisions, I headed over to Beer and Blog, a weekly Friday gathering of local bloggers at a local brew pub here in Portland. The brainchild of Justin Kistner, these working sessions are as much social gatherings as they are instructional workshops, and that’s how we like [...]

Learn EDB: Basic Encryption

LewisC’s An Expert’s Guide To Oracle Technology

An ITToolbox user recently asked a question on the EnterpriseDB discussion group, Oracle equilant UTL_I18N.STRING_TO_RAW IN ENTERPRISEDB.

Basic

JBO-25030: Failed to find or invalidate owning entity

Steve Muench has blogged about this error before. In this example we’ll talk about 2 settings in an ADF BC composition association that will cause the same error, and an alternative explanation of why the error occurs which some might find useful.

Consider an ADF BC project with a master-detail relationship between two EOs Events and Bookings. The relationship is modelled by an EO Association. The EO Association has either the Composition Association – Lock Top-Level Container property set, or the Composition Association – Update Top-Level History Columns property set (or both). For your reference these are set within the EO Association editor under the Association Properties page.


In addition consider two VOs to represent the EOs, namely EventsView and BookingsView. Within the parent Application Module these are exposed as follows:


Note how the BookingView is both exposed as a detail to the EventsView1 called BookingsView2, and as a parent in its own right called BookingsView1.

Now if you open the Business Components Browser, and create a record in BookingsView2 which is the detail of EventsView1, you’ll have no issue. However if you create a record in BookingsView1 which is not a detail VO, you’ll receive the error message:

(oracle.jbo.InvalidOwnerException) JBO-25030: Failed to find or invalidate owning entity: detail entity <entity name>, row key null.


The reason you receive this error is because of the Association properties you set above. Specifically you’ve defined BookingsView as a child within a Composition Association. A Composition Association is an EO Association which says the child VO rows cannot exist outside the context of the parent, in this case the EventsView1 parent row. And in addition by either setting the Lock Top-Level Container or Update Top-Level History Columns options, you’re forcing ADF to go search for the parent VO for the current child VO to either Lock the Top-Level VO, or Update the Top-Level VO’s history columns.

So when you create records in BookingsView1 you get an error because it has no parent VO, but if you create records in BookingsView2 which is a child to EventsView, you don’t get the error because the parent EventsView VO exists.

Note this issue has been replicated in JDev 10.1.3 and JDev 11g TP4.

If you’re interested on finding more help on JDeveloper errors, visit the wiki.oracle.com Understanding ADF Error Codes page.

Rittman Mead Sponsors UKOUG Competition

It’s the UK Oracle User Group’s 25th Anniversary this year, and throughout this year they are running a series of competitions that any member can enter. Rittman Mead Consulting are proud to be sponsoring this months’ competition and have put up a Nintendo Wii and a Wii Fit game as the prize, and any member [...]

My ODTUG 2008 Schedule

LewisC’s An Expert’s Guide To Oracle Technology

ODTUG Kaleidoscope 2008 is in my favorite city, New Orleans, from June 15-19. I won’t be getting there until either late Saturday or some time Sunday. Once again, I’m driving with my family. Once I’m there, I have plenty of extra-curricular activities planned (like visiting my mom, going to the aquarium and zoo, taking the boys on the st

"Demo It To Oracle" (DITO) - CamStudio Help