If you happen to get the following error while migrating from Jdeveloper 10g to 11g

<p>oracle.jbo.InvalidAttrKindException: JBO-27034: Invalid kind for attribute &lt;a href=&quot;http://oracle.jbo.invalidattrkindexception/&quot;&gt;&lt;Attribute&lt;/a&gt; Name&gt; from the corresponding superclass attribute.<br />
at oracle.jbo.server.AttributeDefImpl.setBaseDefObject(<br />
at oracle.jbo.server.ViewAttributeDefImpl.setBaseDefObject(<br />
at oracle.jbo.server.ViewDefImpl.resolveAttrs(<br />
at oracle.jbo.server.ViewDefImpl.resolveDefInternal(<br />
at oracle.jbo.server.ViewDefImpl.loadFromXML(<br />
at oracle.jbo.server.ViewDefImpl.loadFromXML(<br />
at oracle.jbo.server.ViewDefImpl.loadFromXML(<br />
at oracle.jbo.server.MetaObjectManager.loadFromXML(<br />
at<br />
at<br />
at<br />
at<br />
at oracle.jbo.server.MetaObjectManager.findMetaObject(<br />
at oracle.jbo.server.ViewDefImpl.findDefObject(<br />
at oracle.jbo.server.ViewLinkDefImpl.resolveReferences(<br />
at oracle.jbo.server.ViewLinkDefImpl.findDefObject(<br />
at oracle.jbo.server.ViewDefImpl.resolveViewLinkAccessorAttribute(<br />
at oracle.jbo.server.ViewDefImpl.processViewLinkAccessors(<br />
at oracle.jbo.server.ViewDefImpl.processAccessors(<br />
at oracle.jbo.server.ViewDefImpl.getAttributeDefImpls(<br />
at oracle.jbo.server.ViewObjectImpl.initViewAttributeDefImpls(<br />
at oracle.jbo.server.ViewObjectImpl.getAttributeCount(<br />
at oracle.jbo.server.ViewRowSetImpl.ensureStorage(<br />
at oracle.jbo.server.ViewRowSetImpl.execute(<br />
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(<br />
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(<br />
at oracle.jbo.server.ViewRowSetImpl.executeQuery(<br />
at oracle.jbo.server.ViewObjectImpl.executeQuery(</p>

means there is a problem in your data model

  • one of your View Objects extends a superclass View Object,
  • you extend one of the View Object attributes,
  • you define a different type for the extended attribute in the Base and the Superclass VO, ex. Persistent versus Calculated/Transient kind

One thought on “oracle.jbo.InvalidAttrKindException

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s