HHH000474 error on Boolean attribute with get and is getters and transient element not working for methods while mapping class on orm.xml

Description

My orm.xml file despite that listing and allowing me to use the `transient` tag to a method, the transient state is not being applied to this method, as it would be if it was on the @Transient.
Due to that and I'm getting an error:
```
HHH000474: Ambiguous persistent property methods detected on model.Test; mark one as @Transient : [public java.lang.Boolean model.Test.getDefaultProfile()] and [public java.lang.Boolean model.Test.isDefaultProfile()] : origin(model.Test)
```
And also a warning:
```
WARN: HHH000207: Property model.Test.getDefaultProfile not found in class but described in <mapping-file/> (possible typo error)
```

This is how is my orml.xml, which I was expecting to solve the error with the <transient> tag

And this is the class, that has a Boolean object on it and has the `get` and `is` implemented on it. And on the real scenario due to being a class from an external dependency, I'm using XML mapping over it:

And the very off from this is that if I just annotate the class with @Entity that error will not be shown

Environment

None

Assignee

Unassigned

Reporter

Elielson Silva

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure