Never did a JOCL setup but looking at the code I don't see any way to create a Properties object to give to the Driver.

Using a DriverManagerConnectionFactory is your best bet. It it just another way to access the underlying database driver.

-- Dirk

[EMAIL PROTECTED] wrote:

How do you define a Properties object in JOCL?

I am attempting to use a DriverConnectionFactory object and defining my username and password in it. I'm not sure how JOCL supports name/value pairs. I can always use DriverManagerConnectionFactory which has a constructor where userName and password are passed as Strings which leads me to another question: What's the difference between these two classes?




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



Reply via email to