Category Archives: Aleksa’s Blog

Hibernate and primary key unique constaint exception

Its one of those things – you have the same problem every now and then, but not often enough to remember what the solution was. I was implementing some hibernate code, but the tests for it failed due to primary … Continue reading

Posted in Aleksa's Blog | Tagged , , , , , , , , | 2 Comments

UTF-8 encoding and Spring message sources

Take a look at the update from October 2011′s perspective here. I was working on a pretty much straight-forward web application. As usual, i used Spring’s org.springframework.context.MessageSourcesupport, to be more precise, i used standard implementation – ResourceBundleMessageSource. Simple configuration, as … Continue reading

Posted in Aleksa's Blog | Tagged , , , , | 8 Comments

‘Oracle Database Security and Compliance’ Conference

I have attended Oracle one-day conference titled ‘Database Security and Compliance’ in London last week, and here is the brief report. There were 3 very useful talks (and a very good lunch after:) – as expected of Oracle I guess. … Continue reading

Posted in Aleksa's Blog | Tagged , , , , , , | 1 Comment

Spring WebFlow – Passing Objects Between Parent Flow and Subflows

While I was implementing web application using Spring WebFlow, I came to the point where i wanted to pass object created in the subflow to its parent flow. I looked at the WebFlow documentation, and forums and blogs as well, … Continue reading

Posted in Aleksa's Blog | Tagged , , , , , , | 3 Comments

Email Header Injection security

If you web application sends emails based on information entered in the form, you should pay attention to the possibility of Email header injection attack. Email header injection attack is based on flaws in the email protocol. Headers in the … Continue reading

Posted in Aleksa's Blog | Tagged , , | Leave a comment

My First Post

Finally my first post. It comes after sleepless night watching Australian Open (Djokovic and Ivanovic joined Jankovic in the semis, and in style, was worth it:)). Some interesting times ahead, with Pro Spring 2.5 book work nearing the end, and … Continue reading

Posted in Aleksa's Blog | Tagged , , , , | Leave a comment