Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jadira usertype.core depends on deprecated hibernate-entitymanager. #984

Closed
yoshikawaa opened this issue Jun 25, 2020 · 0 comments
Closed

Comments

@yoshikawaa
Copy link
Contributor

Description

https://mvnrepository.com/artifact/org.jadira.usertype/usertype.core/6.0.1.GA
Jadira usertype.core depends on deprecated hibernate-entitymanager.
#875 tell that we can replace from hibernate-entitymanager to hibernate-core.

Note:
https://mvnrepository.com/artifact/org.jadira.usertype/usertype.core/7.0.0.CR1
Jadira usertype.core 7.0 optionally depends on it.

Possible Solution

terasoluna-gfw-jpa-dependencies contains hibernate-core, so exclude hibernate-entitymanager from usertype.core.

<dependency>
<groupId>org.jadira.usertype</groupId>
<artifactId>usertype.core</artifactId>
</dependency>

    <dependency>
      <groupId>org.jadira.usertype</groupId>
      <artifactId>usertype.core</artifactId>
      <exclusions>
        <exclusion>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-entitymanager</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

Affect versions

  • 5.6.0.RELEASE

Issue links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants