Skip to content

Error Hibernate-Core: InvalidDataAccessApiUsageException (Parameter value) #30563

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

Closed
diegoporfirio opened this issue Apr 6, 2022 · 1 comment
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue

Comments

@diegoporfirio
Copy link

Hi,

Spring boot 2.6.5 and 2.6.6 cause error in hibernate-core:

org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [\] did not match expected type [com.domain.User (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [\] did not match expected type [com.domain.User (n/a)]

If in Spring boot 2.6.6 set version hibernate-core 5.6.5 in pom.xml

       <!-- https://mvnrepository.com/artifact/org.hibernate/hibernate-core -->
	<dependency>
	    <groupId>org.hibernate</groupId>
	    <artifactId>hibernate-core</artifactId>
	    <version>5.6.5.Final</version>
	</dependency>

The error does not appear. The problem is in the 5.6.6.Final and 5.6.7.Final

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 6, 2022
@scottfrederick
Copy link
Contributor

Duplicate of #30421

@scottfrederick scottfrederick marked this as a duplicate of #30421 Apr 6, 2022
@scottfrederick scottfrederick added status: duplicate A duplicate of another issue for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants