How to redefine an attribute in inherited classes in JPA?

You can try and map multiple attributes to the same column. The additional attribute would then be annotated with Column( name = "column name", insertable = false, updatable = false, nullable = false ).

You can try and map multiple attributes to the same column. The additional attribute would then be annotated with @Column( name = "column name", insertable = false, updatable = false, nullable = false ). Alternatively, you might be able to replace/enhance the JPQL resolver in order to internally map p.

FirstName to p. String01, but that would be EclipseLink specific, and I don't really know if that's even possible. Take this as just a hint what to look for.

Using insertable=false, updatable=false works for me. It's Murphy's Law, I know these parameters and their purpose, I just didn't think of using them in this context. Thanks.

– Michael Drewek Aug 17 at 10:01.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions