Re: How to program against the ODMG personality correctly?

2004-01-13 Thread Sean Dockery
Hello, Philippe. Thanks for the analysis and tip about the performance of ODMG in relation to caching objects. That is helpful. I have a question for you about your little snippet... PersistenceBroker broker = ((TransactionImpl) tx).getBroker(); A aDummyObject = new A();

Re: How to program against the ODMG personality correctly?

2004-01-13 Thread Philippe Hacquin
Sean Dockery wrote: Hello, Philippe. Thanks for the analysis and tip about the performance of ODMG in relation to caching objects. That is helpful. I have a question for you about your little snippet... PersistenceBroker broker = ((TransactionImpl) tx).getBroker(); A aDummyObject = new

Re: How to program against the ODMG personality correctly?

2004-01-11 Thread Philippe Hacquin
Hi Sean, I'm not an OJB-ODMG expert, but maybe I can help Sean Dockery wrote: [...] 1) The exception handling code is omitted from the examples for the sake of brevity. Is the manner in which I'm handling exceptions correct? Take care of the following: Transaction tx =

Re: How to program against the ODMG personality correctly?

2004-01-10 Thread Sean Dockery
I posted this right around new years, but I have not seen any responses since then and some of these questions are still eating at me. Can anyone provide any answers to some of the questions that I've asked? Thanks in advance. Sean Dockery [EMAIL PROTECTED] wrote in message news:[EMAIL

How to program against the ODMG personality correctly?

2004-01-02 Thread Sean Dockery
Hello there. I'm fairly new to OJB. I've read several of the tutorials and I'm working on creating an application from scratch. Below are three classes that I wrote. One is my DAO class, the second class is an inversion-of-control interface that I'm using to populate the object after locking