If I mark a field as transient but supply getters and setters :-
@Transient Integer localFilterId; public void setLocalFilterId( Integer filterId) { this.localFilterId = filterId; } public Integer getLocalFilterId() { return localFilterId; }
I get the following runtime error :-
10:13:20,331 ERROR JDBCExceptionReporter:234 - ORA-00904: "FILTERCLAU1_"."LOCALFILTERID": invalid identifier
If however I remove the getters/setters and make the transient field public it works ??
@Transient public Integer localFilterId;
Any ideas why this is happening. Thanks, Chris.
|