阅读背景:

JPA,瞬态注释不会覆盖OneToOne?

来源:互联网 

I have a superclass Product and a subclass Reduction. Now I want the subclass to override a property of the superclass so it isn't persisted in the database. I excpeted it to work like this but apparently hibernate still tries to store the ProductType property of the Reduction in the database. Is there another way to fix this ?I have a superclass Product and a subclass Redu




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: