Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
buckelieg authored Jul 8, 2024
1 parent ea2ec28 commit a274c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ DB db = DB.create(ds::getConnection); // shortcut for DB.builder().build(ds::get
// or
DB db = DB.builder()
.withMaxConnections(10) // defaults to Runtime.getRuntime().availableProcessors()
.build(() -> DriverManager.getConnection("jdbc:derby:memory:test;create=true"));
.build(() -> DriverManager.getConnection("vendor-specific-string"));
// do things...
db.close(); // cleaning used resources: closes underlying connection pool, executor service (if configured to do so) etc...
```
Expand Down

0 comments on commit a274c78

Please sign in to comment.