Can I create an attribute without relation with DB Table in a Entity?
Can I create an attribute without relation with DB Table in a 开发者_Go百科Entity ?
If it can, which annotation should I use ?
Attributes that are part of a persistent entity but not intended to be persistent can either be modified with the transient modifier in Java or be annotated with the @Transient annotation.
精彩评论