This one time, at band camp, Vedula, Sharma said:

VS>We are currently in the design phase of a project where the client does not
VS>want us to use Entity beans to persist data to the database.  So, we are
VS>looking at using Sessions beans and the Castor JDO data persistance to
VS>accomplish this.  My question to you is:
VS>      Do I have to import the castor libraries in all my application
VS>classes to use the castor JDO to persist the data?

Sharma,

I'm going to make a guess that your question is actually:

    Do my objects need to implement classes from Castor JDO in order
    to be persisted?

The general answer to the above question is no.

However, if you're using Castor JDO's long transactions, your objects
will need to implement the Timestampable interface. If you want to
make use of Castor JDO's callbacks for notification of events, your
objects will need to implement the Persistence interface. These are
the only two exceptions to the above answer.

Bruce
--

perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'

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

Reply via email to