RE: Re: [Objectbridge-jdo-dev] JDO Tutorial application
Brought to you by:
thma
From: <tr...@th...> - 2002-05-10 17:30:05
|
I started a separate project on sourceforge at: http://johndoe.sourceforge.net Just a holding ground for the code because I don't want to wait to start using JDO. The CVS has the tutorial3 example using JDO. For the most part I just extended the matching OJB classes and made them implement the JDO interfaces so performance/response should be almost identical. Give it a try and let me know how it goes. I've started to try it with other applications and it seems to work fine outside the tutorial app too. Travis ---- Original Message ---- From: Bruce Buttles <bru...@ho...> Sent: 2002-05-10 To: tr...@th... Subject: Re: [Objectbridge-jdo-dev] JDO Tutorial application Hey that ROCKS! I can't wait to hear more ... Have you had a chance to look at perf/response time between the two? -Bruce ----Original Message Follows---- From: tr...@th... To: obj...@so... Subject: [Objectbridge-jdo-dev] JDO Tutorial application Date: Thu, 9 May 2002 14:32:03 -0600 (MDT) I have made a JDO layer for OJB that runs the tutorial application using only the JDO API. And I've found that the OJB PersistenceBroker (not odmg) is almost dead on to the JDO spec at least for the basics. For example in UCEditProduct (commented lines were from original). broker is created earlier and is a PersistenceManager as in JDO spec. broker.makePersistent(toBeEdited); Transaction tx = null; // 3. open transaction tx = broker.currentTransaction(); tx.begin(); // 6. now ask broker to store the edited object //broker.store(toBeEdited); // 7. commit transaction //broker.commitTransaction(); tx.commit(); Travis _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: ban...@so... _______________________________________________ Objectbridge-jdo-dev mailing list Obj...@li... https://lists.sourceforge.net/lists/listinfo/objectbridge-jdo-dev _________________________________________________________________ Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com |