SQL Scripts With Green Ticks

Running SQL install scripts can be tedious. They get so far, and then fail. Finding out where they failed isn’t always easy and when the problem is fixed, there is a choice – drop the schema and re-run, or comment out what has been applied already, and re-run. I once spent an entire morning in this fix/re-run cycle for a particularly large and badly maintained script. It was very ungratifying work. What I need, I thought, are some friendly green ticks, some positive visual feedback to aid job satisfaction.
Continue reading

A Custom Property in Spring

(Please note there as a postscript to this post: A Simpler Custom Property in Spring)

<context:property-placeholder> is a really easy way to provide property replacements in Spring configurations with values from a standard Java Properties file. But what if you don’t want a property hard coded into a file – a clear text password for instance? Spring provides all the bits and pieces to write your own property replacement. Let me introduce my CustomPropertyConfigurer.
Continue reading