Gary Gregory

Results 61 issues of Gary Gregory

StatefulPersistenceContext.extractNaturalIdValues(). See example below. https://hibernate.atlassian.net/browse/HHH-15050 ``` Caused by: java.lang.NullPointerException at org.hibernate.engine.internal.StatefulPersistenceContext$1.extractNaturalIdValues(StatefulPersistenceContext.java:2163) at org.hibernate.persister.entity.AbstractEntityPersister.handleNaturalIdReattachment(AbstractEntityPersister.java:4956) at org.hibernate.persister.entity.AbstractEntityPersister.afterReassociate(AbstractEntityPersister.java:4930) at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java:322) at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java:230) at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:95) at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:75) at org.hibernate.event.service.internal.EventListenerGroupImpl.fireEventOnEachListener(EventListenerGroupImpl.java:107) at org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:670) at org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:663) at...

Hi JApiCmp, Are you interested in a patch that allows: ``` A, B, C true true ``` Instead of: ``` A true true B true true C true true ```...

JApiCmp raises a false METHOD_RETURN_TYPE_CHANGED to break BC when a `private` method is made `protected`. Over at Apache Commons Text, this commit: https://github.com/apache/commons-text/commit/12428582b46e9e3ce0dff65e25c51a71083c19b7 broke our build on BC check. The...

Over at Apache Commons VFS, we have a multi-module Maven project, and we've moved code from the main jar `commons-vfs2` to a new jar module `commons-vfs2-jackrabbit1`. Can we get our...

**Affects PMD Version:** 6.46.0 **Rule:** UnusedPrivateMethod Please provide the rule name and a link to the rule documentation: UnusedPrivateMethod: **Description:** False-positive when a class calls a private method defined in...

a:false-positive

https://issues.apache.org/jira/browse/MNG-7316 Following this checklist to help us incorporate your contribution quickly and easily: To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0) you...

Trivial: Make sure resources are closed even when an exception is thrown by using try-with-resources. - [X] I hereby declare this contribution to be licenced under the [Apache License Version...

Please add a timeout attribute to @BeforeClass, @Before, @After, and @AfterClass. This will allow set ups and tear downs to databases and other expensive remote resources to gracefully stop and...