anchor.diff:  === Configuring the database connection
   
   Most things in Dalesbred happen through an instance of {javadocBase}org/dalesbred/Database.html[Database].
  -The easiest way to get hold of one is to specify the settings manually:
  +It takes care of managing JDBC connections, so in a typical application you should only configure a single instance --
  +unless you need to connect multiple databases. The easiest way to get hold of one is to specify the settings manually:
   
   [source,java]
   ----
  
positive.code: 
  === Finding stuff
  
  Finding simple results consisting of just basic types is simple:
  
  [source,java]
  ----
  
negative.code: 
  [source,java]
  ----
  Map<Integer, String> namesByIds = db.findMap(
          Integer.class, String.class, "select id, name from department");
  
  // first column is used for key, rest for instantiating the value
  Map<Integer, Department> departmentsByIds = db.findMap(
          Integer.class, Department.class, "select id, id, name from department");
  
  ----
  