HHH-2268 : handle bridged return types for getters (ROLLBACK)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14453 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
adf3311e58
commit
ba2505d041
|
@ -316,8 +316,8 @@ public class BasicPropertyAccessor implements PropertyAccessor {
|
||||||
|
|
||||||
Method[] methods = theClass.getDeclaredMethods();
|
Method[] methods = theClass.getDeclaredMethods();
|
||||||
for (int i=0; i<methods.length; i++) {
|
for (int i=0; i<methods.length; i++) {
|
||||||
// only carry on if the method has no parameters and is not a bridge
|
// only carry on if the method has no parameters
|
||||||
if ( methods[i].getParameterTypes().length == 0 && !methods[i].isBridge() ) {
|
if ( methods[i].getParameterTypes().length == 0 ) {
|
||||||
String methodName = methods[i].getName();
|
String methodName = methods[i].getName();
|
||||||
|
|
||||||
// try "get"
|
// try "get"
|
||||||
|
|
Loading…
Reference in New Issue