Hibernate Annotations

org.hibernate : hibernate-annotations

Annotations metadata for Hibernate

51 usages

Add dependency in Maven / Gradle

<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-annotations</artifactId>
    <version>3.5.6-Final</version>
</dependency>

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the org.hibernate:hibernate-annotations library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>org.hibernate</groupId>
  <artifactId>hibernate-annotations</artifactId>
  <version>3.5.6-Final</version>
</dependency>
</dependencies>

To install org.hibernate:hibernate-annotations library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the org.hibernate:hibernate-annotations library to the dependencies section of your build.gradle file:

dependencies {
implementation 'org.hibernate:hibernate-annotations:3.5.6-Final'
}

Gradle Kotlin DSL: Add the org.hibernate:hibernate-annotations library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("org.hibernate:hibernate-annotations:3.5.6-Final")
}

3. Add dependency to a SBT Scala project

Scala: Add the org.hibernate:hibernate-annotations library to your build.sbt file:

libraryDependencies += "org.hibernate" % "hibernate-annotations" % "3.5.6-Final"

4. Add dependency to a Grape project

Grape: Add an annotation org.hibernate:hibernate-annotations library to your groovy script file:

@Grapes(
    @Grab('org.hibernate:hibernate-annotations:3.5.6-Final')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (4)

Group / Artifact Usage
${groupId} » hibernate-testing 0
javassist » javassist 184
cglib » cglib 921
org.hibernate » hibernate-validator 1,402