Tag Archives: persistence

Snapshotting PostgreSQL databases with templates using Spring JDBC

Nowadays with the rise of more and more complex systems software testing is more important then ever. This not only includes unit testing but also integration-, end to end- and acceptance tests. For some of these test scenarios it is important to have a defined state of your database which could be reproduced in example […]
Posted in coding, english, Java | Also tagged , , , , , | Leave a comment

Dynamic switching dev and prod datasource with maven profiles

Most of the time when you develop an application that uses a database you are likely to use another database for your local development work than what you will use later in production. The main reason for this is that there are databases like H2 which by design are fitting the development situation while they […]
Posted in coding, english, Java | Also tagged , , , , , , , , | Comments closed