Creating Raw SQL Migrations in Django
I am using Django, which has great support for PostgreSQL-specific functions in it’s ORM. I wanted to use a SearchVectorField inside my application and PostgreSQL recommends creating a trigger for to populate that column. Well that was easy enough but I ...
Managing Multiple Python Instances
The problem with working on different Python codebases is the versioning and the large amounts of libraries available. Say you are working on a data science project using Pandas and then suddenly your boss wants ...
A Quick Tour of Joda Beans
One of my big headaches about Java is the amount of boilerplate code you need to put in to make things work right. Especially in POJOs. I mean, is the solution to always run “generate ...
Converting Maven Dependencies to Gradle
I had the, er, honor of converting an old ANT build to Gradle. It was one of those with the directories filled with jars and was having a hard time figuring out what dependency was ...
Spring Boot / SSL and BadPaddingException
Are you working on getting SSL self signed certificates working with Spring Boot and getting a javax.crypto.BadPaddingException? Hopefully this post will save you some time. I created this post to help remind myself and hopefully ...
Using Git within Gradle
I had a task to have a Gradle build look at the Git branch name and set a different variable based on what branch was. I could have made a system call to git but ...
Create a Custom Annotation for your JUnit5 ParameterizedTest ArgumentProvider
In my opinion, the best new feature of Junit5 is the addition of parameterized tests. They greatly reduce copy/pasted code and makes it easy to increase your test coverage without unnecessarily increasing the amount of ...
Liquibase and Spring Boot
I think it’s great that Spring Boot has built-in support for Liquibase but I think there is missing documentation on it. Some of it is on Spring’s part and others are in Liquibase. I hope ...
MyBatis and Kotlin
I wanted to do a little sample application in Kotlin. I’m getting tired of using JPA for all the things, so I decided to try out MyBatis. I had used MyBatis with great success years ago, ...
Getting Groovy with Mongo Monitoring
MongoDB does something interesting that we aren’t used to in the Java world – if you use the MongoClient object, it manages the pooling for you on the server side. This is different than how ...