Skip to Content
author's profile photo Former Member
Former Member

Strange problem with MI 2.1 SP03 Persistence

I am coding an application that makes use of persistence.

I want to persist two different object types, just like Car and License in the Persistence Simple example. In contrast to the example the two classes have no association, they stand without a link.

I have implemented a PackagePersistenceMaster describing both classes' structure. When I try to do something persistently with myClassA, it works. But the other one does not work.

I get a PersistenceException with message "No ClassDescriptor registered for classtype myClassB" error.

The description is syntactically correct and no other exceptions (like DescriptorException or sth like that).

This is illogical, because myClassA with the syntactically similar description works perfect. Anybody got this error and has a hint for me?

Best regards,

Tim

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2005 at 05:01 PM

    Solved it - was a bad copy/paste result (...ashes on me...)

    Regards, Tim

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.