Posted: Sun Nov 13, 2005 5:01 pm
How would you test that?Jeroen Oosterlaar wrote:Hi raghavan20,
Why are you passing a database connection object to your objects data management objects? As far as I know, that is not necessary. Once you have created a connection, everything that is executed during the request, can execute transactions freely. So when you have a page script that first initializes the database connection and then invokes some method that executes some database transaction, that object doesn't need to have an expliciet reference to the database connection (object). The connection is 'just there'.