-
Recent Posts
Recent Comments
- sherif sadek on Understanding Hibernate session flushing
- Koushik Paul on Hibernate query limitations and correlated sub queries
- Joseph Albert on Showing unused TestNG tests
- Iván on Maven offline build fails to resolve artifacts in your local repository
- Peter on Comparing two MySQL databases
Archives
- October 2024
- July 2024
- June 2024
- May 2024
- January 2024
- October 2023
- July 2023
- January 2023
- July 2022
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- December 2020
- June 2020
- May 2020
- January 2019
- November 2018
- September 2017
- June 2017
- September 2016
- August 2016
- February 2016
- July 2015
- November 2014
- October 2014
- August 2014
- April 2014
- February 2014
- December 2013
- November 2013
- May 2013
- February 2013
- January 2013
- October 2012
- September 2012
- July 2012
- April 2012
- February 2012
- January 2012
- November 2011
- October 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- November 2010
- October 2010
Categories
Meta
Monthly Archives: January 2011
Showing unused TestNG tests
We use TestNG for our system tests. One of the slight problems is that if a new test is written, but not added to the testng.xml file, it won’t be run. I like to monitor our testing progress, so I … Continue reading
Hibernate aliases
My colleague Raj was recently updating a Hibernate criteria query which made use of aliases. He wanted to add a criterion that a value in a linked table must be null, so the most obvious change to make was to … Continue reading
Cool Groovy features 3 – ConfigSlurper
In Java configuration properties can only be key-value pairs e.g. Wouldn’t it be nice to be able to group configuration properties? This is exactly what you can do in Groovy using the ConfigSlurper class. It allows you to write config … Continue reading
Using group by without an aggregate function
It is interesting to find that in MySQL, you can write the following: This doesn’t really make sense, since the purpose of “group by” is to group records when you are using an aggregate function, such as sum. e.g. If … Continue reading
Coffeescript – improved javascript
An interesting attempt to create a more powerful syntax for javascript: http://jashkenas.github.com/coffee-script/
Groovy – real life example
In my job we often have spreadsheets of data that we want to quickly turn into SQL scripts. (Yes, I know there are plenty of ways of importing spreadsheets into databases, but our DBAs want SQL scripts!) This is fairly … Continue reading
Spring MVC versus Struts
This question is often asked, but tends to be answered by people who have a strong allegiance to Spring and tend to give a massive list of advantages, which often boil down to a much smaller list of actual advantages. … Continue reading