(转)jpa 引文

(转)jpa 注解转自:jpa 注解1.设置Pojo为实体@Transientprivate int tempValuepublic int getTempValue(){

(转)jpa 注解
转自:jpa 注解

1.设置Pojo为实体

    @Transient        private int tempValue;              public int getTempValue(){        get tempValue;        }              public void setTempValue(int value){        this.tempValue = value;        }