Enumeration in Hibernate with Annotation

I tried on Google for this keyword, and Google returns lots of links on how to implement this, one at the topmost is about writing a helping class called EnumUserType.

This solution is outdated as new versions of Hibernate 3 support JPA annotation @Enumerated. Using this former method is much simpler and therefore recommended.

Using @Enumerated annotation as below: Read more!

Buttons in Eclipse for Linux not working correctly

Have you ever use Eclipse in Linux? I hope you always use Linux for programming your application.

After I install Ubuntu 9.10 (Karmic Koala) and try to use Eclipse on it, I found a problem. The problem is I couldn’t click some buttons for every dialog window in Eclipse. I think this problem is bug of Eclipse Platform. All applications built with this platform will have the same problem. Read more!

Beautiful themes for Ubuntu 9.10 (Karmic)

Seringkali kita memiliki keinginan untuk mengubah theme standard yang ada di desktop kita, tapi bingung theme apa ya yang cocok dengan mata kita. Nah, untuk temen-temen yang menggunakan Linux Ubuntu 9.10, bisa mencoba beberapa theme yang akan diulas disini. Berikut cara instalasi theme yang diinginkan. Baca selengkapnya!

Bilangan Prima (Rekursif) di Java

Definisi bilangan prima tidak lain adalah bilangan asli yang lebih besar dari 1 dan hanya habis dibagi oleh bilangan 1 dan bilangan itu sendiri. Contoh beberapa bilangan prima antara lain, 2, 3, 5, 7, 11, 13…

Nah, berikut ini aku akan share bagaimana membuat aplikasi Java untuk mencari bilangan prima secara rekursif. Baca selengkapnya!