hibernate-orm icon indicating copy to clipboard operation
hibernate-orm copied to clipboard

Unused parameter on createCriteriaUpdate(Delete)

Open Sam-Kruglov opened this issue 4 years ago • 2 comments

https://hibernate.atlassian.net/browse/HHH-13691

In order to create a manipulation query I have to pass the entity class twice because the first time it's not used:

CriteriaDelete<T> criteriaDelete = entityManager.getCriteriaBuilder().createCriteriaDelete(User.class);
criteriaDelete.from(User.class);

This change makes it so that the first time I pass it, the class actually gets registered.

Sam-Kruglov avatar Nov 28 '20 11:11 Sam-Kruglov

Unable to decrypt Maven password using PlexusCipher org.sonatype.plexus.components.cipher.PlexusCipherException: java.lang.ArrayIndexOutOfBoundsException

(c) CI

Sam-Kruglov avatar Nov 28 '20 12:11 Sam-Kruglov

Let's continue the discussion on the JIRA issue. This is not as simple as you think.

beikov avatar Nov 30 '20 09:11 beikov