anchor.diff:  or {jdkJavadocBase}java/io/Reader.html[Reader] to query. Similarly you can read them by asking back for {jdkJavadocBase}java/io/InputStream.html[InputStream]
   or {jdkJavadocBase}java/io/Reader.html[Reader].
   
  -[source,java]
  --------------------------------------------------------------------------------------------------------
  -try (InputStream in = new FileInputStream(name)) {
  -    db.update("insert into my_file (name, contents) values (?,?)", name, in);
  -}
  -
  -try (InputStream in = db.findUnique(InputStream.class,
  -                        "select contents from my_file where name=?", name)) {
  -    ...
  -}
  --------------------------------------------------------------------------------------------------------
  +[source,java,indent=0]
  +----
  +        try (InputStream in = new FileInputStream(name)) {
  +            db.update("insert into my_file (name, contents) values (?,?)", name, in);
  +        }
  +
  +        try (InputStream in = db.findUnique(InputStream.class,
  +                                "select contents from my_file where name=?", name)) {
  +            ...
  +        }
  +----
   
   WARNING: Note that the returned {jdkJavadocBase}java/io/InputStream.html[InputStream] or
   {jdkJavadocBase}java/io/Reader.html[Reader] is only valid for the duration of the active transaction.
  
positive.code: By including the _dalesbred-junit_ artifact in your project as a test dependency,
  you'll get support for writing transactional test cases:
  
  [source,java]
  -------------------------------------------------------------------------------------------------------
  public class MyTest {
  
      private final Database db =
          TestDatabaseProvider.databaseForProperties("testdb.properties");
  
      @Rule
      public final TransactionalTests tx = new TransactionalTests(db);
  
      @Test
      public void simpleTest() {
          assertEquals("hello, world!",
              db.queryForUnique(String.class "select 'hello, world!'");
      }
  }
  -------------------------------------------------------------------------------------------------------
  
  More examples
  -------------
  
negative.code: Dalesbred is available on the central Maven repository, so just add the following
  dependency to your `pom.xml`:
  
  [source,xml,indent=0]
  [subs="verbatim,quotes,attributes"]
  ----
          <dependency>
              <groupId>fi.evident.dalesbred</groupId>
              <artifactId>dalesbred</artifactId>
              <version>{revnumber}</version>
          </dependency>
  ----
  
  For the JUnit test-support classes, add the following:
  
  [source,xml,indent=0]
  [subs="verbatim,quotes,attributes"]
  ----
          <dependency>
              <groupId>fi.evident.dalesbred</groupId>
              <artifactId>dalesbred-junit</artifactId>
              <version>{revnumber}</version>
              <scope>test</scope>
          </dependency>
  ----
  
  Without dependency manager
  ~~~~~~~~~~~~~~~~~~~~~~~~~~
  