Re: [hibernate-dev] Can a transient attribute be overridden to be persistent in a subclass?

2020-07-09 Thread Christian Beikov
I agree, this should work. Do you have a JIRA ticket describing what the problem is? Am 09.07.2020 um 02:42 schrieb Gail Badner: > I *think* the following is valid, but I need confirmation. This mapping > does seem to work for Hibernate. > > A transient attribute, Employee#title, gets overridden

Re: [hibernate-dev] Can a transient attribute be overridden to be persistent in a subclass?

2020-07-09 Thread Gail Badner
Hi Christian, It actually does work already. I was just trying to get answers to the questions at the end of my email. > Would overriding a transient attribute be portable? If not, is that something Hibernate would/should support? If the answer is "yes" to either of those, I'll add a test case

Re: [hibernate-dev] Can a transient attribute be overridden to be persistent in a subclass?

2020-07-09 Thread andrea boriero
Hi Gail, based on my understanding of Section 2.2 it seems that it should not be portable, but I think that it would be nice for Hibernate to support the feature. On Thu, 9 Jul 2020 at 17:40, Gail Badner wrote: > Hi Christian, > > It actually does work already. > > I was just trying to get ans

Re: [hibernate-dev] Can a transient attribute be overridden to be persistent in a subclass?

2020-07-09 Thread Gail Badner
Thanks, Andrea. I've created https://hibernate.atlassian.net/browse/HHH-14103. Since you already see the mapping above, I'll assume you don't need to review the test case before pushing upstream. Regards, Gail On Thu, Jul 9, 2020 at 10:09 AM andrea boriero wrote: > Hi Gail, > > based on my un