标记为@Entity时,类的每个属性都映射到一个数据库列.我有一些类,我想为内部使用添加一些字段,但我不希望它们被hibernate映射到数据库列.有办法吗?
谢谢
hibernate hibernate-mapping
hibernate ×1
hibernate-mapping ×1