Hi Robert,

think you should implement your own ConnectionFactory.
Maybe ConnectionFactoryAbstractImpl could be a good
starting point (or do all in your own way implementing
ConnectionFactory interface).
Then set your factory in OJB.properties
ConnectionFactoryClass=...

regards,
Armin


Robert J Celestino wrote:
Hello All,

First I want to thank the devlopers for an awesome product. Second I want to thank all the users on this mailing list for the wonderful advice and help.

I have a quick question: We have an in house technique for obtaining a connection:

ConnectionInfo ci = new ConnectionInfo() ; ci.setJndiName( "MyDataSource" ) ; ci.setPooling( true ) ; .
.
. Connection conn = DataFactory.getConnection( ci ) ;


I have found (to my delight) that almost everything in OBJ is configurable or extendable. Is it posible to have OJB use our DataFactory to obtain connections? If so how?

Thanks again
Bobc

----------------------------------------------------------------
Bob Celestino
SAS Research and Development
919 - 531 - 9425
[EMAIL PROTECTED]

SAS - The Power to Know

---------------------------------------------------------------------
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