You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rajasekaran (JIRA)" <ji...@apache.org> on 2015/08/21 13:38:45 UTC

[jira] [Created] (OPENJPA-2608) @Transient field not working

Rajasekaran created OPENJPA-2608:
------------------------------------

             Summary: @Transient field not working
                 Key: OPENJPA-2608
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2608
             Project: OpenJPA
          Issue Type: Question
          Components: jpa
    Affects Versions: 2.3.0
            Reporter: Rajasekaran


@Entity
@Table(name="T_HBPK_MPEDI_IN_MEMBER_INFO")
public class InboundMemberInfo implements Serializable   {
	private static final long serialVersionUID = 1L;
	
	private long inboundrecordid;

	
	private String myName;
	public InboundMemberInfo(){
	
	}
	
	@Id
	@Column(unique=true, nullable=false)
	public long getInboundrecordid() {
		return this.inboundrecordid;
	}

	public void setInboundrecordid(long inboundrecordid) {
		this.inboundrecordid = inboundrecordid;
	}


	@Transient
    public String getMyName() {
		return myName;
	}

	public void setMyName(String myName) {
		this.myName = myName;
	}

Getting  org.apache.openjpa.lib.jdbc.ReportingSQLException: ORA-00904: "T0"."MYNAME": invalid identifier exception



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)