Pragmatic Programmer Issues

2008 - 09 Archive

Photo tryout one

Comments: 5

I use this blog for english improvement, now I want to use it for my picture-taking experience. If you have some objections give me response in comments. This week photo (one of them) I want to share is:


Conversion and Promotions from Java Specification (ch5)

There was a long time from java specification chapter four review. I think that one of the main reason is that chapter five is boring. Let’s start with it. The best description in in JavaSpec-ch5 introduction which goes like this: Every expression has a type that can be deduced, it is possible to write an […]


Maven Project Raports

Comments: 2

Thanks to maven, all Project I’m involved in can have the same reports. I will describe which reports I’m using and way. Findbugs Findbugs report, in my opinion is one of the most important reports. Here you find my config. Version 2.0 is in snapshot repository and I suppose it will be release in nearly […]


How to extend SQLErrorCodesFactory

I found some interesting feature in springframework. Spring offers you to map sql error code to exception type. By default there is in springframework distribution file called sql-error-codes.xml which has definition for common databases ( DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase). This keys are taken form java.sql.DatabaseMetaData databaseProductName property. Each driver […]