Topic
  • 5 replies
  • Latest Post - ‏2012-06-27T15:26:45Z by SystemAdmin
SystemAdmin
SystemAdmin
938 Posts

Pinned topic Extending NativeKey object

‏2012-06-26T18:47:22Z | mdm-migration
In WCC we had extended NativeKey table. Now we are migrating to MDM 9.02 and trying to regenerate all extensions I am not able to find anything that I can use to Extend nativeKey from workbench the closest I can see something to native key is ContractAdminSysKey and when I select that I obviously get error. Has anyone extended NativeKey, if so How?

Thanks,
Vikas
  • prashanta.nc
    prashanta.nc
    99 Posts

    Re: Extending NativeKey object

    ‏2012-06-26T18:59:35Z  
    Hi Vikas,

    ContractAdminSysKey is the right option to choose if you want to extend NATIVEKEY table.
    What error do you get when you generate code?

    Thanks
    ~PC

    Twitter: @MDMGeek
    Blog: www.mdmgeek.com
    LinkedIn: http://www.linkedin.com/in/prashantanc
  • SystemAdmin
    SystemAdmin
    938 Posts

    Re: Extending NativeKey object

    ‏2012-06-26T19:30:34Z  
    Hi Vikas,

    ContractAdminSysKey is the right option to choose if you want to extend NATIVEKEY table.
    What error do you get when you generate code?

    Thanks
    ~PC

    Twitter: @MDMGeek
    Blog: www.mdmgeek.com
    LinkedIn: http://www.linkedin.com/in/prashantanc
    Hi there..

    When I select that and try to generate the code I get the below error

    Errors occurred during execution
    Errors occurred during execution
    Error executing tag handler: java.lang.NullPointerException
    java.lang.NullPointerException
    Error executing tag handler: java.lang.NullPointerException
    java.lang.NullPointerException
    Base InquiryData class not found for extension XNativeKey.
    Base InquiryData class not found for extension XNativeKey.
    java.lang.ClassNotFoundException: com.dwl.tcrm.financial.bobj.query.ContractAdminSysKeyBObjQuery
    Error executing tag handler: java.lang.NullPointerException
    java.lang.NullPointerException
  • SystemAdmin
    SystemAdmin
    938 Posts

    Re: Extending NativeKey object

    ‏2012-06-27T09:58:48Z  
    Hi there..

    When I select that and try to generate the code I get the below error

    Errors occurred during execution
    Errors occurred during execution
    Error executing tag handler: java.lang.NullPointerException
    java.lang.NullPointerException
    Error executing tag handler: java.lang.NullPointerException
    java.lang.NullPointerException
    Base InquiryData class not found for extension XNativeKey.
    Base InquiryData class not found for extension XNativeKey.
    java.lang.ClassNotFoundException: com.dwl.tcrm.financial.bobj.query.ContractAdminSysKeyBObjQuery
    Error executing tag handler: java.lang.NullPointerException
    java.lang.NullPointerException
    Hi,

    A NullPointerException is a bug. Please raise a PMR so we can get this fixed for you.

    Thanks, Catherine.
  • SystemAdmin
    SystemAdmin
    938 Posts

    Re: Extending NativeKey object

    ‏2012-06-27T15:16:37Z  
    Hi,

    A NullPointerException is a bug. Please raise a PMR so we can get this fixed for you.

    Thanks, Catherine.
    Done opened a PMR with IBM.
    I think more than null pointer it is class not found issue. I could not find any reference to ContractAdminSysKeyBObjQuery anywhere.
  • SystemAdmin
    SystemAdmin
    938 Posts

    Re: Extending NativeKey object

    ‏2012-06-27T15:26:45Z  
    Done opened a PMR with IBM.
    I think more than null pointer it is class not found issue. I could not find any reference to ContractAdminSysKeyBObjQuery anywhere.
    Hi,

    The issue is that we guessed the wrong name for the BObjQuery class - there is one, it is just called something different.

    Thanks, Catherine.