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

Changes Persistence API SP1->SP2


I'm currently porting a persistence SP1 application to persistence SP2.

SP1 API was pretty clear and easy to understand.

SP2 API has deprecated loads of methods and introduced incompatibilities but neither new examples nor updated docs are available.

Will there be an updated documentation for the persistence layer?

What is the PersistedObject2 used for?

How should it be handled in Entity2? How is TransactionManager/2 to be used? Start Transaction in TransactionManager and Commit it in TransactionManager2?

Can I ignore all those "2" objects?

Why do circular linked objects not work anymore:

Customer has linked list of salesorders, salesorder has link to Customer object.

Loading the customer as DEPENDENT or COMPLETE, leads to recursive loading of customer/salesorder, recursion is stopped by a "OutOfStack"-Exception.

Questions over questions. Anyone has answers/hints/pointers/code?

Best regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 06, 2004 at 12:04 PM


    The circular link problem just changed:

    SP2 allows a circular reference if one of the referenced objects is dependend of its source and one is not (eg Order dependends on Customer, but Customer does not depend on Order)

    SP1 allows, that both objects depend on each other.

    Best regards,

    Thomas Strauß

    Message was edited by: Thomas Strauß

    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.