Yanming Zhou

Results 148 issues of Yanming Zhou

"If X is a removed entity instance, an IllegalArgumentException will be thrown by the merge operation (or the transaction commit will fail)." from section 3.2.7.1 of the JPA spec https://hibernate.atlassian.net/browse/HHH-17147

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

Fix GH-3349

status: waiting-for-triage

ManagedType may be erased type if the attribute is declared as generic, take Hibernate 6.x for example, exception is thrown like: ``` java.lang.IllegalArgumentException: Unable to locate Attribute with the given...

status: waiting-for-triage

id shouldn't be added to sort if provided sort contains unique property. See GH-2996

type: enhancement

``` java.lang.IllegalStateException: No MethodInvocation found: Check that an AOP invocation is in progress, and that the CrudMethodMetadataPopulatingMethodInterceptor is upfront in the interceptor chain. at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$CrudMethodMetadataPopulatingMethodInterceptor.currentInvocation(CrudMethodMetadataPostProcessor.java:123) at org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor$ThreadBoundTargetSource.getTarget(CrudMethodMetadataPostProcessor.java:294) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:229) at...

status: pending-design-work
type: enhancement

It works fine with 2.7 but failed with 3.0. ``` Caused by: java.lang.IllegalArgumentException: Unable to locate Attribute with the given name [ringIndex] on this ManagedType [java.lang.Object] at org.hibernate.metamodel.model.domain.AbstractManagedType.checkNotNull(AbstractManagedType.java:225) ~[hibernate-core-6.3.1.Final.jar:6.3.1.Final] at...

status: waiting-for-triage

It will mislead user that hibernate validator will rely on particular EL implementation. see https://hibernate.atlassian.net/browse/HV-1950.

Needs work