Author Archives: John Woodward

About John Woodward

Principal Consultant at Improving Enterprises, Inc.

Groovy @EqualsAndHashCode is slow!

Found this out benchmarking an app at work. We’re pulling a fair amount of data from the database via hibernate, and hydrating those objects into a set of domain objects. It’s a pretty straight-forward set of domain objects, involving stores, … Continue reading

Posted in Software | Leave a comment

Groovy 2.4.x bug

This is a short blog post; just read the details here, though the bug actually is more generic than the initial bug report suggests (generics are not required). There is a bug in the 2.4.x groovy where an incorrect super … Continue reading

Posted in Software | Leave a comment

Locked out of Android Phone

Okay … it’s been a terrible week for phones for me. I went jogging last week, with my phone in an exercise carrier strapped to my forearm. When I got home … the phone was pretty sweaty. Having dried it … Continue reading

Posted in Uncategorized | Leave a comment

BitBucket — who has access to what?

This blog post was a god send: http://www.stevenmaude.co.uk/posts/managing-a-bitbucket-users-permissions-when-theyve-left-your-team This pointed us to an area of the admin section of bitbucket that provided us with exactly what we were looking for today. It’s not what permissions are still around when they … Continue reading

Posted in Software | Leave a comment

Dynamically Clearing Tables While Testing

I had to blog about this, or I’m going to forget about it. Isn’t that always the case? We write some utility, and run into some issues, and then 6 months from now we run into it again, but so … Continue reading

Posted in Uncategorized | Leave a comment

Spring jpa:repositories and subpackages

This one has been biting me for a few days; I just had to jot a few notes down about it. Everywhere you look, the documentation about the <jpa:repositories> spring config element says that the base-package and all subpackages will … Continue reading

Posted in Software | Tagged , , , , | Leave a comment

Hibernate 4 & the MSSQL Money type

This post covers a situation we ran into where Hibernate 4 wouldn’t map the MS SQL Server Money type to a BigDecimal in our groovy code. Hibernate 3, it turns out, does so just fine, but in our new app, … Continue reading

Posted in Software | Tagged , , | Leave a comment