Marc,

I don't think the functionality you are looking for is in Torque but you
could add it. You could try the following:

1. Extend org.apache.torque.om.BaseObject to add the appropriate
functionality.

2. Then in your schema file in the <database> tag.
<database
        name="test"
      defaultIdMethod="idBroker"
        baseClass="com.myapp.om.BaseClass"  <== Set this to your new class the
extends BaseObject.
      basePeer="com.myapp.om.BasePeer">
      <table name="SIMPLE">

3. Generate Your Classes using Torque.

r,
Hugh

-----Original Message-----
From: Marc Dugger [mailto:[EMAIL PROTECTED]
Sent: Monday, June 02, 2003 1:50 PM
To: [EMAIL PROTECTED]
Subject: persistence aware


Are there any call-back methods that can be implemented so that the
application will be aware of an OM object being inserted/updated?  If
not, can anyone suggest any extension points where it would be
appropriate to implement such functionality?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to