Update 2011-06-25: As suggested in the comments just clicking back button and then next again in the installer could bypass the problem. Thanks to Hatem and tikno07. I was trying to install the Android SDK tools using the Windows installer package recently. Since I had the Java JDK SE 6 Update 23 installed on my [...]
Read more…Posts Tagged ‘Java’
Ubuntu 10.04 & Java: Setup Sun JDK
Since Ubuntu 10.04 the OpenJDK is the recommended default JDK and the Sun JDK has been removed from the multiverse repository. From the release notes: Sun Java moved to the Partner repository For Ubuntu 10.04 LTS, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you [...]
Read more…Hibernate & UserType: How to persist JSON objects
A Hibernate UserType defines a (custom) way how to save Java objects into the database. Basically, it defines how the object is serialized to be persisted in the database and how the object is (re)created from the serialized data stored in the database. Here is a UserType that I’ve written to persist objects of type [...]
Read more…Hibernate interceptors: Update entity’s properties “on update” and “on save”
An Hibernate interceptors provides a highly flexible way to hook into the session’s life-cycle to invoke your custom methods at particular session states, like before an entity is persisted and/or updated. Specially in multi-tier applications interceptors can be useful to plug in (entity) functionalities on a very clear way instead of scattering them through the [...]
Read more…