The javadoc on the ojb website isn't complete. I didn't find
ConnectionFactoryAbstractImpl there.

Can anybody update this?

Roland Ribi

> -----Original Message-----
> From: Armin Waibel [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 18, 2004 12:30 PM
> To: OJB Users List
> Subject: Re: ALTER SESSION Statements
> 
> 
> Hi Roland,
> 
> Ribi Roland wrote:
> > Is there a way in ojb to put some initial statements, which 
> are called after
> > logon to the database for each DB-connection?
> > 
> 
> Have a look in ConnectionFactory implementation classes. 
> ConnectionFactory is responsible for creation, pooling, close of 
> connections.
> All implementations are derived from ConnectionFactoryAbstractImpl. 
> There are two protected methods:
> 
> newConnectionFromDriverManager
> newConnectionFromDataSource
> 
> these methods were called to create new connections. So it 
> should be no 
> problem to derived a ConnectionFactory implementation and 
> override these 
> methods to do the initial stuff.
> 
> regards,
> Armin
> 
> > 
> > 
> > Roland Ribi
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to