cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: [C2] DataSourcese Proposal (first draft)
Date Thu, 11 Jan 2001 22:18:25 GMT
Giacomo Pati wrote:

> Berin Loritsch wrote:

>>> 
>>> Ok. But as for the code in the CVS if you use the dburl to specify
>>> user/password or if you have a user without a password and you only
>>> specify empty user and/or password elements you'll get an exception,
>>> right?
> 
>> 
>> Huh?  That's a mouthful.  Lets see if I can answer it a piece at a time:

>> user--OPTIONAL (not everyone in test environments deals with logins)--No Exception
thrown unless JDBC driver throws it
> 
> Optional mean what? Empty element or no element at all?

Meaning no element at all

>> password--REQUIRED when user is supplied--Exception is thrown on violation

> When you talk about test environment there are cases where you don't
> 
> have a password for a user. Or the DBMS dosn't allow logins without a
> 
> name but without a password. I work with postgresql DBMS which allows
> 
> you to login without a password if your connection comes from localhost
> 
> but requires one if you login from remote.


OK.  I can change it to make username AND password optional.

No problem there.


Mime
View raw message