Need help on this issue.

We have an object that contains several objects in many to many
relationships.

We do not use the autostore capability because the external objects already
exists and because of the failure of the nested transaction, we cannot use
the autostore on Oracle.

So we have to manually traverse the object tree and manually define the many
to many tables.

One of the many2 many objects is not preexistent but created with KEY
generation MAX.

The problem is the following:
1. We can create objects and persist them successfully into ORACLE. The
object and the many2many are all looking good.
2. After that we execute a query and we commit the request. The object is
successfully retrieved and in state "transient"
3. All the many2many objects are visible EXCEPT the object that was created
with KEY GENERATION MAX !!!
4. If we stop our application server and we reexecute the same query, then
the object is successfully retrieved and ALL the many2many objects are
successfully retrieved INCLUDED the object that was not visible before
Tomcat is cycled.


Can somebody provide some help?

Best Regards
Antonio Signore

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to