News

The Enumeration was originally part of the JDK 1.0 release and was designed to aid developers who needed to loop through Vectors, process HashTable keys or pass data to a SequenceInputStream.While an ...
Although it is part of the java.util.concurrent package, the TimeUnit enum is useful in many contexts outside of concurrency.In this post, I look at how the TimeUnit enum can be used even in code ...
JPA and Hibernate enum mapping. The Java enum, introduced in Java 5, will map to the underlying database without any intervention. The JPA framework, be it Hibernate or Toplink or DataNucleus, will ...