Today i want to share about Integrating Hibernate and jPOS Framework. The implementation will based on my old post about Implementation jPOS Transaction Manager you can read the jPOS project on these post. The jPOS System is look like: i will add new participant for FinancialTransaction group called FinancialTransactionLogging, the participant is responsible for inserting […]
Tag: hibernate
Implementation Template Methods Design Pattern
Today i want to share about Implementation Template Methods Design Pattern for hibernate session management. Based on javapapers website, Template pattern is: Template method design pattern is to define an algorithm as skeleton of operations and leave the details to be implemented by the child classes. The overall structure and sequence of the algorithm is […]
Hibernate Mapping Entity with multiple primary key
Today i want to share about Hibernate Mapping Entity with multiple primary key. For some reason we need to add multiple key in our database table, for example: you have table S_PARAMETER that will save all updatable parameter in your system and for some reason(easy read, clean code) you nedd param_group, and param_id field to […]