Categories
Java

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 […]

Categories
Java

Different Between TransactionParticipant and AbortParticipant

Today, i want to share about the different between TransactionParticipant and AbortParticipant interface on jPOS iso 8583 framework. you need to implement one of these interface when you are using Transaction Manager on your jPOS project. you can find my post about how to implement Transaction Manager here. back to the main topic in this […]

Categories
Java

Implementation JPos Transaction Manager

Today i want to share about Implementation JPos Transaction Manager. In this post, i will implement the integration with ISORequestListener, Transaction Manager Group Selector, Transaction Participant, and Abort Participant. From JPos Programmer guide book, the explanation of TransactionManager is: The TransactionManager implementation takes care of ‘driving’ the transaction by calling all of the participants’ prepare […]