Instrumentation for Hibernate


License

License

Categories

Categories

Glowroot Application Testing & Monitoring Monitoring Hibernate Data ORM
GroupId

GroupId

org.glowroot.instrumentation
ArtifactId

ArtifactId

instrumentation-hibernate
Last Version

Last Version

0.14.9
Release Date

Release Date

Type

Type

jar
Description

Description

Instrumentation for Hibernate
Instrumentation for Hibernate
Project Organization

Project Organization

Glowroot contributors

Download instrumentation-hibernate

How to add to project

<!-- https://jarcasting.com/artifacts/org.glowroot.instrumentation/instrumentation-hibernate/ -->
<dependency>
    <groupId>org.glowroot.instrumentation</groupId>
    <artifactId>instrumentation-hibernate</artifactId>
    <version>0.14.9</version>
</dependency>
// https://jarcasting.com/artifacts/org.glowroot.instrumentation/instrumentation-hibernate/
implementation 'org.glowroot.instrumentation:instrumentation-hibernate:0.14.9'
// https://jarcasting.com/artifacts/org.glowroot.instrumentation/instrumentation-hibernate/
implementation ("org.glowroot.instrumentation:instrumentation-hibernate:0.14.9")
'org.glowroot.instrumentation:instrumentation-hibernate:jar:0.14.9'
<dependency org="org.glowroot.instrumentation" name="instrumentation-hibernate" rev="0.14.9">
  <artifact name="instrumentation-hibernate" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.glowroot.instrumentation', module='instrumentation-hibernate', version='0.14.9')
)
libraryDependencies += "org.glowroot.instrumentation" % "instrumentation-hibernate" % "0.14.9"
[org.glowroot.instrumentation/instrumentation-hibernate "0.14.9"]

Dependencies

provided (1)

Group / Artifact Type Version
org.glowroot.instrumentation : instrumentation-api jar 0.14.9

test (7)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 1.7.1
org.glowroot.instrumentation : instrumentation-test-harness jar 0.14.9
org.hibernate : hibernate-core jar 5.4.2.Final
org.hibernate : hibernate-c3p0 jar 5.4.2.Final
javax.transaction : jta jar 1.1
org.hsqldb : hsqldb jar 2.3.6

Project Modules

There are no modules declared in this project.

Requirements

  • Runtime supports Java 6+

Building

The usual:

mvn clean install

Building requires Java 8+ and Maven 3.3.1+.

Contributing

This project uses Immutables annotation processing to eliminate maintenance on lots of boilerplate code. If you are using Eclipse, this requires installing the m2e-apt plugin and changing Window > Preferences > Maven > Annotation Processing to "Automatically configure JDT APT".

Integration tests

Integration tests are run during Maven's standard integration-test lifecycle phase.

The test harness makes it easy to run sample application code and then validate the trace captured by the instrumentation. The test harness is able to run tests both using a custom weaving class loader (which is very convenient for running and debugging inside your favorite IDE), and by spawning a JVM with the -javaagent flag (which more correctly simulates real world conditions).

Code quality

SonarQube is used to check Java coding conventions, code coverage, duplicate code, package cycles and much more. See analysis at https://sonarcloud.io.

Checker Framework is used to eliminate fear of null with its rigorous Nullness Checker. It is run as part of every Travis CI build (see the job with TARGET=checker) and any violation fails the build.

License

Source code is licensed under the Apache License, Version 2.0.

org.glowroot.instrumentation

Versions

Version
0.14.9
0.14.8
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.1
0.14.0