Transaction recovery marker in JDBC (Hibernate 4)

Tooling for Narayana transaction manager integration to OpenShift deployments

License

License

Categories

Categories

Narayana Application Layer Libs Distributed Transactions Hibernate Data ORM
GroupId

GroupId

io.narayana
ArtifactId

ArtifactId

txn-recovery-marker-jdbc-hibernate4
Last Version

Last Version

1.1.4.Final
Release Date

Release Date

Type

Type

jar
Description

Description

Transaction recovery marker in JDBC (Hibernate 4)
Tooling for Narayana transaction manager integration to OpenShift deployments

Download txn-recovery-marker-jdbc-hibernate4

How to add to project

<!-- https://jarcasting.com/artifacts/io.narayana/txn-recovery-marker-jdbc-hibernate4/ -->
<dependency>
    <groupId>io.narayana</groupId>
    <artifactId>txn-recovery-marker-jdbc-hibernate4</artifactId>
    <version>1.1.4.Final</version>
</dependency>
// https://jarcasting.com/artifacts/io.narayana/txn-recovery-marker-jdbc-hibernate4/
implementation 'io.narayana:txn-recovery-marker-jdbc-hibernate4:1.1.4.Final'
// https://jarcasting.com/artifacts/io.narayana/txn-recovery-marker-jdbc-hibernate4/
implementation ("io.narayana:txn-recovery-marker-jdbc-hibernate4:1.1.4.Final")
'io.narayana:txn-recovery-marker-jdbc-hibernate4:jar:1.1.4.Final'
<dependency org="io.narayana" name="txn-recovery-marker-jdbc-hibernate4" rev="1.1.4.Final">
  <artifact name="txn-recovery-marker-jdbc-hibernate4" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.narayana', module='txn-recovery-marker-jdbc-hibernate4', version='1.1.4.Final')
)
libraryDependencies += "io.narayana" % "txn-recovery-marker-jdbc-hibernate4" % "1.1.4.Final"
[io.narayana/txn-recovery-marker-jdbc-hibernate4 "1.1.4.Final"]

Dependencies

compile (7)

Group / Artifact Type Version
io.narayana : txn-recovery-marker-jdbc-common jar 1.1.4.Final
io.narayana : txn-recovery-marker-jdbc-common test-jar 1.1.4.Final
org.hibernate.javax.persistence : hibernate-jpa-2.0-api jar 1.0.1.Final
org.hibernate : hibernate-core jar 4.2.18.Final
org.hibernate : hibernate-entitymanager jar 4.2.18.Final
org.jboss.logging : jboss-logging jar 3.1.4.GA
org.jboss.logging : jboss-logging-annotations jar 2.1.0.Final

provided (1)

Group / Artifact Type Version
org.jboss.logging : jboss-logging-processor jar 2.1.0.Final

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
com.h2database : h2 jar 1.4.195

Project Modules

There are no modules declared in this project.

Narayana OpenShift tools

This repository contains tools used for integration of the Narayana transaction manager to OpenShift environment.

Content

txn-recovery-marker-jdbc-hibernate4, txn-recovery-marker-jdbc-hibernate5, txn-recovery-marker-jdbc-common

Saving a simple marker, designed to determine a running transaction recovery pod, to database. We need a different versions for Hibernate 4 and Hibernate 5 as those versions are not well compatible. Hibernate is used as it abstracts us from different database vendors as saving the marker data has to be running on whatever database the JBoss EAP is ready to run with.

How to release

Release is performed to JBoss Nexus and you need to have credentials for it. The JBoss Nexus respository can be found at https://repository.jboss.org/nexus/.

Credentials for release needs to be setup in the ~/.m2/settings.xml where you link the repository id jboss-releases-repository with the username/password.

<server>
    <id>jboss-releases-repository</id>
    <username>[username]</username>
    <password>[password for jboss nexus connection]</password>
</server>

As the next step run the mvn release and proceed standard steps (see details e.g. at http://maven.apache.org/maven-release/maven-release-plugin/usage.html) while there is used nexus staging plugin for this purpose.

  • git checkout master; git fetch upstream master; git rebase upstream/master; git push upstream master

  • mvn javadoc:javadoc - verification that there won’t be any javadoc errors during release:perform

  • mvn release:clean

  • mvn release:prepare

  • mvn release:perform

if you want to just check if runs fine mvn release:prepare -DdryRun=true

io.narayana

Versions

Version
1.1.4.Final
1.1.3.Final
1.1.2.Final
1.1.1.Final