Hi, Neil. Thanks for the hint. I had read that page, and here are my thoughts: Castor JDO is not compliant to the spec, but it actually tries to cover the same functionality. Semantics in usage are quite similar: JDO PersistenceManagerFactor - Castor JDO JDO PersistenceManager - Castor Database JDO Instance - any Bean
So I estimated that using Castor like JDO should be quite easy. With a closer look now I see that differences are more than just a few class and method names, so I will have to give up the wish getting Castor fully JDO compliant. Agreed. But still Castor will have to do something about locking, right? Still there must be a decision when and what to update. So on what basis are those decisions made? Does the application have to control this? Or are the answers to my questions somehow hidden in the interfaces Persistent and TimeStampable? Hiran ----- Original Message ----- From: "Neil Aggarwal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 25, 2003 6:03 PM Subject: Re: [castor-dev] JDO Compliance > Hiran: > > In case you did not realize it, I just wanted to let you know > that Castor JDO does not implement the JDO specification. > > You can see more info on this at: > http://castor.exolab.org/jdo-faq.html > > Thanks, > Neil > > -- > Neil Aggarwal > JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com > Custom Internet Development Websites, Ecommerce, Java, databases > > > > -----Original Message----- > > From: Hiran Chaudhuri [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, February 25, 2003 10:23 AM > > To: [EMAIL PROTECTED] > > Subject: [castor-dev] JDO Compliance > > > > > > Hi there. > > > > Trying to figure out how much Castor conforms to the JDO Specification I > > tried a little example. I created a table, filled that with data, > > created a > > little bean with some properties and mapped the table fields to that bean. > > Reading data works, I have not tried writing. > > > > But for writing, some questions arise: > > - How does Castor notice that I changed a property of a bean? JDO states > > that here should be a StateManager that knows about the > > clean/dirty state of > > an object, but I have not seen anything like that in Castor. > > - How and when are documents locked? Does Castor lock the data it reads? > > - If Castor does not know about the state of the data inside the > > bean, when > > and how often does it send the data back to the database? > > > > Hiran > > > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send mail to > > [EMAIL PROTECTED] with a subject of: > > unsubscribe castor-dev > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
