Threading some queries

I set up a quick multi-thread query test for a complex model entity made of several hibernate table entities. What I was trying to accomplish was a faster retrieval by running the queries in parallel. Spring JPARepository is the underlying querying mechanism. Here’s the higher level entity: In my service method is the threading test. […]

Eclipse: Different Maven settings.xml

Well it happened — a third party project team decided they’d configure a complicated settings.xml file, which resides in the .m2 folder on your local.  But I already have projects that don’t like what they wrote in that file, so I had to create two: settings-common.xml for our projects settings-thirdparty.xml for their projects Now when […]

Java Long and Integer Max

If ever you forget, just pop open a groovy console and get the max values for Java’s Long and Integer objects: I use the Groovy console quite a bit.