Spring-managed Hibernate Listeners with JPA
Update: now there’s a better way to do that. A standard use-case – you need an entity listener in order to execute some code on every update/insert/delete. For auditing, forContinue reading
Update: now there’s a better way to do that. A standard use-case – you need an entity listener in order to execute some code on every update/insert/delete. For auditing, forContinue reading
The other day I realized that my Tomcat is using chunked Transfer-Encoding (HTTP 1.1) by default. I don’t know about other servers/containers/frameworks/languages, but it is not uncommon to send pagesContinue reading
So, Google released an API for Google+. Sort of. It only has three methods – People.get, Activities.list and Activities.get. But let’s assume we can build something with this. Not somethingContinue reading
Every application needs logging. And right now there are a lot of options on what exactly to use for logging in Java. The most famous frameworks are: log4j, logback, commons-logging,Continue reading
This is always a question – how to map temporal data in our hibernate entities – whether to use java.util.Date, java.util.Calendar or simply long. The correct answer is: neither ofContinue reading