Either way works, javac will create an implicit StringBuilder otherwise.  If you stick with StringBuilder, can you write it like this to avoid duplicate toString calls:

```
String connString = new StringBuilder()
    .append(...)
    .build();
```