Every project has several tables which contains data mainly in a form of code,name pair. Those tables define state, type or other similar values as codes, which will be referenced from other tables in database. Further, their name values are used in GUI to make users know what those code values really mean in real […]
Category: Hibernate/JPA
Extending XDoclet Hibernate Module
As you may know, bag collection type of Hibernate contains its elements unordered and unindexed as well as multiple copies of one element instance in it. Java Collection Framework does not have a bag concept already, so we utilize available List type to implement bag semantics in Java, although List keeps its elements ordered. From […]
Experiences with Audit Logging through Hibernate Interceptor
In our current project, we make use of Hibernate Interceptor in order to perform auditing to track operations performed with our domain objects. We at first simply followed instructions in Hibernate In Action book. Basically, steps are as follows; Declare an Auditable interface, and methods in it for what kind of information you want to […]