Bls: Solution: jdbcclient.jar is always prompting even there is password list in .monetdb

Fabian Groffen fabian at monetdb.org
Thu Jan 10 21:02:47 CET 2013


On 10-01-2013 20:54:56 +0100, Stefan Manegold wrote:
> On Fri, Jan 11, 2013 at 01:40:45AM +0800, sigit kartiko wrote:
> > But Fabian, in java you cannot compare strings with == or != , it must be .equals() method.
> > In line 145: MonetDB-11.13.7/java/src/nl/cwi/monetdb/client/JdbcClient.java
> >  --> user != copts.getOption("user").getArgument()
> > 
> > ---------^ this is not ok.

No, look at the comment right above the line.  We can, because we're
comparing objects here, and the only thing we need to know, is if the
initial object has changed into another one (String).


-- 
Fabian Groffen                              fabian at monetdb.org
column-store pioneer               http://www.monetdb.org/Home
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: Digital signature
URL: <http://www.monetdb.org/pipermail/developers-list/attachments/20130110/602513d9/attachment.sig>
-------------- next part --------------
_______________________________________________
developers-list mailing list
developers-list at monetdb.org
http://mail.monetdb.org/mailman/listinfo/developers-list


More information about the developers-list mailing list